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.001619/0.001619, allocations: 112.5 kB / 16.51 MB, free: 6.707 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.001786/0.001786, allocations: 190.5 kB / 17.43 MB, free: 6.066 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.455/1.455, allocations: 222.9 MB / 241.1 MB, free: 13.65 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009835/0.0009836, allocations: 51.14 kB / 300 MB, free: 6.039 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.1035, allocations: 49.45 MB / 349.4 MB, free: 4.582 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.004721/0.1083, allocations: 3.111 MB / 352.5 MB, free: 1.445 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001543/0.1099, allocations: 0.7677 MB / 353.3 MB, free: 0.6758 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003397/0.1103, allocations: 7.938 kB / 353.3 MB, free: 0.668 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002618/0.1106, allocations: 35.69 kB / 353.3 MB, free: 0.6328 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000365/0.1109, allocations: 99.3 kB / 353.4 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003971/0.1114, allocations: 111.8 kB / 353.5 MB, free: 436 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006711/0.112, allocations: 426.3 kB / 354 MB, free: 8 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003331/0.1124, allocations: 119.5 kB / 354.1 MB, free: 15.89 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002739/0.1127, allocations: 163.3 kB / 354.2 MB, free: 15.73 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001928/0.1129, allocations: 175.2 kB / 354.4 MB, free: 15.55 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.219e-05/0.1129, allocations: 24 kB / 354.4 MB, free: 15.53 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.633e-05/0.113, allocations: 31.94 kB / 354.5 MB, free: 15.5 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.999e-05/0.1131, allocations: 71.67 kB / 354.5 MB, free: 15.43 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001598/0.1132, allocations: 175.1 kB / 354.7 MB, free: 15.26 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003723/0.1136, allocations: 474.7 kB / 355.2 MB, free: 14.79 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.1136, allocations: 0 / 355.2 MB, free: 14.79 MB / 302.1 MB Notification: Performance of FrontEnd: time 6.51e-07/0.1136, allocations: 0 / 355.2 MB, free: 14.79 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.1137, allocations: 4 kB / 355.2 MB, free: 14.79 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.001318/0.115, allocations: 0.7071 MB / 355.9 MB, free: 14.03 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.115, allocations: 11.97 kB / 355.9 MB, free: 14.02 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.48e-05/0.1151, allocations: 44.53 kB / 355.9 MB, free: 13.97 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003462/0.1155, allocations: 306.6 kB / 356.2 MB, free: 13.64 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.219e-05/0.1155, allocations: 24.92 kB / 356.3 MB, free: 13.61 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.498e-05/0.1156, allocations: 32.38 kB / 356.3 MB, free: 13.58 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007353/0.1163, allocations: 351.5 kB / 356.6 MB, free: 13.23 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.1163, allocations: 0 / 356.6 MB, free: 13.23 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.232e-05/0.1164, allocations: 8 kB / 356.6 MB, free: 13.22 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.1164, allocations: 12 kB / 356.7 MB, free: 13.21 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008282/0.1172, allocations: 306 kB / 356.9 MB, free: 12.91 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002081/0.1193, allocations: 1.256 MB / 358.2 MB, free: 11.57 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007828/0.1201, allocations: 339.5 kB / 358.5 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004034/0.1205, allocations: 140.8 kB / 358.7 MB, free: 11.07 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.824e-05/0.1206, allocations: 7.984 kB / 358.7 MB, free: 11.07 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005429/0.1211, allocations: 201.7 kB / 358.9 MB, free: 10.85 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.533e-06/0.1211, allocations: 0 / 358.9 MB, free: 10.85 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.002144/0.1233, allocations: 0.6464 MB / 359.5 MB, free: 10.18 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.4e-05/0.1234, allocations: 106.8 kB / 359.6 MB, free: 10.05 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000303/0.1237, allocations: 294.9 kB / 359.9 MB, free: 9.754 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.85e-05/0.1237, allocations: 33.7 kB / 360 MB, free: 9.715 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000131/0.1239, allocations: 204.3 kB / 360.2 MB, free: 9.508 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.629e-05/0.1239, allocations: 63.11 kB / 360.2 MB, free: 9.445 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.316e-05/0.124, allocations: 49.7 kB / 360.3 MB, free: 9.391 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.1241, allocations: 338.8 kB / 360.6 MB, free: 9.051 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000377/0.1245, allocations: 120.2 kB / 360.7 MB, free: 8.93 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004135/0.1249, allocations: 213.3 kB / 360.9 MB, free: 8.68 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007269/0.1257, allocations: 341.2 kB / 361.3 MB, free: 8.305 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.1257, allocations: 3.984 kB / 361.3 MB, free: 8.301 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001261/0.127, allocations: 487.6 kB / 361.7 MB, free: 7.809 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.864e-05/0.127, allocations: 37.69 kB / 361.8 MB, free: 7.766 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.127, allocations: 4 kB / 361.8 MB, free: 7.762 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003086/0.1273, allocations: 60.89 kB / 361.8 MB, free: 7.699 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003046/0.1277, allocations: 79.81 kB / 361.9 MB, free: 7.621 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001985/0.1297, allocations: 1.516 MB / 363.4 MB, free: 5.973 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003847/0.13, allocations: 63.75 kB / 363.5 MB, free: 5.91 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.774e-05/0.1301, allocations: 15.97 kB / 363.5 MB, free: 5.895 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.0001854/0.1303, allocations: 150.9 kB / 363.6 MB, free: 5.738 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.623e-05/0.1303, allocations: 23.72 kB / 363.7 MB, free: 5.715 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.433e-05/0.1304, allocations: 34.2 kB / 363.7 MB, free: 5.684 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.1304, allocations: 3.984 kB / 363.7 MB, free: 5.68 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.1304, allocations: 7.875 kB / 363.7 MB, free: 5.672 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.1304, allocations: 4 kB / 363.7 MB, free: 5.668 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001518/0.1319, allocations: 0.7996 MB / 364.5 MB, free: 4.809 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.132, allocations: 4 kB / 364.5 MB, free: 4.805 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002283/0.1322, allocations: 43.98 kB / 364.6 MB, free: 4.762 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002172/0.1324, allocations: 60.81 kB / 364.6 MB, free: 4.699 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.884e-05/0.1324, allocations: 4 kB / 364.6 MB, free: 4.695 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001767/0.1342, allocations: 1.511 MB / 366.1 MB, free: 3.047 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.1342, allocations: 0 / 366.1 MB, free: 3.047 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001397/0.1356, allocations: 0.5631 MB / 366.7 MB, free: 2.461 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.191e-05/0.1357, allocations: 108.8 kB / 366.8 MB, free: 2.336 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.193e-05/0.1358, allocations: 8.062 kB / 366.8 MB, free: 2.328 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002893/0.1361, allocations: 31.95 kB / 366.9 MB, free: 2.297 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.809e-05/0.1362, allocations: 27.91 kB / 366.9 MB, free: 2.27 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.63e-05/0.1362, allocations: 8 kB / 366.9 MB, free: 2.262 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002016/0.1364, allocations: 206 kB / 367.1 MB, free: 2.062 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1364, allocations: 0 / 367.1 MB, free: 2.062 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003968/0.1368, allocations: 83.78 kB / 367.2 MB, free: 1.98 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.0001491/0.137, allocations: 111.1 kB / 367.3 MB, free: 1.863 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009922/0.138, allocations: 441.9 kB / 367.7 MB, free: 1.406 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.138, allocations: 0 / 367.7 MB, free: 1.406 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004872/0.1385, allocations: 239.1 kB / 367.9 MB, free: 1.16 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004358/0.1389, allocations: 56.78 kB / 368 MB, free: 1.105 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002851/0.1418, allocations: 0.9502 MB / 368.9 MB, free: 128 kB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1739/0.3157, allocations: 0.7619 MB / 369.7 MB, free: 24.87 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002264/0.316, allocations: 31.33 kB / 369.7 MB, free: 24.87 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.586e-05/0.3161, allocations: 21.44 kB / 369.8 MB, free: 24.86 MB / 302.1 MB Notification: Performance of SimCode: time 8.62e-07/0.3161, allocations: 0 / 369.8 MB, free: 24.86 MB / 302.1 MB Notification: Performance of Templates: time 0.01102/0.3271, allocations: 3.933 MB / 373.7 MB, free: 24.77 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/LowPass/LowPass.csv","/var/lib/jenkins/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