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.001106/0.001106, allocations: 97.11 kB / 17.35 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001417/0.001417, allocations: 205.8 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.569/1.569, allocations: 227.7 MB / 246.8 MB, free: 11.39 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003671/0.0003671, allocations: 11.98 kB / 307.8 MB, free: 0.793 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.153/0.1534, allocations: 51.52 MB / 359.3 MB, free: 13.27 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.003699/0.1571, allocations: 2.555 MB / 361.8 MB, free: 10.7 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001805/0.159, allocations: 0.7403 MB / 362.6 MB, free: 9.957 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002658/0.1592, allocations: 7.938 kB / 362.6 MB, free: 9.949 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001766/0.1594, allocations: 35.75 kB / 362.6 MB, free: 9.914 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000286/0.1597, allocations: 79.39 kB / 362.7 MB, free: 9.836 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003939/0.1601, allocations: 99.91 kB / 362.8 MB, free: 9.738 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000527/0.1607, allocations: 362.5 kB / 363.1 MB, free: 9.383 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002733/0.161, allocations: 111.8 kB / 363.3 MB, free: 9.273 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003843/0.1613, allocations: 127.4 kB / 363.4 MB, free: 9.148 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000277/0.1616, allocations: 151.2 kB / 363.5 MB, free: 9 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.64e-05/0.1617, allocations: 20 kB / 363.5 MB, free: 8.98 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.8e-05/0.1618, allocations: 16 kB / 363.6 MB, free: 8.965 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.531e-05/0.1618, allocations: 51.77 kB / 363.6 MB, free: 8.914 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001835/0.162, allocations: 161 kB / 363.8 MB, free: 8.75 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004097/0.1625, allocations: 402.7 kB / 364.2 MB, free: 8.355 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/0.1625, allocations: 0 / 364.2 MB, free: 8.355 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.747e-06/0.1625, allocations: 0 / 364.2 MB, free: 8.355 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.948e-06/0.1625, allocations: 3.938 kB / 364.2 MB, free: 8.352 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.001366/0.1639, allocations: 0.6398 MB / 364.8 MB, free: 7.656 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/0.1639, allocations: 8.031 kB / 364.8 MB, free: 7.648 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000104/0.164, allocations: 32.56 kB / 364.8 MB, free: 7.617 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004235/0.1645, allocations: 284.7 kB / 365.1 MB, free: 7.301 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.377e-05/0.1645, allocations: 16.94 kB / 365.1 MB, free: 7.285 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.114e-05/0.1646, allocations: 24.38 kB / 365.2 MB, free: 7.262 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007923/0.1654, allocations: 339.9 kB / 365.5 MB, free: 6.922 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.1654, allocations: 4 kB / 365.5 MB, free: 6.918 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.697e-05/0.1654, allocations: 12 kB / 365.5 MB, free: 6.906 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.22e-05/0.1655, allocations: 4 kB / 365.5 MB, free: 6.902 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009098/0.1664, allocations: 298.1 kB / 365.8 MB, free: 6.609 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002226/0.1686, allocations: 1.22 MB / 367 MB, free: 5.301 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009378/0.1696, allocations: 278.5 kB / 367.3 MB, free: 5.02 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003687/0.1699, allocations: 120.8 kB / 367.4 MB, free: 4.898 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.41e-05/0.17, allocations: 0 / 367.4 MB, free: 4.898 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005129/0.1705, allocations: 184.9 kB / 367.6 MB, free: 4.699 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 1.423e-06/0.1705, allocations: 4 kB / 367.6 MB, free: 4.695 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.002221/0.1727, allocations: 0.6669 MB / 368.3 MB, free: 4 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.383e-05/0.1728, allocations: 81.05 kB / 368.3 MB, free: 3.902 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003272/0.1732, allocations: 270.5 kB / 368.6 MB, free: 3.625 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.528e-05/0.1732, allocations: 25.7 kB / 368.6 MB, free: 3.594 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001413/0.1733, allocations: 195.6 kB / 368.8 MB, free: 3.398 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.171e-05/0.1734, allocations: 43.45 kB / 368.9 MB, free: 3.355 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.618e-05/0.1735, allocations: 25.7 kB / 368.9 MB, free: 3.324 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.1736, allocations: 334.8 kB / 369.2 MB, free: 2.988 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003941/0.174, allocations: 116.2 kB / 369.3 MB, free: 2.871 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004201/0.1744, allocations: 204.6 kB / 369.5 MB, free: 2.633 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007657/0.1752, allocations: 335.8 kB / 369.9 MB, free: 2.262 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.1752, allocations: 0 / 369.9 MB, free: 2.262 MB / 302.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001407/0.1766, allocations: 486 kB / 370.3 MB, free: 1.773 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.404e-05/0.1767, allocations: 41.62 kB / 370.4 MB, free: 1.727 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.1767, allocations: 4 kB / 370.4 MB, free: 1.723 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003582/0.1771, allocations: 64.89 kB / 370.4 MB, free: 1.656 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002564/0.1774, allocations: 71.89 kB / 370.5 MB, free: 1.586 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.25/0.4273, allocations: 1.538 MB / 372.1 MB, free: 18.53 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005389/0.4279, allocations: 65.05 kB / 372.1 MB, free: 18.53 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.81e-05/0.428, allocations: 11.09 kB / 372.1 MB, free: 18.53 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.0002721/0.4282, allocations: 149.2 kB / 372.3 MB, free: 18.41 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.391e-05/0.4283, allocations: 23.7 kB / 372.3 MB, free: 18.41 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.853e-05/0.4284, allocations: 26.02 kB / 372.3 MB, free: 18.41 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/0.4284, allocations: 4.953 kB / 372.3 MB, free: 18.41 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.4284, allocations: 0.75 kB / 372.3 MB, free: 18.41 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.4285, allocations: 1.703 kB / 372.3 MB, free: 18.41 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005133/0.429, allocations: 313.4 kB / 372.6 MB, free: 18.22 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.88e-06/0.429, allocations: 3.406 kB / 372.6 MB, free: 18.22 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002574/0.4293, allocations: 40.41 kB / 372.7 MB, free: 18.22 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003333/0.4296, allocations: 65.89 kB / 372.7 MB, free: 18.21 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.05e-05/0.4296, allocations: 5.422 kB / 372.7 MB, free: 18.21 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001899/0.4315, allocations: 1.541 MB / 374.3 MB, free: 16.97 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.4315, allocations: 3.953 kB / 374.3 MB, free: 16.97 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001661/0.4332, allocations: 0.4949 MB / 374.8 MB, free: 16.9 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.028e-05/0.4333, allocations: 102.9 kB / 374.9 MB, free: 16.8 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.636e-05/0.4333, allocations: 6.375 kB / 374.9 MB, free: 16.8 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002864/0.4336, allocations: 38.48 kB / 374.9 MB, free: 16.8 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001033/0.4337, allocations: 16.69 kB / 374.9 MB, free: 16.8 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.964e-05/0.4338, allocations: 11.59 kB / 375 MB, free: 16.8 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002753/0.4341, allocations: 188 kB / 375.1 MB, free: 16.73 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4341, allocations: 0 / 375.1 MB, free: 16.73 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004257/0.4345, allocations: 73.05 kB / 375.2 MB, free: 16.73 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.0001711/0.4347, allocations: 105 kB / 375.3 MB, free: 16.64 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009927/0.4357, allocations: 432.8 kB / 375.7 MB, free: 16.47 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4357, allocations: 0 / 375.7 MB, free: 16.47 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004603/0.4362, allocations: 230.3 kB / 376 MB, free: 16.36 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003538/0.4365, allocations: 47.23 kB / 376 MB, free: 16.36 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003773/0.4403, allocations: 1.031 MB / 377 MB, free: 15.95 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002771/0.4406, allocations: 0.7513 MB / 377.8 MB, free: 15.25 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001338/0.4407, allocations: 25.05 kB / 377.8 MB, free: 15.25 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.369e-05/0.4408, allocations: 20.52 kB / 377.8 MB, free: 15.24 MB / 302.1 MB Notification: Performance of SimCode: time 6.11e-07/0.4408, allocations: 0 / 377.8 MB, free: 15.24 MB / 302.1 MB Notification: Performance of Templates: time 0.01009/0.4509, allocations: 3.327 MB / 381.2 MB, free: 15.01 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/Integrator/Integrator.csv","/var/lib/jenkins/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