Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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=1000,variableFilter="time|integrator.c.v|integrator.opAmp.out.v|integrator.opAmp.out.i",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Integrator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Integrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|integrator.c.v|integrator.opAmp.out.v|integrator.opAmp.out.i",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Integrator") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001674/0.001674, allocations: 108.7 kB / 18.78 MB, free: 3.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001915/0.001915, allocations: 207.9 kB / 19.79 MB, free: 2.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.471/1.471, allocations: 230.4 MB / 251.1 MB, free: 8.492 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 67.84 kB / 369 MB, free: 6.039 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2491/0.251, allocations: 53.32 MB / 422.3 MB, free: 7.836 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.00444/0.2555, allocations: 2.897 MB / 425.2 MB, free: 4.93 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001388/0.2569, allocations: 0.7518 MB / 426 MB, free: 4.172 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001565/0.257, allocations: 4 kB / 426 MB, free: 4.168 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001646/0.2572, allocations: 51.5 kB / 426 MB, free: 4.117 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000199/0.2574, allocations: 99.25 kB / 426.1 MB, free: 4.02 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003099/0.2577, allocations: 115.8 kB / 426.2 MB, free: 3.906 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004609/0.2581, allocations: 386.5 kB / 426.6 MB, free: 3.527 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002394/0.2584, allocations: 95.25 kB / 426.7 MB, free: 3.426 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003198/0.2587, allocations: 167.3 kB / 426.9 MB, free: 3.262 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002417/0.2589, allocations: 163.3 kB / 427 MB, free: 3.102 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.389e-05/0.259, allocations: 36 kB / 427 MB, free: 3.066 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.733e-05/0.2591, allocations: 40 kB / 427.1 MB, free: 3.027 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.726e-05/0.2591, allocations: 75.7 kB / 427.2 MB, free: 2.953 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001755/0.2593, allocations: 167.2 kB / 427.3 MB, free: 2.789 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004949/0.2598, allocations: 422 kB / 427.7 MB, free: 2.379 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.2598, allocations: 0 / 427.7 MB, free: 2.379 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.2598, allocations: 4 kB / 427.7 MB, free: 2.375 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.2598, allocations: 0 / 427.7 MB, free: 2.375 MB / 334.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.001294/0.2611, allocations: 0.668 MB / 428.4 MB, free: 1.652 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.2611, allocations: 8.031 kB / 428.4 MB, free: 1.645 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.45e-05/0.2612, allocations: 40.69 kB / 428.5 MB, free: 1.605 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004175/0.2616, allocations: 288.8 kB / 428.7 MB, free: 1.285 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.683e-05/0.2617, allocations: 20.88 kB / 428.8 MB, free: 1.262 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.412e-05/0.2617, allocations: 24.38 kB / 428.8 MB, free: 1.238 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007483/0.2625, allocations: 323.9 kB / 429.1 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.2625, allocations: 0 / 429.1 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.009e-05/0.2625, allocations: 8 kB / 429.1 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.356e-06/0.2625, allocations: 4 kB / 429.1 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007799/0.2633, allocations: 274.1 kB / 429.4 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002002/0.2653, allocations: 1.169 MB / 430.5 MB, free: 15.38 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008705/0.2662, allocations: 242.5 kB / 430.8 MB, free: 15.13 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003104/0.2665, allocations: 96.78 kB / 430.9 MB, free: 15.04 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.932e-05/0.2665, allocations: 0 / 430.9 MB, free: 15.04 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004488/0.267, allocations: 180.9 kB / 431.1 MB, free: 14.84 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.042e-06/0.267, allocations: 0 / 431.1 MB, free: 14.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.001958/0.2689, allocations: 0.5928 MB / 431.6 MB, free: 14.22 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.923e-05/0.269, allocations: 88.98 kB / 431.7 MB, free: 14.11 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002967/0.2693, allocations: 262.6 kB / 432 MB, free: 13.85 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.548e-05/0.2693, allocations: 29.7 kB / 432 MB, free: 13.81 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001408/0.2695, allocations: 195.9 kB / 432.2 MB, free: 13.61 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.354e-05/0.2695, allocations: 51.62 kB / 432.3 MB, free: 13.56 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.043e-05/0.2696, allocations: 49.7 kB / 432.3 MB, free: 13.51 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.2698, allocations: 330.8 kB / 432.6 MB, free: 13.18 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003672/0.2701, allocations: 104.1 kB / 432.7 MB, free: 13.07 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003922/0.2705, allocations: 191.5 kB / 432.9 MB, free: 12.84 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006782/0.2712, allocations: 307.7 kB / 433.2 MB, free: 12.5 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.2712, allocations: 4 kB / 433.2 MB, free: 12.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001141/0.2723, allocations: 439.8 kB / 433.7 MB, free: 12.05 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.82e-05/0.2724, allocations: 41.7 kB / 433.7 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.387e-06/0.2724, allocations: 4 kB / 433.7 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002947/0.2727, allocations: 64.81 kB / 433.8 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002308/0.2729, allocations: 51.91 kB / 433.8 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002214/0.2751, allocations: 1.637 MB / 435.4 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003005/0.2754, allocations: 43.81 kB / 435.5 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.492e-05/0.2754, allocations: 15.98 kB / 435.5 MB, free: 10.05 MB / 350.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.0001573/0.2756, allocations: 156.4 kB / 435.7 MB, free: 9.891 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.151e-05/0.2757, allocations: 27.84 kB / 435.7 MB, free: 9.863 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.421e-05/0.2757, allocations: 25.7 kB / 435.7 MB, free: 9.836 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.2757, allocations: 0 / 435.7 MB, free: 9.836 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.894e-06/0.2757, allocations: 0 / 435.7 MB, free: 9.836 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.2757, allocations: 4 kB / 435.7 MB, free: 9.832 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003121/0.276, allocations: 305.4 kB / 436 MB, free: 9.484 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.276, allocations: 4 kB / 436 MB, free: 9.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001893/0.2762, allocations: 35.95 kB / 436.1 MB, free: 9.445 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002172/0.2764, allocations: 56.83 kB / 436.1 MB, free: 9.387 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.767e-05/0.2765, allocations: 7.984 kB / 436.1 MB, free: 9.379 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002064/0.2785, allocations: 1.63 MB / 437.7 MB, free: 7.613 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2785, allocations: 4.094 kB / 437.8 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001325/0.2798, allocations: 453.4 kB / 438.2 MB, free: 7.145 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.332e-05/0.2799, allocations: 100.9 kB / 438.3 MB, free: 7.027 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.555e-05/0.28, allocations: 4 kB / 438.3 MB, free: 7.023 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002279/0.2802, allocations: 35.89 kB / 438.3 MB, free: 6.988 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.287e-05/0.2803, allocations: 15.98 kB / 438.3 MB, free: 6.973 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.433e-05/0.2803, allocations: 7.984 kB / 438.4 MB, free: 6.965 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002003/0.2805, allocations: 190 kB / 438.5 MB, free: 6.781 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2805, allocations: 4.062 kB / 438.5 MB, free: 6.777 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003153/0.2808, allocations: 71.84 kB / 438.6 MB, free: 6.707 MB / 350.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.0001335/0.2809, allocations: 107.2 kB / 438.7 MB, free: 6.59 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009405/0.2819, allocations: 398.4 kB / 439.1 MB, free: 6.176 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2819, allocations: 0 / 439.1 MB, free: 6.176 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004461/0.2823, allocations: 215.2 kB / 439.3 MB, free: 5.953 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003014/0.2826, allocations: 45.77 kB / 439.4 MB, free: 5.91 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003269/0.2859, allocations: 0.8795 MB / 440.2 MB, free: 5 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004603/0.2863, allocations: 0.7558 MB / 441 MB, free: 4.215 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001073/0.2864, allocations: 22.3 kB / 441 MB, free: 4.195 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.096e-05/0.2865, allocations: 19.44 kB / 441 MB, free: 4.176 MB / 350.1 MB Notification: Performance of SimCode: time 4.9e-07/0.2865, allocations: 3.938 kB / 441 MB, free: 4.172 MB / 350.1 MB Notification: Performance of Templates: time 0.008287/0.2948, allocations: 3.772 MB / 444.8 MB, free: 444 kB / 350.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Integrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/Integrator/Integrator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches