Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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|firstOrder.c.v|firstOrder.opAmp.out.v|firstOrder.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|firstOrder.c.v|firstOrder.opAmp.out.v|firstOrder.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_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.001458/0.001458, allocations: 109.5 kB / 17.68 MB, free: 5.332 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.001694/0.001694, allocations: 190.9 kB / 18.62 MB, free: 4.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.499/1.499, allocations: 222.9 MB / 242.3 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001007/0.001007, allocations: 55.33 kB / 302.1 MB, free: 5.152 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09646/0.09748, allocations: 49.44 MB / 351.5 MB, free: 3.684 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.00474/0.1023, allocations: 3.065 MB / 354.6 MB, free: 0.5938 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001479/0.1038, allocations: 0.7675 MB / 355.3 MB, free: 15.82 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001556/0.104, allocations: 8 kB / 355.4 MB, free: 15.82 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001834/0.1041, allocations: 55.48 kB / 355.4 MB, free: 15.76 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002323/0.1044, allocations: 119 kB / 355.5 MB, free: 15.64 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003164/0.1047, allocations: 123.8 kB / 355.6 MB, free: 15.52 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004978/0.1053, allocations: 462.2 kB / 356.1 MB, free: 15.07 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003032/0.1056, allocations: 138.9 kB / 356.2 MB, free: 14.93 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002577/0.1058, allocations: 183.3 kB / 356.4 MB, free: 14.75 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002378/0.1061, allocations: 191.2 kB / 356.6 MB, free: 14.57 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.085e-05/0.1062, allocations: 44 kB / 356.6 MB, free: 14.52 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.263e-05/0.1062, allocations: 44 kB / 356.7 MB, free: 14.48 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.45e-05/0.1063, allocations: 87.69 kB / 356.8 MB, free: 14.39 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000197/0.1065, allocations: 195.1 kB / 357 MB, free: 14.2 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000491/0.107, allocations: 0.4905 MB / 357.4 MB, free: 13.71 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.107, allocations: 0 / 357.4 MB, free: 13.71 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.107, allocations: 0 / 357.4 MB, free: 13.71 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.485e-06/0.107, allocations: 0 / 357.4 MB, free: 13.71 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001564/0.1086, allocations: 0.7147 MB / 358.2 MB, free: 12.94 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.1087, allocations: 15.88 kB / 358.2 MB, free: 12.93 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.461e-05/0.1088, allocations: 36.56 kB / 358.2 MB, free: 12.89 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004569/0.1092, allocations: 318.5 kB / 358.5 MB, free: 12.54 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.297e-05/0.1093, allocations: 20.94 kB / 358.5 MB, free: 12.52 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.671e-05/0.1093, allocations: 32.31 kB / 358.6 MB, free: 12.49 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007174/0.11, allocations: 359.5 kB / 358.9 MB, free: 12.13 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.1101, allocations: 4 kB / 358.9 MB, free: 12.12 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.937e-05/0.1101, allocations: 8 kB / 358.9 MB, free: 12.12 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.358e-06/0.1101, allocations: 8 kB / 358.9 MB, free: 12.11 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007677/0.1109, allocations: 298.1 kB / 359.2 MB, free: 11.82 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00217/0.1131, allocations: 1.264 MB / 360.5 MB, free: 10.47 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007609/0.1138, allocations: 339.4 kB / 360.8 MB, free: 10.11 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003922/0.1142, allocations: 140.8 kB / 361 MB, free: 9.973 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.463e-05/0.1143, allocations: 4 kB / 361 MB, free: 9.969 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005035/0.1148, allocations: 193.8 kB / 361.2 MB, free: 9.758 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.413e-06/0.1148, allocations: 0 / 361.2 MB, free: 9.758 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.002023/0.1168, allocations: 0.6378 MB / 361.8 MB, free: 9.094 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.919e-05/0.1169, allocations: 114.8 kB / 361.9 MB, free: 8.957 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002999/0.1172, allocations: 286.9 kB / 362.2 MB, free: 8.668 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.964e-05/0.1173, allocations: 37.7 kB / 362.2 MB, free: 8.625 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001357/0.1174, allocations: 204.3 kB / 362.4 MB, free: 8.418 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.131e-05/0.1175, allocations: 67.08 kB / 362.5 MB, free: 8.352 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.867e-05/0.1176, allocations: 53.7 kB / 362.5 MB, free: 8.293 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001185/0.1177, allocations: 334.8 kB / 362.9 MB, free: 7.957 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003558/0.1181, allocations: 116.2 kB / 363 MB, free: 7.84 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004203/0.1185, allocations: 228.9 kB / 363.2 MB, free: 7.578 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007405/0.1192, allocations: 338.7 kB / 363.5 MB, free: 7.207 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.1193, allocations: 0 / 363.5 MB, free: 7.207 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001219/0.1205, allocations: 487.5 kB / 364 MB, free: 6.715 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.823e-05/0.1205, allocations: 37.7 kB / 364.1 MB, free: 6.672 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.814e-06/0.1205, allocations: 4 kB / 364.1 MB, free: 6.668 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003114/0.1209, allocations: 64.88 kB / 364.1 MB, free: 6.602 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002878/0.1212, allocations: 67.89 kB / 364.2 MB, free: 6.535 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002192/0.1234, allocations: 1.637 MB / 365.8 MB, free: 4.758 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003552/0.1237, allocations: 59.72 kB / 365.9 MB, free: 4.699 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.772e-05/0.1238, allocations: 12 kB / 365.9 MB, free: 4.688 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (31): * Single equations (assignments): 29 * 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,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001757/0.124, allocations: 160.2 kB / 366.1 MB, free: 4.523 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.281e-05/0.124, allocations: 31.56 kB / 366.1 MB, free: 4.492 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.528e-05/0.1241, allocations: 34.14 kB / 366.1 MB, free: 4.461 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.1241, allocations: 0 / 366.1 MB, free: 4.461 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.464e-06/0.1241, allocations: 0 / 366.1 MB, free: 4.461 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.1241, allocations: 0 / 366.1 MB, free: 4.461 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001516/0.1256, allocations: 0.7925 MB / 366.9 MB, free: 3.605 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.1256, allocations: 0 / 366.9 MB, free: 3.605 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002208/0.1259, allocations: 51.89 kB / 367 MB, free: 3.555 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002179/0.1261, allocations: 64.84 kB / 367 MB, free: 3.488 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.69e-05/0.1261, allocations: 0 / 367 MB, free: 3.488 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001937/0.128, allocations: 1.632 MB / 368.7 MB, free: 1.711 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.1281, allocations: 0 / 368.7 MB, free: 1.711 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001412/0.1295, allocations: 0.5696 MB / 369.2 MB, free: 1.121 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.736e-05/0.1296, allocations: 104.8 kB / 369.3 MB, free: 1 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.228e-05/0.1296, allocations: 8 kB / 369.3 MB, free: 0.9922 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000285/0.1299, allocations: 35.95 kB / 369.4 MB, free: 0.957 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.389e-05/0.13, allocations: 19.97 kB / 369.4 MB, free: 0.9375 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.53e-05/0.13, allocations: 8 kB / 369.4 MB, free: 0.9297 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002025/0.1302, allocations: 214 kB / 369.6 MB, free: 0.7227 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1302, allocations: 0 / 369.6 MB, free: 0.7227 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003884/0.1306, allocations: 83.78 kB / 369.7 MB, free: 0.6406 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (firstOrder.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,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001292/0.1308, allocations: 99.25 kB / 369.8 MB, free: 0.5352 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009254/0.1317, allocations: 455 kB / 370.2 MB, free: 68 kB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1317, allocations: 0 / 370.2 MB, free: 68 kB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.137/0.2687, allocations: 236 kB / 370.5 MB, free: 25.7 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004937/0.2692, allocations: 51.23 kB / 370.5 MB, free: 25.69 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00252/0.2717, allocations: 0.8307 MB / 371.3 MB, free: 25.44 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001915/0.272, allocations: 0.7689 MB / 372.1 MB, free: 24.74 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001225/0.2721, allocations: 34.86 kB / 372.1 MB, free: 24.74 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.461e-05/0.2722, allocations: 26.27 kB / 372.2 MB, free: 24.73 MB / 302.1 MB Notification: Performance of SimCode: time 9.22e-07/0.2722, allocations: 1.25 kB / 372.2 MB, free: 24.73 MB / 302.1 MB Notification: Performance of Templates: time 0.008599/0.2808, allocations: 4.264 MB / 376.4 MB, free: 24.56 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/LowPass/LowPass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches