Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001069/0.00107, allocations: 95.06 kB / 17 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001567/0.001567, allocations: 192.9 kB / 17.91 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.498/1.498, allocations: 227.7 MB / 246.4 MB, free: 9.805 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000267/0.0002671, allocations: 8 kB / 307.1 MB, free: 0.9258 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1384/0.1387, allocations: 51.52 MB / 358.6 MB, free: 13.41 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.004755/0.1435, allocations: 2.642 MB / 361.3 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001855/0.1454, allocations: 0.7758 MB / 362.1 MB, free: 9.969 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004778/0.1459, allocations: 4 kB / 362.1 MB, free: 9.965 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002579/0.1462, allocations: 39.69 kB / 362.1 MB, free: 9.926 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004503/0.1467, allocations: 99.23 kB / 362.2 MB, free: 9.828 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005338/0.1472, allocations: 75.89 kB / 362.3 MB, free: 9.754 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007078/0.148, allocations: 402.3 kB / 362.7 MB, free: 9.359 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003141/0.1483, allocations: 114.6 kB / 362.8 MB, free: 9.246 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004711/0.1488, allocations: 143.4 kB / 362.9 MB, free: 9.105 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003291/0.1491, allocations: 159.3 kB / 363.1 MB, free: 8.949 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.841e-05/0.1492, allocations: 20 kB / 363.1 MB, free: 8.93 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.744e-05/0.1493, allocations: 20 kB / 363.1 MB, free: 8.91 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.639e-05/0.1493, allocations: 63.69 kB / 363.2 MB, free: 8.848 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001384/0.1495, allocations: 85.52 kB / 363.3 MB, free: 8.758 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004378/0.1499, allocations: 383.1 kB / 363.6 MB, free: 8.383 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.015e-06/0.1499, allocations: 4 kB / 363.6 MB, free: 8.379 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.15, allocations: 0 / 363.6 MB, free: 8.379 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.833e-05/0.15, allocations: 0 / 363.6 MB, free: 8.379 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.001873/0.1519, allocations: 0.6824 MB / 364.3 MB, free: 7.645 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.033e-05/0.1519, allocations: 8.031 kB / 364.3 MB, free: 7.637 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002139/0.1521, allocations: 35.62 kB / 364.4 MB, free: 7.602 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006893/0.1528, allocations: 309.3 kB / 364.7 MB, free: 7.254 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.641e-05/0.1529, allocations: 24.56 kB / 364.7 MB, free: 7.23 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.903e-05/0.153, allocations: 31.95 kB / 364.7 MB, free: 7.199 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009934/0.154, allocations: 363.6 kB / 365.1 MB, free: 6.832 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/0.154, allocations: 0 / 365.1 MB, free: 6.832 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.207e-05/0.1541, allocations: 8 kB / 365.1 MB, free: 6.824 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.238e-05/0.1541, allocations: 8 kB / 365.1 MB, free: 6.816 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009215/0.155, allocations: 342 kB / 365.4 MB, free: 6.48 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002694/0.1577, allocations: 1.295 MB / 366.7 MB, free: 5.102 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007831/0.1585, allocations: 359.5 kB / 367.1 MB, free: 4.723 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004221/0.159, allocations: 161.1 kB / 367.2 MB, free: 4.562 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.998e-05/0.159, allocations: 3.938 kB / 367.2 MB, free: 4.559 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005553/0.1596, allocations: 221.8 kB / 367.4 MB, free: 4.32 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.664e-06/0.1596, allocations: 0 / 367.4 MB, free: 4.32 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.002147/0.1617, allocations: 0.7058 MB / 368.2 MB, free: 3.586 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001086/0.1618, allocations: 106.8 kB / 368.3 MB, free: 3.457 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004161/0.1623, allocations: 294.9 kB / 368.5 MB, free: 3.16 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.179e-05/0.1623, allocations: 29.7 kB / 368.6 MB, free: 3.125 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000187/0.1625, allocations: 211.9 kB / 368.8 MB, free: 2.91 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.362e-05/0.1626, allocations: 59.2 kB / 368.8 MB, free: 2.852 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.474e-05/0.1626, allocations: 4 kB / 368.8 MB, free: 2.848 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.1628, allocations: 338.8 kB / 369.2 MB, free: 2.508 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003611/0.1631, allocations: 132.2 kB / 369.3 MB, free: 2.379 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004442/0.1636, allocations: 229.5 kB / 369.5 MB, free: 2.113 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004128/0.164, allocations: 178.1 kB / 369.7 MB, free: 1.938 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.773e-06/0.164, allocations: 4 kB / 369.7 MB, free: 1.934 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001292/0.1653, allocations: 0.5054 MB / 370.2 MB, free: 1.414 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.158e-05/0.1654, allocations: 40.34 kB / 370.3 MB, free: 1.371 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/0.1654, allocations: 4 kB / 370.3 MB, free: 1.367 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003503/0.1658, allocations: 76.77 kB / 370.3 MB, free: 1.289 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002923/0.1661, allocations: 75.89 kB / 370.4 MB, free: 1.215 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2546/0.4207, allocations: 1.749 MB / 372.2 MB, free: 18.04 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005859/0.4213, allocations: 65.56 kB / 372.2 MB, free: 18.04 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.296e-05/0.4214, allocations: 15.95 kB / 372.2 MB, free: 18.04 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 ($whenCondition1,$PRE.vIn.signalSource.T_start,vIn.signalSource.T_start,$PRE.vIn.signalSource.count,vIn.signalSource.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002633/0.4217, allocations: 151 kB / 372.4 MB, free: 17.93 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.968e-05/0.4217, allocations: 28.17 kB / 372.4 MB, free: 17.92 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.701e-05/0.4218, allocations: 30.06 kB / 372.4 MB, free: 17.91 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.596e-06/0.4218, allocations: 6.906 kB / 372.4 MB, free: 17.91 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.4218, allocations: 0.7969 kB / 372.4 MB, free: 17.91 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.4218, allocations: 0.5156 kB / 372.4 MB, free: 17.91 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001916/0.4238, allocations: 0.8358 MB / 373.3 MB, free: 17.6 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-06/0.4238, allocations: 1.594 kB / 373.3 MB, free: 17.6 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002573/0.424, allocations: 52.58 kB / 373.3 MB, free: 17.6 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00027/0.4243, allocations: 69.14 kB / 373.4 MB, free: 17.59 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.378e-05/0.4244, allocations: 6.438 kB / 373.4 MB, free: 17.59 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001784/0.4261, allocations: 1.543 MB / 375 MB, free: 16.35 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.4262, allocations: 0 / 375 MB, free: 16.35 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001483/0.4276, allocations: 0.6183 MB / 375.6 MB, free: 16.2 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.832e-05/0.4277, allocations: 100.1 kB / 375.7 MB, free: 16.11 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.19e-05/0.4278, allocations: 9.188 kB / 375.7 MB, free: 16.11 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002744/0.4281, allocations: 44.53 kB / 375.7 MB, free: 16.11 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.856e-05/0.4282, allocations: 24.5 kB / 375.7 MB, free: 16.11 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.841e-05/0.4282, allocations: 4.875 kB / 375.7 MB, free: 16.11 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002772/0.4285, allocations: 208.9 kB / 376 MB, free: 16.03 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4285, allocations: 0 / 376 MB, free: 16.03 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005117/0.429, allocations: 86.62 kB / 376 MB, free: 16.02 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001971/0.4292, allocations: 113.1 kB / 376.1 MB, free: 15.93 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001603/0.4308, allocations: 0.5301 MB / 376.7 MB, free: 15.76 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.4308, allocations: 1.375 kB / 376.7 MB, free: 15.76 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005366/0.4314, allocations: 251.7 kB / 376.9 MB, free: 15.65 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005439/0.4319, allocations: 54.95 kB / 377 MB, free: 15.63 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002927/0.4349, allocations: 0.9965 MB / 378 MB, free: 15.2 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002922/0.4352, allocations: 0.7631 MB / 378.7 MB, free: 14.5 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001799/0.4354, allocations: 28.53 kB / 378.8 MB, free: 14.5 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.561e-05/0.4354, allocations: 29.16 kB / 378.8 MB, free: 14.49 MB / 302.1 MB Notification: Performance of SimCode: time 1.172e-06/0.4355, allocations: 0 / 378.8 MB, free: 14.49 MB / 302.1 MB Notification: Performance of Templates: time 0.01168/0.4471, allocations: 3.694 MB / 382.5 MB, free: 14.24 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches