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.001363/0.001363, allocations: 117 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001675/0.001675, allocations: 204.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.538/1.538, allocations: 227.4 MB / 247.5 MB, free: 10.35 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001233, allocations: 62.62 kB / 308.4 MB, free: 15.87 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1249/0.1262, allocations: 50.54 MB / 358.9 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.004754/0.131, allocations: 3.086 MB / 362 MB, free: 10.21 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001707/0.1327, allocations: 0.8143 MB / 362.8 MB, free: 9.395 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001967/0.1329, allocations: 7.938 kB / 362.8 MB, free: 9.387 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000195/0.1332, allocations: 51.5 kB / 362.9 MB, free: 9.336 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002272/0.1334, allocations: 119 kB / 363 MB, free: 9.219 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003345/0.1337, allocations: 119.8 kB / 363.1 MB, free: 9.102 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004701/0.1342, allocations: 462.2 kB / 363.6 MB, free: 8.648 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003076/0.1345, allocations: 146.8 kB / 363.7 MB, free: 8.508 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003234/0.1349, allocations: 179.4 kB / 363.9 MB, free: 8.332 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002532/0.1351, allocations: 199.1 kB / 364.1 MB, free: 8.137 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.402e-05/0.1352, allocations: 44 kB / 364.1 MB, free: 8.094 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.284e-05/0.1353, allocations: 44 kB / 364.2 MB, free: 8.051 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.481e-05/0.1354, allocations: 87.69 kB / 364.2 MB, free: 7.965 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001848/0.1356, allocations: 199 kB / 364.4 MB, free: 7.77 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004511/0.136, allocations: 498.3 kB / 364.9 MB, free: 7.281 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.1361, allocations: 4 kB / 364.9 MB, free: 7.277 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1361, allocations: 0 / 364.9 MB, free: 7.277 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.404e-06/0.1361, allocations: 3.938 kB / 364.9 MB, free: 7.273 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.001342/0.1374, allocations: 0.707 MB / 365.6 MB, free: 6.512 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.1375, allocations: 16.03 kB / 365.7 MB, free: 6.496 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.802e-05/0.1376, allocations: 32.56 kB / 365.7 MB, free: 6.465 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000533/0.1381, allocations: 318.6 kB / 366 MB, free: 6.109 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.45e-05/0.1382, allocations: 16.94 kB / 366 MB, free: 6.09 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.656e-05/0.1382, allocations: 28.38 kB / 366 MB, free: 6.062 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007387/0.139, allocations: 363.5 kB / 366.4 MB, free: 5.695 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/0.139, allocations: 0 / 366.4 MB, free: 5.695 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.988e-05/0.139, allocations: 16 kB / 366.4 MB, free: 5.68 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.123e-05/0.139, allocations: 4 kB / 366.4 MB, free: 5.676 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000822/0.1399, allocations: 310 kB / 366.7 MB, free: 5.375 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002289/0.1422, allocations: 1.252 MB / 368 MB, free: 4.039 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008053/0.143, allocations: 343.4 kB / 368.3 MB, free: 3.676 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004283/0.1434, allocations: 140.8 kB / 368.4 MB, free: 3.535 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.92e-05/0.1435, allocations: 4 kB / 368.5 MB, free: 3.531 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004935/0.144, allocations: 197.8 kB / 368.6 MB, free: 3.316 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 2.074e-06/0.144, allocations: 0 / 368.6 MB, free: 3.316 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.002193/0.1462, allocations: 0.6421 MB / 369.3 MB, free: 2.648 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.655e-05/0.1463, allocations: 106.8 kB / 369.4 MB, free: 2.52 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003956/0.1467, allocations: 294.9 kB / 369.7 MB, free: 2.219 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.141e-05/0.1468, allocations: 29.7 kB / 369.7 MB, free: 2.184 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001626/0.1469, allocations: 212.2 kB / 369.9 MB, free: 1.969 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.03e-05/0.147, allocations: 55.2 kB / 370 MB, free: 1.914 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001078/0.1471, allocations: 53.7 kB / 370 MB, free: 1.855 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001608/0.1473, allocations: 338.8 kB / 370.4 MB, free: 1.516 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003617/0.1476, allocations: 112.2 kB / 370.5 MB, free: 1.406 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004264/0.1481, allocations: 225.3 kB / 370.7 MB, free: 1.145 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007348/0.1488, allocations: 339.3 kB / 371 MB, free: 0.7734 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.1488, allocations: 0 / 371 MB, free: 0.7734 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001215/0.1501, allocations: 487.5 kB / 371.5 MB, free: 288 kB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.927e-05/0.1501, allocations: 41.69 kB / 371.5 MB, free: 240 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.1501, allocations: 4 kB / 371.5 MB, free: 236 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003345/0.1505, allocations: 60.91 kB / 371.6 MB, free: 172 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003013/0.1508, allocations: 75.89 kB / 371.7 MB, free: 96 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2553/0.4061, allocations: 1.622 MB / 373.3 MB, free: 18.81 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005262/0.4067, allocations: 65.45 kB / 373.4 MB, free: 18.8 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.964e-05/0.4067, allocations: 9.734 kB / 373.4 MB, free: 18.8 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.0002254/0.407, allocations: 156.5 kB / 373.5 MB, free: 18.69 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.232e-05/0.4071, allocations: 25.53 kB / 373.5 MB, free: 18.69 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.2e-05/0.4071, allocations: 30.31 kB / 373.6 MB, free: 18.68 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.4071, allocations: 3.406 kB / 373.6 MB, free: 18.68 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.4072, allocations: 0.5625 kB / 373.6 MB, free: 18.68 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.094e-06/0.4072, allocations: 5.75 kB / 373.6 MB, free: 18.68 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001817/0.409, allocations: 0.7971 MB / 374.4 MB, free: 18.36 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.409, allocations: 5.016 kB / 374.4 MB, free: 18.36 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002453/0.4093, allocations: 45.05 kB / 374.4 MB, free: 18.36 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002523/0.4095, allocations: 59.48 kB / 374.5 MB, free: 18.36 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.523e-05/0.4096, allocations: 8 kB / 374.5 MB, free: 18.36 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001976/0.4115, allocations: 1.621 MB / 376.1 MB, free: 17.02 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.682e-06/0.4116, allocations: 7.531 kB / 376.1 MB, free: 17.02 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001652/0.4132, allocations: 0.5606 MB / 376.7 MB, free: 16.87 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000122/0.4134, allocations: 112 kB / 376.8 MB, free: 16.77 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.648e-05/0.4134, allocations: 10.27 kB / 376.8 MB, free: 16.76 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003052/0.4137, allocations: 34.2 kB / 376.8 MB, free: 16.76 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.959e-05/0.4138, allocations: 22.16 kB / 376.9 MB, free: 16.76 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.878e-05/0.4139, allocations: 4.422 kB / 376.9 MB, free: 16.76 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003231/0.4142, allocations: 207.7 kB / 377.1 MB, free: 16.68 MB / 302.1 MB Notification: Performance of sort global known variables: time 5.51e-07/0.4142, allocations: 0.5 kB / 377.1 MB, free: 16.68 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005327/0.4147, allocations: 82.78 kB / 377.1 MB, free: 16.68 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.0002012/0.4149, allocations: 105.4 kB / 377.2 MB, free: 16.59 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001197/0.4162, allocations: 449.5 kB / 377.7 MB, free: 16.37 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.4162, allocations: 0 / 377.7 MB, free: 16.37 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004902/0.4167, allocations: 241.4 kB / 377.9 MB, free: 16.23 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004834/0.4172, allocations: 59.36 kB / 378 MB, free: 16.21 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00288/0.4201, allocations: 0.8484 MB / 378.8 MB, free: 15.85 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002617/0.4203, allocations: 0.764 MB / 379.6 MB, free: 15.15 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001584/0.4205, allocations: 33.56 kB / 379.6 MB, free: 15.14 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.331e-05/0.4206, allocations: 23.73 kB / 379.6 MB, free: 15.14 MB / 302.1 MB Notification: Performance of SimCode: time 1.212e-06/0.4206, allocations: 1.375 kB / 379.6 MB, free: 15.14 MB / 302.1 MB Notification: Performance of Templates: time 0.01319/0.4338, allocations: 4.287 MB / 383.9 MB, free: 14.85 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 -s cvode -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/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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches