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.0007477/0.0007477, allocations: 96.41 kB / 17.31 MB, free: 6.391 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.0007952/0.0007952, allocations: 175.8 kB / 18.21 MB, free: 5.551 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.277/1.277, allocations: 223.3 MB / 242.3 MB, free: 14.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002346/0.0002345, allocations: 11.94 kB / 302.1 MB, free: 5.887 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07327/0.07352, allocations: 50.41 MB / 352.5 MB, free: 3.469 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.002801/0.07634, allocations: 2.744 MB / 355.3 MB, free: 0.7031 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0012/0.07756, allocations: 0.7561 MB / 356 MB, free: 15.95 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001651/0.07774, allocations: 11.94 kB / 356 MB, free: 15.93 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001324/0.07788, allocations: 35.69 kB / 356.1 MB, free: 15.9 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002198/0.07811, allocations: 103.3 kB / 356.2 MB, free: 15.8 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002803/0.0784, allocations: 111.8 kB / 356.3 MB, free: 15.69 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003946/0.0788, allocations: 422.3 kB / 356.7 MB, free: 15.27 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002141/0.07903, allocations: 127.5 kB / 356.8 MB, free: 15.14 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002084/0.07924, allocations: 147.3 kB / 356.9 MB, free: 15 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001994/0.07945, allocations: 163.2 kB / 357.1 MB, free: 14.84 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.765e-05/0.07951, allocations: 20 kB / 357.1 MB, free: 14.82 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.738e-05/0.07956, allocations: 20 kB / 357.1 MB, free: 14.8 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.543e-05/0.07962, allocations: 59.7 kB / 357.2 MB, free: 14.74 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001646/0.07979, allocations: 192.8 kB / 357.4 MB, free: 14.55 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003078/0.08011, allocations: 383.1 kB / 357.8 MB, free: 14.17 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.237e-06/0.08012, allocations: 4 kB / 357.8 MB, free: 14.17 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.32e-07/0.08013, allocations: 3.938 kB / 357.8 MB, free: 14.16 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.562e-06/0.08014, allocations: 0 / 357.8 MB, free: 14.16 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.001206/0.08135, allocations: 0.6682 MB / 358.4 MB, free: 13.44 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.08139, allocations: 12.03 kB / 358.5 MB, free: 13.43 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.623e-05/0.08147, allocations: 32.56 kB / 358.5 MB, free: 13.4 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000334/0.08181, allocations: 310.7 kB / 358.8 MB, free: 13.06 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.53e-05/0.08185, allocations: 24.88 kB / 358.8 MB, free: 13.04 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.459e-05/0.08191, allocations: 28.38 kB / 358.8 MB, free: 13.01 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007762/0.08269, allocations: 371.5 kB / 359.2 MB, free: 12.63 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.08271, allocations: 0 / 359.2 MB, free: 12.63 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.268e-05/0.08275, allocations: 12 kB / 359.2 MB, free: 12.62 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.08277, allocations: 4 kB / 359.2 MB, free: 12.62 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000902/0.08367, allocations: 334 kB / 359.5 MB, free: 12.29 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002164/0.08585, allocations: 1.303 MB / 360.9 MB, free: 10.91 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008693/0.08673, allocations: 371.4 kB / 361.2 MB, free: 10.52 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004563/0.0872, allocations: 160.8 kB / 361.4 MB, free: 10.36 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.142e-05/0.08723, allocations: 4 kB / 361.4 MB, free: 10.35 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005199/0.08776, allocations: 213.7 kB / 361.6 MB, free: 10.12 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.473e-06/0.08777, allocations: 0 / 361.6 MB, free: 10.12 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.002283/0.09006, allocations: 0.7086 MB / 362.3 MB, free: 9.387 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.615e-05/0.09013, allocations: 114.8 kB / 362.4 MB, free: 9.25 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002894/0.09043, allocations: 294.9 kB / 362.7 MB, free: 8.957 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.94e-05/0.09047, allocations: 33.69 kB / 362.7 MB, free: 8.918 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001212/0.09059, allocations: 204.2 kB / 362.9 MB, free: 8.711 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.93e-05/0.09065, allocations: 67.17 kB / 363 MB, free: 8.645 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.88e-05/0.09071, allocations: 29.7 kB / 363 MB, free: 8.609 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.762e-05/0.09081, allocations: 338.8 kB / 363.3 MB, free: 8.27 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004061/0.09122, allocations: 132.2 kB / 363.5 MB, free: 8.137 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004521/0.09168, allocations: 229.3 kB / 363.7 MB, free: 7.871 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008219/0.09251, allocations: 374.5 kB / 364.1 MB, free: 7.465 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.09253, allocations: 3.938 kB / 364.1 MB, free: 7.461 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001335/0.09387, allocations: 0.5075 MB / 364.6 MB, free: 6.938 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.212e-05/0.09391, allocations: 37.69 kB / 364.6 MB, free: 6.895 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.09393, allocations: 7.984 kB / 364.6 MB, free: 6.887 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002976/0.09423, allocations: 68.88 kB / 364.7 MB, free: 6.816 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003093/0.09455, allocations: 75.89 kB / 364.8 MB, free: 6.742 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002028/0.09659, allocations: 1.557 MB / 366.3 MB, free: 5.055 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003626/0.09697, allocations: 71.73 kB / 366.4 MB, free: 4.984 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.44e-05/0.097, allocations: 12 kB / 366.4 MB, free: 4.973 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.000144/0.09715, allocations: 149.8 kB / 366.5 MB, free: 4.816 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.951e-05/0.0972, allocations: 27.7 kB / 366.6 MB, free: 4.789 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.584e-05/0.09726, allocations: 34.2 kB / 366.6 MB, free: 4.758 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.09727, allocations: 4 kB / 366.6 MB, free: 4.754 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.09728, allocations: 3.938 kB / 366.6 MB, free: 4.75 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.09729, allocations: 0 / 366.6 MB, free: 4.75 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001608/0.0989, allocations: 0.8432 MB / 367.5 MB, free: 3.844 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.09891, allocations: 0 / 367.5 MB, free: 3.844 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002357/0.09916, allocations: 47.91 kB / 367.5 MB, free: 3.797 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002322/0.0994, allocations: 68.84 kB / 367.6 MB, free: 3.727 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.791e-05/0.09943, allocations: 8 kB / 367.6 MB, free: 3.719 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001841/0.1013, allocations: 1.542 MB / 369.1 MB, free: 2.039 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.1013, allocations: 0 / 369.1 MB, free: 2.039 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001547/0.1028, allocations: 0.6201 MB / 369.7 MB, free: 1.398 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.83e-05/0.1029, allocations: 100.9 kB / 369.8 MB, free: 1.281 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.974e-05/0.103, allocations: 8.062 kB / 369.9 MB, free: 1.273 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003231/0.1033, allocations: 43.95 kB / 369.9 MB, free: 1.23 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.285e-05/0.1034, allocations: 27.91 kB / 369.9 MB, free: 1.203 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.492e-05/0.1034, allocations: 8 kB / 369.9 MB, free: 1.195 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001991/0.1036, allocations: 210 kB / 370.1 MB, free: 0.9922 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1036, allocations: 0 / 370.1 MB, free: 0.9922 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003797/0.104, allocations: 83.69 kB / 370.2 MB, free: 0.9102 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.0001091/0.1041, allocations: 119.1 kB / 370.3 MB, free: 0.7852 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009985/0.1051, allocations: 461.9 kB / 370.8 MB, free: 316 kB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.1051, allocations: 0 / 370.8 MB, free: 316 kB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004784/0.1056, allocations: 255.1 kB / 371 MB, free: 48 kB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004233/0.1061, allocations: 48.86 kB / 371.1 MB, free: 0 / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00306/0.2413, allocations: 1.036 MB / 372.1 MB, free: 24.37 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001846/0.2415, allocations: 0.768 MB / 372.9 MB, free: 23.67 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.721e-05/0.2416, allocations: 23.12 kB / 372.9 MB, free: 23.66 MB / 302.1 MB Notification: Performance of SimCode: time 4.7e-07/0.2416, allocations: 1.344 kB / 372.9 MB, free: 23.66 MB / 302.1 MB Notification: Performance of Templates: time 0.00805/0.2497, allocations: 5.225 MB / 378.1 MB, free: 23.31 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