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.001204/0.001204, allocations: 101.3 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001391/0.001391, allocations: 202.4 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.53/1.53, allocations: 227.2 MB / 245.9 MB, free: 12.08 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002229/0.0002229, allocations: 12 kB / 306.6 MB, free: 1.613 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.121, allocations: 51.49 MB / 358.1 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.003392/0.1244, allocations: 2.518 MB / 360.6 MB, free: 11.59 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001862/0.1263, allocations: 0.7876 MB / 361.4 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001984/0.1265, allocations: 4 kB / 361.4 MB, free: 10.79 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 9.384e-05/0.1266, allocations: 43.67 kB / 361.4 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003511/0.127, allocations: 119.7 kB / 361.6 MB, free: 10.63 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003693/0.1274, allocations: 83.83 kB / 361.6 MB, free: 10.55 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004846/0.1279, allocations: 295 kB / 361.9 MB, free: 10.26 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002942/0.1282, allocations: 110.6 kB / 362 MB, free: 10.15 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003498/0.1285, allocations: 143.5 kB / 362.2 MB, free: 10.01 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002597/0.1288, allocations: 155.3 kB / 362.3 MB, free: 9.859 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.695e-05/0.1289, allocations: 20 kB / 362.3 MB, free: 9.84 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.204e-05/0.1289, allocations: 20 kB / 362.4 MB, free: 9.82 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.747e-05/0.129, allocations: 59.75 kB / 362.4 MB, free: 9.762 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001249/0.1292, allocations: 89.52 kB / 362.5 MB, free: 9.668 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004774/0.1296, allocations: 383.1 kB / 362.9 MB, free: 9.293 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.1296, allocations: 0 / 362.9 MB, free: 9.293 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.286e-06/0.1297, allocations: 0 / 362.9 MB, free: 9.293 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.756e-06/0.1297, allocations: 4 kB / 362.9 MB, free: 9.289 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.001401/0.1311, allocations: 0.668 MB / 363.6 MB, free: 8.566 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.1311, allocations: 8.031 kB / 363.6 MB, free: 8.559 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.25e-05/0.1312, allocations: 39.62 kB / 363.6 MB, free: 8.52 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003744/0.1316, allocations: 301.5 kB / 363.9 MB, free: 8.184 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.685e-05/0.1316, allocations: 28.52 kB / 363.9 MB, free: 8.156 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.917e-05/0.1317, allocations: 24 kB / 363.9 MB, free: 8.133 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007612/0.1325, allocations: 359.6 kB / 364.3 MB, free: 7.766 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.1325, allocations: 3.938 kB / 364.3 MB, free: 7.762 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.376e-05/0.1325, allocations: 12 kB / 364.3 MB, free: 7.75 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.221e-05/0.1326, allocations: 8 kB / 364.3 MB, free: 7.742 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009105/0.1335, allocations: 338 kB / 364.6 MB, free: 7.414 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002535/0.136, allocations: 1.299 MB / 365.9 MB, free: 6.027 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008724/0.1369, allocations: 367.5 kB / 366.3 MB, free: 5.641 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.468e-05/0.1369, allocations: 288 / 366.3 MB, free: 5.641 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005685/0.1375, allocations: 213.8 kB / 366.5 MB, free: 5.41 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.293e-06/0.1375, allocations: 0 / 366.5 MB, free: 5.41 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.002201/0.1397, allocations: 0.7161 MB / 367.2 MB, free: 4.668 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.93e-05/0.1398, allocations: 110.8 kB / 367.3 MB, free: 4.535 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003348/0.1402, allocations: 298.8 kB / 367.6 MB, free: 4.234 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.972e-05/0.1402, allocations: 25.7 kB / 367.7 MB, free: 4.203 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001549/0.1404, allocations: 211.9 kB / 367.9 MB, free: 3.988 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.296e-05/0.1404, allocations: 63.17 kB / 367.9 MB, free: 3.926 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.387e-05/0.1404, allocations: 4 kB / 367.9 MB, free: 3.922 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.1406, allocations: 338.8 kB / 368.3 MB, free: 3.582 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003626/0.141, allocations: 128.2 kB / 368.4 MB, free: 3.457 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004322/0.1414, allocations: 237.6 kB / 368.6 MB, free: 3.184 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003946/0.1418, allocations: 173.5 kB / 368.8 MB, free: 3.012 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.858e-06/0.1418, allocations: 4 kB / 368.8 MB, free: 3.008 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001216/0.1431, allocations: 0.5093 MB / 369.3 MB, free: 2.484 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.656e-05/0.1431, allocations: 41.72 kB / 369.3 MB, free: 2.438 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.1431, allocations: 4 kB / 369.3 MB, free: 2.434 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003356/0.1435, allocations: 68.81 kB / 369.4 MB, free: 2.363 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002993/0.1438, allocations: 75.89 kB / 369.5 MB, free: 2.289 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002638/0.1464, allocations: 1.779 MB / 371.3 MB, free: 388 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003647/0.1468, allocations: 67.89 kB / 371.3 MB, free: 320 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.461e-05/0.1469, allocations: 12 kB / 371.3 MB, free: 308 kB / 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.0001866/0.1471, allocations: 153.7 kB / 371.5 MB, free: 144 kB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.193e-05/0.1471, allocations: 31.72 kB / 371.5 MB, free: 112 kB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.202e-05/0.1472, allocations: 30.2 kB / 371.6 MB, free: 80 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.1472, allocations: 4 kB / 371.6 MB, free: 76 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/0.1472, allocations: 0 / 371.6 MB, free: 76 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.1472, allocations: 3.938 kB / 371.6 MB, free: 72 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2507/0.3979, allocations: 0.827 MB / 372.4 MB, free: 19.46 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.3979, allocations: 0.7188 kB / 372.4 MB, free: 19.46 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002665/0.3982, allocations: 55.58 kB / 372.4 MB, free: 19.46 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002654/0.3985, allocations: 62.58 kB / 372.5 MB, free: 19.45 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.207e-05/0.3985, allocations: 12.56 kB / 372.5 MB, free: 19.45 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00189/0.4004, allocations: 1.56 MB / 374.1 MB, free: 18.21 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.4004, allocations: 4.406 kB / 374.1 MB, free: 18.21 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001627/0.4021, allocations: 0.6299 MB / 374.7 MB, free: 18.05 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.973e-05/0.4022, allocations: 103.3 kB / 374.8 MB, free: 17.95 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.329e-05/0.4022, allocations: 9.984 kB / 374.8 MB, free: 17.95 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003023/0.4025, allocations: 46.22 kB / 374.9 MB, free: 17.95 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.369e-05/0.4026, allocations: 25.02 kB / 374.9 MB, free: 17.95 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.958e-05/0.4027, allocations: 4.656 kB / 374.9 MB, free: 17.95 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000251/0.4029, allocations: 208.6 kB / 375.1 MB, free: 17.87 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.4029, allocations: 2.406 kB / 375.1 MB, free: 17.87 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004889/0.4034, allocations: 83.3 kB / 375.2 MB, free: 17.87 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.0001501/0.4036, allocations: 105.9 kB / 375.3 MB, free: 17.79 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001475/0.4051, allocations: 0.5387 MB / 375.8 MB, free: 17.62 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.4051, allocations: 1.375 kB / 375.8 MB, free: 17.62 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004768/0.4056, allocations: 254.4 kB / 376.1 MB, free: 17.51 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003675/0.4059, allocations: 45.73 kB / 376.1 MB, free: 17.5 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003448/0.4094, allocations: 1.069 MB / 377.2 MB, free: 17.09 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002175/0.4096, allocations: 0.7713 MB / 378 MB, free: 16.39 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001543/0.4098, allocations: 33.14 kB / 378 MB, free: 16.38 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.026e-05/0.4099, allocations: 23.48 kB / 378 MB, free: 16.38 MB / 302.1 MB Notification: Performance of SimCode: time 8.42e-07/0.4099, allocations: 0 / 378 MB, free: 16.38 MB / 302.1 MB Notification: Performance of Templates: time 0.01079/0.4207, allocations: 3.657 MB / 381.7 MB, free: 16.14 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","../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches