Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00117/0.00117, allocations: 115.8 kB / 17.74 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001196/0.001196, allocations: 189.5 kB / 18.67 MB, free: 4.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.357/1.357, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009809/0.0009809, allocations: 47.92 kB / 352 MB, free: 3.227 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2361/0.2371, allocations: 49.44 MB / 401.4 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.003873/0.241, allocations: 2.86 MB / 404.3 MB, free: 6 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001253/0.2423, allocations: 0.7206 MB / 405 MB, free: 5.273 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001373/0.2425, allocations: 8 kB / 405 MB, free: 5.266 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001511/0.2426, allocations: 43.52 kB / 405.1 MB, free: 5.223 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001973/0.2428, allocations: 99.17 kB / 405.2 MB, free: 5.125 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000299/0.2432, allocations: 111.8 kB / 405.3 MB, free: 5.016 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003951/0.2436, allocations: 398.6 kB / 405.7 MB, free: 4.625 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002186/0.2438, allocations: 119.2 kB / 405.8 MB, free: 4.5 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002095/0.244, allocations: 155.4 kB / 405.9 MB, free: 4.348 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000189/0.2442, allocations: 163.3 kB / 406.1 MB, free: 4.188 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.54e-05/0.2443, allocations: 36 kB / 406.1 MB, free: 4.152 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.553e-05/0.2443, allocations: 40 kB / 406.2 MB, free: 4.113 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.752e-05/0.2444, allocations: 79.69 kB / 406.2 MB, free: 4.035 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001443/0.2446, allocations: 167.2 kB / 406.4 MB, free: 3.871 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003799/0.2449, allocations: 423.7 kB / 406.8 MB, free: 3.461 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.245, allocations: 8 kB / 406.8 MB, free: 3.453 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.245, allocations: 0 / 406.8 MB, free: 3.453 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.813e-06/0.245, allocations: 0 / 406.8 MB, free: 3.453 MB / 318.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.00124/0.2462, allocations: 0.6526 MB / 407.5 MB, free: 2.746 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.2463, allocations: 19.83 kB / 407.5 MB, free: 2.727 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.866e-05/0.2464, allocations: 32.56 kB / 407.5 MB, free: 2.695 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003956/0.2468, allocations: 288.7 kB / 407.8 MB, free: 2.375 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.972e-05/0.2468, allocations: 16.94 kB / 407.8 MB, free: 2.359 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.944e-05/0.2468, allocations: 28.31 kB / 407.9 MB, free: 2.332 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006794/0.2475, allocations: 323.9 kB / 408.2 MB, free: 2.008 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.2475, allocations: 0 / 408.2 MB, free: 2.008 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.951e-05/0.2476, allocations: 8 kB / 408.2 MB, free: 2 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.094e-06/0.2476, allocations: 4 kB / 408.2 MB, free: 1.996 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007858/0.2484, allocations: 274.1 kB / 408.5 MB, free: 1.727 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001941/0.2503, allocations: 1.165 MB / 409.6 MB, free: 488 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008978/0.2512, allocations: 254.5 kB / 409.9 MB, free: 224 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003534/0.2516, allocations: 100.8 kB / 410 MB, free: 120 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.175e-05/0.2516, allocations: 0 / 410 MB, free: 120 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004626/0.2521, allocations: 176.9 kB / 410.1 MB, free: 15.93 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.282e-06/0.2521, allocations: 3.938 kB / 410.1 MB, free: 15.92 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.002248/0.2544, allocations: 0.5853 MB / 410.7 MB, free: 15.31 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.38e-05/0.2545, allocations: 88.98 kB / 410.8 MB, free: 15.2 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003105/0.2548, allocations: 262.5 kB / 411.1 MB, free: 14.94 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.483e-05/0.2548, allocations: 41.69 kB / 411.1 MB, free: 14.89 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001439/0.255, allocations: 195.5 kB / 411.3 MB, free: 14.7 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.047e-05/0.255, allocations: 35.45 kB / 411.3 MB, free: 14.66 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.138e-05/0.2551, allocations: 49.7 kB / 411.4 MB, free: 14.61 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.2553, allocations: 334.8 kB / 411.7 MB, free: 14.27 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003578/0.2557, allocations: 108.1 kB / 411.8 MB, free: 14.16 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003906/0.2561, allocations: 188.2 kB / 412 MB, free: 13.93 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000758/0.2568, allocations: 307.7 kB / 412.3 MB, free: 13.59 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.2568, allocations: 0 / 412.3 MB, free: 13.59 MB / 334.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001216/0.2581, allocations: 443.1 kB / 412.7 MB, free: 13.14 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.47e-05/0.2581, allocations: 37.64 kB / 412.8 MB, free: 13.1 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.377e-06/0.2581, allocations: 7.984 kB / 412.8 MB, free: 13.09 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003739/0.2585, allocations: 60.89 kB / 412.8 MB, free: 13.03 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002416/0.2588, allocations: 55.89 kB / 412.9 MB, free: 12.98 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002169/0.261, allocations: 1.635 MB / 414.5 MB, free: 11.21 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003434/0.2613, allocations: 51.66 kB / 414.6 MB, free: 11.16 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.371e-05/0.2613, allocations: 12.06 kB / 414.6 MB, free: 11.14 MB / 334.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.0001689/0.2615, allocations: 155.3 kB / 414.7 MB, free: 10.98 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.394e-05/0.2616, allocations: 23.8 kB / 414.8 MB, free: 10.96 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.554e-05/0.2616, allocations: 21.7 kB / 414.8 MB, free: 10.94 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.624e-06/0.2616, allocations: 0 / 414.8 MB, free: 10.94 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.866e-06/0.2616, allocations: 0 / 414.8 MB, free: 10.94 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.2616, allocations: 7.984 kB / 414.8 MB, free: 10.93 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002969/0.2619, allocations: 317.3 kB / 415.1 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.262, allocations: 4 kB / 415.1 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002009/0.2622, allocations: 27.97 kB / 415.1 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002263/0.2624, allocations: 60.81 kB / 415.2 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.609e-05/0.2624, allocations: 4 kB / 415.2 MB, free: 10.47 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001965/0.2644, allocations: 1.625 MB / 416.8 MB, free: 8.711 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.2644, allocations: 3.938 kB / 416.8 MB, free: 8.707 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001388/0.2658, allocations: 453.4 kB / 417.3 MB, free: 8.242 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.81e-05/0.2659, allocations: 104.8 kB / 417.4 MB, free: 8.121 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.58e-05/0.2659, allocations: 4 kB / 417.4 MB, free: 8.117 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002387/0.2662, allocations: 23.97 kB / 417.4 MB, free: 8.094 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.185e-05/0.2663, allocations: 23.97 kB / 417.4 MB, free: 8.07 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.208e-05/0.2663, allocations: 8.062 kB / 417.4 MB, free: 8.062 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001882/0.2665, allocations: 186 kB / 417.6 MB, free: 7.879 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.2665, allocations: 0 / 417.6 MB, free: 7.879 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003438/0.2668, allocations: 71.84 kB / 417.7 MB, free: 7.809 MB / 334.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.0001508/0.267, allocations: 111.2 kB / 417.8 MB, free: 7.688 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009613/0.268, allocations: 405.8 kB / 418.2 MB, free: 7.266 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.268, allocations: 0 / 418.2 MB, free: 7.266 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004424/0.2684, allocations: 219.2 kB / 418.4 MB, free: 7.039 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003194/0.2688, allocations: 44.42 kB / 418.4 MB, free: 6.996 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003537/0.2723, allocations: 0.9012 MB / 419.3 MB, free: 6.062 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003233/0.2726, allocations: 0.7519 MB / 420.1 MB, free: 5.281 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.567e-05/0.2727, allocations: 19.44 kB / 420.1 MB, free: 5.262 MB / 334.1 MB Notification: Performance of SimCode: time 4.21e-07/0.2727, allocations: 0 / 420.1 MB, free: 5.262 MB / 334.1 MB Notification: Performance of Templates: time 0.00669/0.2794, allocations: 4.567 MB / 424.7 MB, free: 0.7031 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches