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.001509/0.001509, allocations: 103.7 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001851/0.001851, allocations: 208.6 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.557/1.557, allocations: 227.4 MB / 246.8 MB, free: 10.65 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001128/0.001128, allocations: 67.7 kB / 307 MB, free: 0.6289 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1163, allocations: 50.53 MB / 357.5 MB, free: 14.11 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.004032/0.1204, allocations: 2.876 MB / 360.4 MB, free: 11.22 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001204/0.1216, allocations: 0.7519 MB / 361.1 MB, free: 10.46 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001313/0.1218, allocations: 7.938 kB / 361.1 MB, free: 10.45 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001425/0.1219, allocations: 43.58 kB / 361.2 MB, free: 10.41 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001965/0.1222, allocations: 103.2 kB / 361.3 MB, free: 10.31 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002663/0.1224, allocations: 115.8 kB / 361.4 MB, free: 10.2 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003821/0.1228, allocations: 390.5 kB / 361.8 MB, free: 9.812 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002115/0.123, allocations: 131.2 kB / 361.9 MB, free: 9.688 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002589/0.1233, allocations: 155.4 kB / 362 MB, free: 9.535 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001877/0.1235, allocations: 167.3 kB / 362.2 MB, free: 9.371 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.16e-05/0.1236, allocations: 40 kB / 362.2 MB, free: 9.332 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.841e-05/0.1236, allocations: 36 kB / 362.3 MB, free: 9.297 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.546e-05/0.1237, allocations: 71.77 kB / 362.3 MB, free: 9.227 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001532/0.1239, allocations: 175.1 kB / 362.5 MB, free: 9.055 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003717/0.1242, allocations: 418.9 kB / 362.9 MB, free: 8.645 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.1243, allocations: 0 / 362.9 MB, free: 8.645 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1243, allocations: 0 / 362.9 MB, free: 8.645 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.1243, allocations: 0 / 362.9 MB, free: 8.645 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.001192/0.1255, allocations: 0.6643 MB / 363.6 MB, free: 7.926 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.123e-05/0.1255, allocations: 8.031 kB / 363.6 MB, free: 7.918 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.012e-05/0.1256, allocations: 40.5 kB / 363.6 MB, free: 7.879 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003234/0.1259, allocations: 288.6 kB / 363.9 MB, free: 7.559 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.167e-05/0.1259, allocations: 16.94 kB / 363.9 MB, free: 7.539 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.695e-05/0.126, allocations: 24.38 kB / 364 MB, free: 7.516 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006565/0.1267, allocations: 320 kB / 364.3 MB, free: 7.191 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.1267, allocations: 0 / 364.3 MB, free: 7.191 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.065e-05/0.1267, allocations: 11.98 kB / 364.3 MB, free: 7.18 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.724e-06/0.1267, allocations: 7.938 kB / 364.3 MB, free: 7.172 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007801/0.1275, allocations: 278.1 kB / 364.6 MB, free: 6.902 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001913/0.1294, allocations: 1.173 MB / 365.7 MB, free: 5.641 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008665/0.1303, allocations: 246.6 kB / 366 MB, free: 5.391 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003263/0.1307, allocations: 108.7 kB / 366.1 MB, free: 5.281 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.553e-05/0.1307, allocations: 0 / 366.1 MB, free: 5.281 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005157/0.1312, allocations: 169 kB / 366.2 MB, free: 5.098 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 1.132e-06/0.1312, allocations: 0 / 366.2 MB, free: 5.098 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.002059/0.1333, allocations: 0.6007 MB / 366.8 MB, free: 4.469 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.31e-05/0.1334, allocations: 85.05 kB / 366.9 MB, free: 4.367 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003143/0.1337, allocations: 258.6 kB / 367.2 MB, free: 4.105 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.024e-05/0.1337, allocations: 37.7 kB / 367.2 MB, free: 4.062 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001439/0.1339, allocations: 195.5 kB / 367.4 MB, free: 3.863 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.633e-05/0.1339, allocations: 31.55 kB / 367.4 MB, free: 3.832 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.038e-05/0.134, allocations: 53.61 kB / 367.5 MB, free: 3.773 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.1342, allocations: 334.8 kB / 367.8 MB, free: 3.438 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000347/0.1345, allocations: 100.2 kB / 367.9 MB, free: 3.336 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003864/0.1349, allocations: 194.3 kB / 368.1 MB, free: 3.109 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000757/0.1357, allocations: 306.2 kB / 368.4 MB, free: 2.77 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.1357, allocations: 0 / 368.4 MB, free: 2.77 MB / 302.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001179/0.1369, allocations: 439.7 kB / 368.8 MB, free: 2.324 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.763e-05/0.1369, allocations: 41.62 kB / 368.9 MB, free: 2.277 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.727e-06/0.137, allocations: 4 kB / 368.9 MB, free: 2.273 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000337/0.1373, allocations: 64.88 kB / 368.9 MB, free: 2.207 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002261/0.1375, allocations: 51.91 kB / 369 MB, free: 2.156 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002224/0.1398, allocations: 1.633 MB / 370.6 MB, free: 388 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000328/0.1401, allocations: 55.72 kB / 370.7 MB, free: 332 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.781e-05/0.1401, allocations: 15.92 kB / 370.7 MB, free: 316 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 (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.0001828/0.1403, allocations: 156.5 kB / 370.8 MB, free: 152 kB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.171e-05/0.1404, allocations: 23.72 kB / 370.9 MB, free: 128 kB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.908e-05/0.1405, allocations: 29.69 kB / 370.9 MB, free: 104 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.1405, allocations: 0 / 370.9 MB, free: 104 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.1405, allocations: 4 kB / 370.9 MB, free: 100 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.568e-06/0.1405, allocations: 4 kB / 370.9 MB, free: 96 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2107/0.3512, allocations: 307.3 kB / 371.2 MB, free: 20.2 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.3512, allocations: 1.375 kB / 371.2 MB, free: 20.2 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002643/0.3515, allocations: 33.23 kB / 371.2 MB, free: 20.2 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002811/0.3518, allocations: 58.72 kB / 371.3 MB, free: 20.2 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.94e-05/0.3518, allocations: 6.062 kB / 371.3 MB, free: 20.2 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001841/0.3537, allocations: 1.623 MB / 372.9 MB, free: 18.87 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.3537, allocations: 0 / 372.9 MB, free: 18.87 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00142/0.3551, allocations: 453.4 kB / 373.4 MB, free: 18.79 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.298e-05/0.3552, allocations: 102.2 kB / 373.5 MB, free: 18.7 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.646e-05/0.3552, allocations: 4.703 kB / 373.5 MB, free: 18.7 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002449/0.3555, allocations: 29.55 kB / 373.5 MB, free: 18.7 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.449e-05/0.3556, allocations: 19.48 kB / 373.5 MB, free: 18.7 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.754e-05/0.3556, allocations: 10.88 kB / 373.5 MB, free: 18.7 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002249/0.3558, allocations: 189.2 kB / 373.7 MB, free: 18.62 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3559, allocations: 0.9375 kB / 373.7 MB, free: 18.62 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003831/0.3562, allocations: 69.67 kB / 373.8 MB, free: 18.62 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.0001654/0.3564, allocations: 101.6 kB / 373.9 MB, free: 18.53 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001125/0.3575, allocations: 412.8 kB / 374.3 MB, free: 18.36 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.3576, allocations: 1.094 kB / 374.3 MB, free: 18.36 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004784/0.3581, allocations: 219.4 kB / 374.5 MB, free: 18.25 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000372/0.3584, allocations: 46.94 kB / 374.5 MB, free: 18.25 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003819/0.3623, allocations: 0.8745 MB / 375.4 MB, free: 18 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001988/0.3625, allocations: 0.7562 MB / 376.2 MB, free: 17.29 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001401/0.3626, allocations: 31.41 kB / 376.2 MB, free: 17.28 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.119e-05/0.3627, allocations: 24.09 kB / 376.2 MB, free: 17.27 MB / 302.1 MB Notification: Performance of SimCode: time 1.172e-06/0.3627, allocations: 0 / 376.2 MB, free: 17.27 MB / 302.1 MB Notification: Performance of Templates: time 0.009015/0.3717, allocations: 3.666 MB / 379.9 MB, free: 17.07 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