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.001503/0.001503, allocations: 113.7 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001637/0.001637, allocations: 212.9 kB / 19.4 MB, free: 3.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.44/1.44, allocations: 227.4 MB / 247.6 MB, free: 10.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 59.91 kB / 359.4 MB, free: 12.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2404/0.2416, allocations: 50.54 MB / 410 MB, free: 1.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.004218/0.2459, allocations: 2.878 MB / 412.8 MB, free: 14.7 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001452/0.2473, allocations: 0.7519 MB / 413.6 MB, free: 13.94 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002087/0.2476, allocations: 7.938 kB / 413.6 MB, free: 13.93 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000154/0.2477, allocations: 43.56 kB / 413.6 MB, free: 13.89 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002445/0.248, allocations: 99.19 kB / 413.7 MB, free: 13.79 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003322/0.2484, allocations: 111.8 kB / 413.8 MB, free: 13.68 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004558/0.2488, allocations: 390.5 kB / 414.2 MB, free: 13.3 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002441/0.2491, allocations: 131.2 kB / 414.4 MB, free: 13.16 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003144/0.2494, allocations: 163.4 kB / 414.5 MB, free: 13 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002217/0.2497, allocations: 159.3 kB / 414.7 MB, free: 12.85 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.359e-05/0.2497, allocations: 40 kB / 414.7 MB, free: 12.81 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.512e-05/0.2498, allocations: 40 kB / 414.7 MB, free: 12.77 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.044e-05/0.2499, allocations: 71.77 kB / 414.8 MB, free: 12.7 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000171/0.2501, allocations: 167.2 kB / 415 MB, free: 12.54 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004109/0.2505, allocations: 427.7 kB / 415.4 MB, free: 12.12 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.2505, allocations: 0 / 415.4 MB, free: 12.12 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.2505, allocations: 0 / 415.4 MB, free: 12.12 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.057e-06/0.2505, allocations: 0 / 415.4 MB, free: 12.12 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.001315/0.2518, allocations: 0.6604 MB / 416.1 MB, free: 11.41 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.2519, allocations: 16.02 kB / 416.1 MB, free: 11.39 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.022e-05/0.252, allocations: 32.56 kB / 416.1 MB, free: 11.36 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003779/0.2524, allocations: 288.6 kB / 416.4 MB, free: 11.04 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.759e-05/0.2524, allocations: 28.92 kB / 416.4 MB, free: 11.01 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.521e-05/0.2525, allocations: 24.38 kB / 416.4 MB, free: 10.98 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000783/0.2532, allocations: 316 kB / 416.7 MB, free: 10.66 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.2533, allocations: 0 / 416.7 MB, free: 10.66 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.812e-05/0.2533, allocations: 15.92 kB / 416.8 MB, free: 10.65 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/0.2533, allocations: 12 kB / 416.8 MB, free: 10.64 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009031/0.2542, allocations: 266.1 kB / 417 MB, free: 10.38 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002163/0.2564, allocations: 1.169 MB / 418.2 MB, free: 9.121 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009222/0.2573, allocations: 242.6 kB / 418.4 MB, free: 8.875 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003576/0.2577, allocations: 116.7 kB / 418.6 MB, free: 8.758 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.019e-05/0.2578, allocations: 0 / 418.6 MB, free: 8.758 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000489/0.2582, allocations: 165 kB / 418.7 MB, free: 8.578 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.273e-06/0.2583, allocations: 0 / 418.7 MB, free: 8.578 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.002264/0.2605, allocations: 0.6005 MB / 419.3 MB, free: 7.949 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.153e-05/0.2606, allocations: 81.05 kB / 419.4 MB, free: 7.852 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002892/0.2609, allocations: 270.5 kB / 419.7 MB, free: 7.582 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.426e-05/0.2609, allocations: 29.7 kB / 419.7 MB, free: 7.547 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001255/0.2611, allocations: 191.6 kB / 419.9 MB, free: 7.352 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.751e-05/0.2611, allocations: 43.44 kB / 419.9 MB, free: 7.309 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001112/0.2612, allocations: 49.61 kB / 420 MB, free: 7.254 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.2614, allocations: 338.8 kB / 420.3 MB, free: 6.914 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003954/0.2618, allocations: 100.2 kB / 420.4 MB, free: 6.812 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004321/0.2622, allocations: 191.5 kB / 420.6 MB, free: 6.586 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007702/0.263, allocations: 303.7 kB / 420.9 MB, free: 6.246 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.263, allocations: 0 / 420.9 MB, free: 6.246 MB / 334.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001307/0.2643, allocations: 439.8 kB / 421.3 MB, free: 5.801 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.825e-05/0.2644, allocations: 41.62 kB / 421.4 MB, free: 5.754 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.2644, allocations: 0 / 421.4 MB, free: 5.754 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003082/0.2647, allocations: 68.88 kB / 421.4 MB, free: 5.684 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002382/0.2649, allocations: 55.91 kB / 421.5 MB, free: 5.629 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002278/0.2672, allocations: 1.633 MB / 423.1 MB, free: 3.859 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003278/0.2676, allocations: 51.72 kB / 423.2 MB, free: 3.809 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.455e-05/0.2676, allocations: 11.98 kB / 423.2 MB, free: 3.797 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.0001462/0.2678, allocations: 161.2 kB / 423.3 MB, free: 3.633 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.535e-05/0.2678, allocations: 15.81 kB / 423.3 MB, free: 3.617 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.134e-05/0.2679, allocations: 33.64 kB / 423.4 MB, free: 3.582 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.2679, allocations: 4 kB / 423.4 MB, free: 3.578 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.2679, allocations: 0 / 423.4 MB, free: 3.578 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.2679, allocations: 3.938 kB / 423.4 MB, free: 3.574 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000288/0.2682, allocations: 309.3 kB / 423.7 MB, free: 3.223 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.2682, allocations: 0 / 423.7 MB, free: 3.223 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001943/0.2684, allocations: 35.97 kB / 423.7 MB, free: 3.188 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002457/0.2687, allocations: 60.81 kB / 423.8 MB, free: 3.125 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.223e-05/0.2687, allocations: 11.98 kB / 423.8 MB, free: 3.113 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002138/0.2708, allocations: 1.621 MB / 425.4 MB, free: 1.355 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.2709, allocations: 0 / 425.4 MB, free: 1.355 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001517/0.2724, allocations: 453.9 kB / 425.9 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.965e-05/0.2725, allocations: 100.7 kB / 426 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.448e-05/0.2725, allocations: 8 kB / 426 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002585/0.2728, allocations: 32.02 kB / 426 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.067e-05/0.2728, allocations: 15.98 kB / 426 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.441e-05/0.2729, allocations: 4 kB / 426 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002106/0.2731, allocations: 190 kB / 426.2 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.2731, allocations: 4 kB / 426.2 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003491/0.2734, allocations: 63.84 kB / 426.3 MB, free: 476 kB / 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.0001372/0.2736, allocations: 110.8 kB / 426.4 MB, free: 356 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001102/0.2747, allocations: 413.9 kB / 426.8 MB, free: 15.92 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.2747, allocations: 0 / 426.8 MB, free: 15.92 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004936/0.2752, allocations: 218.5 kB / 427 MB, free: 15.69 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003744/0.2756, allocations: 52.97 kB / 427 MB, free: 15.64 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003966/0.2796, allocations: 0.9014 MB / 427.9 MB, free: 14.7 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003121/0.2799, allocations: 0.7558 MB / 428.7 MB, free: 13.92 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.362e-05/0.28, allocations: 19.44 kB / 428.7 MB, free: 13.9 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.28, allocations: 0 / 428.7 MB, free: 13.9 MB / 350.1 MB Notification: Performance of Templates: time 0.00719/0.2872, allocations: 4.594 MB / 433.3 MB, free: 9.324 MB / 350.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/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