Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001443/0.001443, allocations: 109.4 kB / 18.34 MB, free: 4.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001261/0.001261, allocations: 188.1 kB / 19.28 MB, free: 3.75 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.673/1.673, allocations: 205.1 MB / 225.2 MB, free: 12.25 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001426/0.001427, allocations: 55.92 kB / 282.1 MB, free: 2.445 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1033, allocations: 46.63 MB / 328.7 MB, free: 3.746 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.005034/0.1083, allocations: 2.831 MB / 331.6 MB, free: 0.8906 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001759/0.1101, allocations: 0.7449 MB / 332.3 MB, free: 140 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003008/0.1105, allocations: 8 kB / 332.3 MB, free: 132 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002213/0.1107, allocations: 43.52 kB / 332.4 MB, free: 88 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004128/0.1112, allocations: 103.2 kB / 332.5 MB, free: 15.98 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004017/0.1116, allocations: 99.81 kB / 332.6 MB, free: 15.89 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005737/0.1121, allocations: 394.4 kB / 332.9 MB, free: 15.5 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002399/0.1124, allocations: 92.94 kB / 333 MB, free: 15.41 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003501/0.1128, allocations: 147.4 kB / 333.2 MB, free: 15.27 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002442/0.113, allocations: 159.4 kB / 333.3 MB, free: 15.11 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.581e-05/0.1131, allocations: 32 kB / 333.4 MB, free: 15.08 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.947e-05/0.1131, allocations: 32 kB / 333.4 MB, free: 15.05 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.726e-05/0.1132, allocations: 79.67 kB / 333.5 MB, free: 14.97 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001625/0.1134, allocations: 159.2 kB / 333.6 MB, free: 14.82 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003737/0.1138, allocations: 354.7 kB / 334 MB, free: 14.47 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1138, allocations: 0 / 334 MB, free: 14.47 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1138, allocations: 0 / 334 MB, free: 14.47 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.061e-05/0.1138, allocations: 0 / 334 MB, free: 14.47 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001367/0.1152, allocations: 0.673 MB / 334.6 MB, free: 13.74 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.1152, allocations: 8.031 kB / 334.7 MB, free: 13.73 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.551e-05/0.1153, allocations: 32.56 kB / 334.7 MB, free: 13.7 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004615/0.1158, allocations: 296.5 kB / 335 MB, free: 13.37 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.228e-05/0.1158, allocations: 20.94 kB / 335 MB, free: 13.35 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.729e-05/0.1158, allocations: 20.38 kB / 335 MB, free: 13.33 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006289/0.1165, allocations: 261.1 kB / 335.3 MB, free: 13.07 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.1165, allocations: 0 / 335.3 MB, free: 13.07 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.703e-05/0.1165, allocations: 12 kB / 335.3 MB, free: 13.06 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.1165, allocations: 8 kB / 335.3 MB, free: 13.05 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000744/0.1173, allocations: 274 kB / 335.6 MB, free: 12.78 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0016/0.1189, allocations: 0.8868 MB / 336.4 MB, free: 11.83 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007983/0.1197, allocations: 351.7 kB / 336.8 MB, free: 11.46 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003348/0.1201, allocations: 132.7 kB / 336.9 MB, free: 11.32 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.1e-05/0.1201, allocations: 7.938 kB / 336.9 MB, free: 11.32 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003913/0.1205, allocations: 189.8 kB / 337.1 MB, free: 11.11 MB / 286.1 MB Notification: Performance of pre-optimization done (n=18): time 1.292e-06/0.1205, allocations: 0 / 337.1 MB, free: 11.11 MB / 286.1 MB Notification: Performance of matching and sorting (n=18): time 0.001681/0.1222, allocations: 0.5762 MB / 337.7 MB, free: 10.51 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.262e-05/0.1223, allocations: 110.8 kB / 337.8 MB, free: 10.38 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002706/0.1226, allocations: 262.6 kB / 338 MB, free: 10.11 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.701e-05/0.1226, allocations: 33.69 kB / 338.1 MB, free: 10.07 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001265/0.1227, allocations: 179.9 kB / 338.3 MB, free: 9.891 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.858e-05/0.1228, allocations: 63.17 kB / 338.3 MB, free: 9.828 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.717e-05/0.1229, allocations: 49.84 kB / 338.4 MB, free: 9.773 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001316/0.123, allocations: 342.8 kB / 338.7 MB, free: 9.43 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003068/0.1233, allocations: 105.5 kB / 338.8 MB, free: 9.324 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003248/0.1237, allocations: 172 kB / 339 MB, free: 9.129 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005823/0.1243, allocations: 267.6 kB / 339.2 MB, free: 8.84 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.1243, allocations: 0 / 339.2 MB, free: 8.84 MB / 286.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001026/0.1253, allocations: 427.5 kB / 339.7 MB, free: 8.406 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.823e-05/0.1254, allocations: 33.7 kB / 339.7 MB, free: 8.367 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.1254, allocations: 0 / 339.7 MB, free: 8.367 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004264/0.1258, allocations: 92.78 kB / 339.8 MB, free: 8.273 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002779/0.1261, allocations: 63.89 kB / 339.8 MB, free: 8.211 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00177/0.1279, allocations: 1.563 MB / 341.4 MB, free: 6.508 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003021/0.1282, allocations: 47.66 kB / 341.4 MB, free: 6.461 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.828e-05/0.1283, allocations: 12 kB / 341.5 MB, free: 6.449 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003525/0.1286, allocations: 196.4 kB / 341.7 MB, free: 6.254 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002937/0.1289, allocations: 148.1 kB / 341.8 MB, free: 6.082 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004887/0.1294, allocations: 251.4 kB / 342 MB, free: 5.809 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.343e-06/0.1294, allocations: 4 kB / 342 MB, free: 5.805 MB / 286.1 MB Notification: Performance of matching and sorting (n=29) (initialization_lambda0): time 0.0006922/0.1301, allocations: 351.4 kB / 342.4 MB, free: 5.445 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.165e-05/0.1302, allocations: 33.7 kB / 342.4 MB, free: 5.406 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.745e-06/0.1302, allocations: 4.188 kB / 342.4 MB, free: 5.402 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.724e-05/0.1303, allocations: 24.84 kB / 342.4 MB, free: 5.375 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002372/0.1305, allocations: 55.95 kB / 342.5 MB, free: 5.32 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009919/0.1315, allocations: 1.548 MB / 344.1 MB, free: 3.633 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002916/0.1318, allocations: 47.8 kB / 344.1 MB, free: 3.586 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.92e-05/0.1318, allocations: 8.188 kB / 344.1 MB, free: 3.578 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 5 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * 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,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001631/0.132, allocations: 196.2 kB / 344.3 MB, free: 3.379 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.881e-05/0.1321, allocations: 35.53 kB / 344.3 MB, free: 3.344 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.602e-05/0.1321, allocations: 30.17 kB / 344.4 MB, free: 3.316 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.1321, allocations: 96 / 344.4 MB, free: 3.316 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.1321, allocations: 0 / 344.4 MB, free: 3.316 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.1321, allocations: 3.984 kB / 344.4 MB, free: 3.312 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001261/0.1334, allocations: 0.7144 MB / 345.1 MB, free: 2.535 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.1334, allocations: 0 / 345.1 MB, free: 2.535 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002122/0.1336, allocations: 43.98 kB / 345.1 MB, free: 2.492 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000149/0.1338, allocations: 44.83 kB / 345.2 MB, free: 2.445 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.456e-05/0.1338, allocations: 11.98 kB / 345.2 MB, free: 2.434 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00147/0.1353, allocations: 1.543 MB / 346.7 MB, free: 0.75 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.1353, allocations: 0 / 346.7 MB, free: 0.75 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001043/0.1364, allocations: 0.5114 MB / 347.2 MB, free: 224 kB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.774e-05/0.1365, allocations: 104.9 kB / 347.3 MB, free: 100 kB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.644e-05/0.1365, allocations: 4 kB / 347.3 MB, free: 96 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002652/0.1368, allocations: 23.97 kB / 347.4 MB, free: 72 kB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.841e-05/0.1369, allocations: 27.97 kB / 347.4 MB, free: 44 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.343e-05/0.1369, allocations: 7.938 kB / 347.4 MB, free: 36 kB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001982/0.1371, allocations: 197.9 kB / 347.6 MB, free: 15.84 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1371, allocations: 4 kB / 347.6 MB, free: 15.84 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005495/0.1376, allocations: 127.7 kB / 347.7 MB, free: 15.71 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (c.v) * 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 (16): * Single equations (assignments): 13 * 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,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000142/0.1378, allocations: 111.4 kB / 347.8 MB, free: 15.6 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001244/0.139, allocations: 0.6951 MB / 348.5 MB, free: 14.85 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.1391, allocations: 0 / 348.5 MB, free: 14.85 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004147/0.1395, allocations: 243.2 kB / 348.8 MB, free: 14.6 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004066/0.1399, allocations: 52.47 kB / 348.8 MB, free: 14.55 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001167/0.1411, allocations: 0.5573 MB / 349.4 MB, free: 13.96 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000331/0.1414, allocations: 0.7598 MB / 350.1 MB, free: 13.18 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001308/0.1416, allocations: 34.28 kB / 350.2 MB, free: 13.14 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.804e-05/0.1416, allocations: 19.44 kB / 350.2 MB, free: 13.12 MB / 302.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1416, allocations: 0 / 350.2 MB, free: 13.12 MB / 302.1 MB Notification: Performance of Templates: time 0.007993/0.1496, allocations: 4.228 MB / 354.4 MB, free: 8.891 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/LowPass/LowPass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches