Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|buffer.opAmp.out.v|buffer.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|buffer.opAmp.out.v|buffer.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00114/0.00114, allocations: 180.9 kB / 16.71 MB, free: 4.969 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.283/1.283, allocations: 225.7 MB / 243.2 MB, free: 10.27 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007214/0.0007215, allocations: 101.2 kB / 294.4 MB, free: 9.766 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002771/0.0002771, allocations: 8 kB / 354.2 MB, free: 13.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2169/0.2172, allocations: 50.4 MB / 404.6 MB, free: 31.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.002233/0.2195, allocations: 2.502 MB / 407.1 MB, free: 28.88 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008712/0.2204, allocations: 0.7729 MB / 407.9 MB, free: 28.08 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001148/0.2205, allocations: 4 kB / 407.9 MB, free: 28.08 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001162/0.2207, allocations: 39.69 kB / 407.9 MB, free: 28.04 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001447/0.2208, allocations: 85.25 kB / 408 MB, free: 27.96 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002167/0.221, allocations: 107.8 kB / 408.1 MB, free: 27.85 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002466/0.2213, allocations: 383.7 kB / 408.5 MB, free: 27.48 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001701/0.2215, allocations: 112.4 kB / 408.6 MB, free: 27.37 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001104/0.2216, allocations: 131.4 kB / 408.7 MB, free: 27.24 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001306/0.2217, allocations: 139.3 kB / 408.8 MB, free: 27.11 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.52e-05/0.2218, allocations: 16 kB / 408.9 MB, free: 27.09 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.018e-05/0.2218, allocations: 27.88 kB / 408.9 MB, free: 27.06 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.607e-05/0.2219, allocations: 65.3 kB / 408.9 MB, free: 27 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001139/0.222, allocations: 164.9 kB / 409.1 MB, free: 26.83 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002542/0.2222, allocations: 427.9 kB / 409.5 MB, free: 26.41 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.2223, allocations: 0 / 409.5 MB, free: 26.41 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.2223, allocations: 1 kB / 409.5 MB, free: 26.41 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.538e-06/0.2223, allocations: 0 / 409.5 MB, free: 26.41 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.0009815/0.2233, allocations: 0.6459 MB / 410.2 MB, free: 25.71 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.279e-05/0.2233, allocations: 8.031 kB / 410.2 MB, free: 25.7 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.168e-05/0.2234, allocations: 40.55 kB / 410.2 MB, free: 25.66 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002517/0.2236, allocations: 295.6 kB / 410.5 MB, free: 25.34 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.314e-05/0.2237, allocations: 16.94 kB / 410.5 MB, free: 25.32 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.254e-05/0.2237, allocations: 28.38 kB / 410.6 MB, free: 25.29 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005953/0.2243, allocations: 347.9 kB / 410.9 MB, free: 24.94 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.2243, allocations: 0 / 410.9 MB, free: 24.94 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.534e-05/0.2243, allocations: 12 kB / 410.9 MB, free: 24.93 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.2244, allocations: 4 kB / 410.9 MB, free: 24.93 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006768/0.225, allocations: 306.1 kB / 411.2 MB, free: 24.63 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001456/0.2265, allocations: 1.185 MB / 412.4 MB, free: 23.36 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007115/0.2272, allocations: 286.5 kB / 412.7 MB, free: 23.07 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002796/0.2275, allocations: 120.8 kB / 412.8 MB, free: 22.95 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.392e-05/0.2276, allocations: 8 kB / 412.8 MB, free: 22.95 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004274/0.228, allocations: 193.9 kB / 413 MB, free: 22.73 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.303e-06/0.228, allocations: 3.938 kB / 413 MB, free: 22.73 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.002/0.23, allocations: 0.741 MB / 413.7 MB, free: 21.96 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.703e-05/0.2301, allocations: 106.8 kB / 413.8 MB, free: 21.83 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002273/0.2303, allocations: 286.5 kB / 414.1 MB, free: 21.54 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.817e-05/0.2303, allocations: 33.7 kB / 414.1 MB, free: 21.5 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.16e-05/0.2304, allocations: 191.6 kB / 414.3 MB, free: 21.31 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.714e-05/0.2305, allocations: 55.38 kB / 414.4 MB, free: 21.26 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.112e-05/0.2305, allocations: 4 kB / 414.4 MB, free: 21.25 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.911e-05/0.2305, allocations: 330.8 kB / 414.7 MB, free: 20.92 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003098/0.2309, allocations: 132.1 kB / 414.8 MB, free: 20.79 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003261/0.2312, allocations: 217.3 kB / 415.1 MB, free: 20.53 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005764/0.2318, allocations: 348.6 kB / 415.4 MB, free: 20.14 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.2318, allocations: 0 / 415.4 MB, free: 20.14 MB / 298.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001022/0.2328, allocations: 0.5074 MB / 415.9 MB, free: 19.62 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.973e-05/0.2329, allocations: 37.77 kB / 415.9 MB, free: 19.58 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.325e-06/0.2329, allocations: 4 kB / 415.9 MB, free: 19.57 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003577/0.2332, allocations: 84.8 kB / 416 MB, free: 19.49 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001911/0.2334, allocations: 63.89 kB / 416.1 MB, free: 19.43 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002173/0.2356, allocations: 1.9 MB / 418 MB, free: 17.39 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000298/0.2359, allocations: 63.66 kB / 418.1 MB, free: 17.33 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.406e-05/0.236, allocations: 16.06 kB / 418.1 MB, free: 17.31 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.vIn.signalSource.T_start,vIn.signalSource.T_start,$PRE.vIn.signalSource.count,vIn.signalSource.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001236/0.2361, allocations: 165.6 kB / 418.2 MB, free: 17.14 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.717e-05/0.2361, allocations: 23.72 kB / 418.3 MB, free: 17.12 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.967e-05/0.2362, allocations: 26.05 kB / 418.3 MB, free: 17.09 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.2362, allocations: 0 / 418.3 MB, free: 17.09 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.2362, allocations: 4.062 kB / 418.3 MB, free: 17.09 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.2362, allocations: 0 / 418.3 MB, free: 17.09 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002047/0.2364, allocations: 325.4 kB / 418.6 MB, free: 16.72 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.2364, allocations: 0 / 418.6 MB, free: 16.72 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001282/0.2365, allocations: 39.91 kB / 418.6 MB, free: 16.68 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002394/0.2368, allocations: 88.8 kB / 418.7 MB, free: 16.59 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.318e-05/0.2368, allocations: 0 / 418.7 MB, free: 16.59 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001709/0.2385, allocations: 1.826 MB / 420.6 MB, free: 14.63 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.2385, allocations: 0 / 420.6 MB, free: 14.63 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008908/0.2394, allocations: 405.4 kB / 420.9 MB, free: 14.21 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.221e-05/0.2395, allocations: 104.9 kB / 421.1 MB, free: 14.09 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.415e-05/0.2395, allocations: 4 kB / 421.1 MB, free: 14.09 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002188/0.2398, allocations: 35.97 kB / 421.1 MB, free: 14.05 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.144e-05/0.2398, allocations: 19.97 kB / 421.1 MB, free: 14.04 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.316e-05/0.2399, allocations: 16.12 kB / 421.1 MB, free: 14.02 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001504/0.24, allocations: 198 kB / 421.3 MB, free: 13.83 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.24, allocations: 0 / 421.3 MB, free: 13.83 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003514/0.2404, allocations: 83.75 kB / 421.4 MB, free: 13.75 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001287/0.2405, allocations: 107.3 kB / 421.5 MB, free: 13.63 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001096/0.2416, allocations: 0.5336 MB / 422 MB, free: 13.07 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.2416, allocations: 0 / 422 MB, free: 13.07 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003923/0.242, allocations: 255.1 kB / 422.3 MB, free: 12.81 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003173/0.2424, allocations: 66.38 kB / 422.4 MB, free: 12.75 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002561/0.2449, allocations: 1.115 MB / 423.5 MB, free: 11.6 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001541/0.2451, allocations: 0.756 MB / 424.2 MB, free: 10.82 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001122/0.2452, allocations: 30.28 kB / 424.3 MB, free: 10.79 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.024e-05/0.2453, allocations: 19.44 kB / 424.3 MB, free: 10.77 MB / 298.7 MB Notification: Performance of SimCode: time 2.91e-07/0.2453, allocations: 4 kB / 424.3 MB, free: 10.76 MB / 298.7 MB Notification: Performance of Templates: time 0.00592/0.2512, allocations: 3.719 MB / 428 MB, free: 7.066 MB / 298.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/NonInvertingAmplifier/NonInvertingAmplifier.csv","../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches