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.001117/0.001117, allocations: 107.4 kB / 17.28 MB, free: 6.199 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.001022/0.001022, allocations: 189.3 kB / 18.21 MB, free: 5.273 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.343/1.343, allocations: 222.9 MB / 241.9 MB, free: 15.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 43.44 kB / 300.8 MB, free: 6.105 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.1038, allocations: 49.44 MB / 350.2 MB, free: 4.656 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.005098/0.1089, allocations: 3.122 MB / 353.4 MB, free: 1.508 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001662/0.1106, allocations: 0.7677 MB / 354.1 MB, free: 0.7383 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003856/0.111, allocations: 7.938 kB / 354.1 MB, free: 0.7305 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002453/0.1113, allocations: 35.69 kB / 354.2 MB, free: 0.6953 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003307/0.1117, allocations: 95.3 kB / 354.3 MB, free: 0.6016 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000405/0.1121, allocations: 115.8 kB / 354.4 MB, free: 500 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005704/0.1127, allocations: 454.3 kB / 354.8 MB, free: 44 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003152/0.113, allocations: 147 kB / 355 MB, free: 15.89 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003368/0.1133, allocations: 183.2 kB / 355.1 MB, free: 15.72 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000284/0.1136, allocations: 183.2 kB / 355.3 MB, free: 15.54 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.797e-05/0.1137, allocations: 44 kB / 355.4 MB, free: 15.5 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.803e-05/0.1138, allocations: 48 kB / 355.4 MB, free: 15.45 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.295e-05/0.1139, allocations: 87.69 kB / 355.5 MB, free: 15.36 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002271/0.1142, allocations: 191.1 kB / 355.7 MB, free: 15.18 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004269/0.1146, allocations: 403.2 kB / 356.1 MB, free: 14.78 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.1146, allocations: 7.938 kB / 356.1 MB, free: 14.77 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.1146, allocations: 0 / 356.1 MB, free: 14.77 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.89e-05/0.1146, allocations: 0 / 356.1 MB, free: 14.77 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.001595/0.1162, allocations: 0.7147 MB / 356.8 MB, free: 14 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.1163, allocations: 11.89 kB / 356.8 MB, free: 13.99 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001129/0.1164, allocations: 36.56 kB / 356.9 MB, free: 13.96 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004152/0.1168, allocations: 310.7 kB / 357.2 MB, free: 13.62 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.35e-05/0.1169, allocations: 20.94 kB / 357.2 MB, free: 13.6 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.655e-05/0.1169, allocations: 24.38 kB / 357.2 MB, free: 13.57 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000798/0.1177, allocations: 359.5 kB / 357.6 MB, free: 13.21 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.1178, allocations: 0 / 357.6 MB, free: 13.21 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.377e-05/0.1178, allocations: 16 kB / 357.6 MB, free: 13.2 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.1178, allocations: 4 kB / 357.6 MB, free: 13.19 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008146/0.1186, allocations: 302.1 kB / 357.9 MB, free: 12.9 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002304/0.121, allocations: 1.275 MB / 359.1 MB, free: 11.54 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007769/0.1217, allocations: 343.4 kB / 359.5 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004075/0.1222, allocations: 136.8 kB / 359.6 MB, free: 11.04 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.05e-05/0.1222, allocations: 0 / 359.6 MB, free: 11.04 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005369/0.1227, allocations: 201.7 kB / 359.8 MB, free: 10.82 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.954e-06/0.1228, allocations: 0 / 359.8 MB, free: 10.82 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.002128/0.1249, allocations: 0.6344 MB / 360.4 MB, free: 10.16 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.369e-05/0.125, allocations: 114.8 kB / 360.6 MB, free: 10.03 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000367/0.1254, allocations: 290.9 kB / 360.8 MB, free: 9.734 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.848e-05/0.1254, allocations: 33.69 kB / 360.9 MB, free: 9.695 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001711/0.1256, allocations: 204.3 kB / 361.1 MB, free: 9.488 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.804e-05/0.1257, allocations: 67.08 kB / 361.1 MB, free: 9.422 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001154/0.1258, allocations: 61.58 kB / 361.2 MB, free: 9.355 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001766/0.126, allocations: 330.8 kB / 361.5 MB, free: 9.023 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003953/0.1264, allocations: 124.2 kB / 361.6 MB, free: 8.898 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004423/0.1268, allocations: 221.3 kB / 361.9 MB, free: 8.641 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007526/0.1276, allocations: 338.7 kB / 362.2 MB, free: 8.27 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.925e-06/0.1276, allocations: 4 kB / 362.2 MB, free: 8.266 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001299/0.1289, allocations: 487.6 kB / 362.7 MB, free: 7.773 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.23e-05/0.129, allocations: 33.7 kB / 362.7 MB, free: 7.734 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.129, allocations: 4 kB / 362.7 MB, free: 7.73 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000345/0.1293, allocations: 68.88 kB / 362.8 MB, free: 7.66 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002919/0.1297, allocations: 63.89 kB / 362.8 MB, free: 7.598 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002184/0.1318, allocations: 1.64 MB / 364.5 MB, free: 5.816 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003798/0.1322, allocations: 55.66 kB / 364.5 MB, free: 5.762 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.045e-05/0.1323, allocations: 8 kB / 364.5 MB, free: 5.754 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.000182/0.1325, allocations: 153.8 kB / 364.7 MB, free: 5.594 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.397e-05/0.1325, allocations: 35.56 kB / 364.7 MB, free: 5.559 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.329e-05/0.1326, allocations: 30.2 kB / 364.7 MB, free: 5.531 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.1326, allocations: 4 kB / 364.8 MB, free: 5.527 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.1326, allocations: 96 / 364.8 MB, free: 5.527 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.1326, allocations: 3.938 kB / 364.8 MB, free: 5.523 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001561/0.1342, allocations: 0.8002 MB / 365.6 MB, free: 4.66 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.1342, allocations: 0 / 365.6 MB, free: 4.66 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002342/0.1344, allocations: 43.95 kB / 365.6 MB, free: 4.617 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002111/0.1347, allocations: 60.81 kB / 365.7 MB, free: 4.555 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.251e-05/0.1347, allocations: 8.031 kB / 365.7 MB, free: 4.547 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001953/0.1367, allocations: 1.633 MB / 367.3 MB, free: 2.77 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.1367, allocations: 0 / 367.3 MB, free: 2.77 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00142/0.1381, allocations: 0.5701 MB / 367.9 MB, free: 2.18 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.371e-05/0.1382, allocations: 100.9 kB / 368 MB, free: 2.062 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.912e-05/0.1383, allocations: 4 kB / 368 MB, free: 2.059 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003072/0.1386, allocations: 40.02 kB / 368 MB, free: 2.02 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.004e-05/0.1387, allocations: 19.97 kB / 368 MB, free: 2 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.369e-05/0.1387, allocations: 4 kB / 368 MB, free: 1.996 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002265/0.1389, allocations: 210 kB / 368.2 MB, free: 1.793 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1389, allocations: 0 / 368.2 MB, free: 1.793 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004177/0.1394, allocations: 83.78 kB / 368.3 MB, free: 1.711 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.0001713/0.1395, allocations: 120.6 kB / 368.4 MB, free: 1.586 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001104/0.1407, allocations: 449.8 kB / 368.9 MB, free: 1.121 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.1407, allocations: 0 / 368.9 MB, free: 1.121 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004748/0.1412, allocations: 239.2 kB / 369.1 MB, free: 0.875 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004457/0.1416, allocations: 55.72 kB / 369.2 MB, free: 0.8242 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.163/0.3046, allocations: 0.9743 MB / 370.1 MB, free: 25.66 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002704/0.3049, allocations: 0.7625 MB / 370.9 MB, free: 24.96 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001296/0.3051, allocations: 24.36 kB / 370.9 MB, free: 24.95 MB / 302.1 MB Notification: Performance of SimCode: time 1.142e-06/0.3051, allocations: 1.625 kB / 370.9 MB, free: 24.95 MB / 302.1 MB Notification: Performance of Templates: time 0.008447/0.3135, allocations: 5.265 MB / 376.2 MB, free: 24.71 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/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