Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.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.Integrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|integrator.c.v|integrator.opAmp.out.v|integrator.opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Integrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|integrator.c.v|integrator.opAmp.out.v|integrator.opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001383/0.001383, allocations: 114.7 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001645/0.001645, allocations: 200.6 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.532/1.532, allocations: 227.4 MB / 247.5 MB, free: 10.35 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001177/0.001177, allocations: 57.34 kB / 308.4 MB, free: 15.87 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1159, allocations: 50.53 MB / 358.9 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.004441/0.1204, allocations: 2.88 MB / 361.8 MB, free: 10.43 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001447/0.1218, allocations: 0.7596 MB / 362.5 MB, free: 9.664 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001865/0.1221, allocations: 8 kB / 362.6 MB, free: 9.656 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000194/0.1223, allocations: 47.56 kB / 362.6 MB, free: 9.609 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002078/0.1225, allocations: 91.19 kB / 362.7 MB, free: 9.52 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003469/0.1229, allocations: 111.8 kB / 362.8 MB, free: 9.41 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004184/0.1233, allocations: 390.5 kB / 363.2 MB, free: 9.027 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002561/0.1235, allocations: 135.2 kB / 363.3 MB, free: 8.895 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003101/0.1239, allocations: 163.4 kB / 363.5 MB, free: 8.734 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002286/0.1241, allocations: 167.2 kB / 363.6 MB, free: 8.57 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.099e-05/0.1242, allocations: 40 kB / 363.7 MB, free: 8.531 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.25e-05/0.1242, allocations: 36 kB / 363.7 MB, free: 8.496 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.016e-05/0.1243, allocations: 67.83 kB / 363.8 MB, free: 8.43 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001668/0.1245, allocations: 171.2 kB / 363.9 MB, free: 8.262 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004261/0.1249, allocations: 422.6 kB / 364.4 MB, free: 7.848 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.1249, allocations: 0 / 364.4 MB, free: 7.848 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.1249, allocations: 0 / 364.4 MB, free: 7.848 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.168e-05/0.125, allocations: 0 / 364.4 MB, free: 7.848 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001287/0.1262, allocations: 0.6604 MB / 365 MB, free: 7.133 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.1263, allocations: 19.97 kB / 365 MB, free: 7.113 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.197e-05/0.1264, allocations: 32.56 kB / 365.1 MB, free: 7.082 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004611/0.1269, allocations: 284.7 kB / 365.3 MB, free: 6.766 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.599e-05/0.1269, allocations: 16.94 kB / 365.4 MB, free: 6.746 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.296e-05/0.1269, allocations: 24.38 kB / 365.4 MB, free: 6.723 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006604/0.1276, allocations: 323.9 kB / 365.7 MB, free: 6.395 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.1276, allocations: 3.984 kB / 365.7 MB, free: 6.391 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.091e-05/0.1277, allocations: 8 kB / 365.7 MB, free: 6.383 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.07e-05/0.1277, allocations: 8 kB / 365.7 MB, free: 6.375 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007468/0.1284, allocations: 278 kB / 366 MB, free: 6.105 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001915/0.1304, allocations: 1.165 MB / 367.2 MB, free: 4.852 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008309/0.1312, allocations: 242.5 kB / 367.4 MB, free: 4.605 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003103/0.1315, allocations: 108.8 kB / 367.5 MB, free: 4.496 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.487e-05/0.1316, allocations: 0 / 367.5 MB, free: 4.496 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004591/0.132, allocations: 176.9 kB / 367.7 MB, free: 4.305 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 1.312e-06/0.132, allocations: 0 / 367.7 MB, free: 4.305 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.002004/0.1341, allocations: 0.5964 MB / 368.3 MB, free: 3.68 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.697e-05/0.1341, allocations: 81.05 kB / 368.3 MB, free: 3.582 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003086/0.1345, allocations: 266.6 kB / 368.6 MB, free: 3.312 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.904e-05/0.1345, allocations: 29.7 kB / 368.6 MB, free: 3.277 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001541/0.1346, allocations: 195.5 kB / 368.8 MB, free: 3.078 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.979e-05/0.1347, allocations: 43.55 kB / 368.9 MB, free: 3.035 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.878e-05/0.1348, allocations: 49.61 kB / 368.9 MB, free: 2.98 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.1349, allocations: 330.8 kB / 369.2 MB, free: 2.648 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003377/0.1353, allocations: 100.2 kB / 369.3 MB, free: 2.547 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004108/0.1357, allocations: 194.2 kB / 369.5 MB, free: 2.32 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006925/0.1364, allocations: 303.8 kB / 369.8 MB, free: 1.98 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.1364, allocations: 0 / 369.8 MB, free: 1.98 MB / 302.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001142/0.1376, allocations: 443.8 kB / 370.3 MB, free: 1.531 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.403e-05/0.1376, allocations: 41.64 kB / 370.3 MB, free: 1.484 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/0.1377, allocations: 0 / 370.3 MB, free: 1.484 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003638/0.138, allocations: 72.75 kB / 370.4 MB, free: 1.41 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002444/0.1383, allocations: 51.97 kB / 370.4 MB, free: 1.359 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2299/0.3682, allocations: 1.622 MB / 372 MB, free: 19.34 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005826/0.3688, allocations: 58.61 kB / 372.1 MB, free: 19.34 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.12e-05/0.3689, allocations: 9.297 kB / 372.1 MB, free: 19.34 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 (25): * Single equations (assignments): 23 * 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.000236/0.3691, allocations: 160.2 kB / 372.3 MB, free: 19.23 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.916e-05/0.3692, allocations: 23.95 kB / 372.3 MB, free: 19.23 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.356e-05/0.3693, allocations: 24.36 kB / 372.3 MB, free: 19.23 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.632e-06/0.3693, allocations: 6.609 kB / 372.3 MB, free: 19.23 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.3693, allocations: 2.125 kB / 372.3 MB, free: 19.23 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.241e-06/0.3693, allocations: 0.5156 kB / 372.3 MB, free: 19.23 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004611/0.3698, allocations: 312.9 kB / 372.6 MB, free: 19.04 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-06/0.3698, allocations: 0 / 372.6 MB, free: 19.04 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000294/0.3701, allocations: 31.52 kB / 372.7 MB, free: 19.04 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000398/0.3705, allocations: 64.25 kB / 372.7 MB, free: 19.03 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.47e-05/0.3706, allocations: 1.828 kB / 372.7 MB, free: 19.03 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002819/0.3734, allocations: 1.626 MB / 374.4 MB, free: 17.7 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/0.3734, allocations: 1.375 kB / 374.4 MB, free: 17.7 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00215/0.3756, allocations: 453.2 kB / 374.8 MB, free: 17.62 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001138/0.3757, allocations: 97.88 kB / 374.9 MB, free: 17.53 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.898e-05/0.3758, allocations: 7.641 kB / 374.9 MB, free: 17.53 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003667/0.3762, allocations: 30.66 kB / 374.9 MB, free: 17.53 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001212/0.3763, allocations: 15.48 kB / 374.9 MB, free: 17.53 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.784e-05/0.3763, allocations: 5.188 kB / 374.9 MB, free: 17.53 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003795/0.3767, allocations: 195.3 kB / 375.1 MB, free: 17.45 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3767, allocations: 3.812 kB / 375.1 MB, free: 17.45 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007841/0.3775, allocations: 73.81 kB / 375.2 MB, free: 17.45 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (integrator.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 (11): * Single equations (assignments): 8 * 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.0002351/0.3778, allocations: 106.4 kB / 375.3 MB, free: 17.36 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001424/0.3792, allocations: 409.6 kB / 375.7 MB, free: 17.19 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.3792, allocations: 3.938 kB / 375.7 MB, free: 17.19 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000615/0.3799, allocations: 215.3 kB / 375.9 MB, free: 17.08 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004975/0.3804, allocations: 47.16 kB / 376 MB, free: 17.08 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005382/0.3858, allocations: 0.8716 MB / 376.9 MB, free: 16.82 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003263/0.3861, allocations: 0.751 MB / 377.6 MB, free: 16.11 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002028/0.3863, allocations: 25 kB / 377.6 MB, free: 16.11 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.551e-05/0.3864, allocations: 25.23 kB / 377.7 MB, free: 16.1 MB / 302.1 MB Notification: Performance of SimCode: time 1.072e-06/0.3864, allocations: 0 / 377.7 MB, free: 16.1 MB / 302.1 MB Notification: Performance of Templates: time 0.01104/0.3975, allocations: 3.666 MB / 381.3 MB, free: 15.89 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/Integrator/Integrator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches