Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Integrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Integrator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Integrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Integrator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002313/0.002313, allocations: 173.7 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.482/1.482, allocations: 205.4 MB / 222.9 MB, free: 9.035 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008197/0.0008197, allocations: 95.83 kB / 271.2 MB, free: 8.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003373/0.0003377, allocations: 12 kB / 327.5 MB, free: 15.89 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2477/0.248, allocations: 47.58 MB / 375.1 MB, free: 45.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.002334/0.2504, allocations: 2.213 MB / 377.3 MB, free: 43.69 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001014/0.2514, allocations: 0.6703 MB / 378 MB, free: 43.14 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001218/0.2516, allocations: 11.12 kB / 378 MB, free: 43.13 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001155/0.2517, allocations: 31.27 kB / 378 MB, free: 43.11 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000144/0.2519, allocations: 68.39 kB / 378.1 MB, free: 43.05 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002362/0.2521, allocations: 62.02 kB / 378.2 MB, free: 43 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002771/0.2524, allocations: 292.1 kB / 378.4 MB, free: 42.82 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001765/0.2526, allocations: 70.78 kB / 378.5 MB, free: 42.78 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001679/0.2527, allocations: 113.1 kB / 378.6 MB, free: 42.71 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001363/0.2529, allocations: 112.7 kB / 378.7 MB, free: 42.64 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.838e-05/0.2529, allocations: 14.34 kB / 378.7 MB, free: 42.64 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.367e-05/0.253, allocations: 14.81 kB / 378.8 MB, free: 42.64 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.197e-05/0.253, allocations: 49.31 kB / 378.8 MB, free: 42.6 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001261/0.2532, allocations: 142.6 kB / 378.9 MB, free: 42.49 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001821/0.2534, allocations: 224.6 kB / 379.2 MB, free: 42.32 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.2534, allocations: 0 / 379.2 MB, free: 42.32 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.2534, allocations: 4.688 kB / 379.2 MB, free: 42.32 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.01e-06/0.2534, allocations: 0 / 379.2 MB, free: 42.32 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.00101/0.2544, allocations: 0.5872 MB / 379.8 MB, free: 41.79 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.2545, allocations: 8.781 kB / 379.8 MB, free: 41.79 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.598e-05/0.2545, allocations: 30.91 kB / 379.8 MB, free: 41.77 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002462/0.2548, allocations: 269.5 kB / 380.1 MB, free: 41.5 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.983e-05/0.2548, allocations: 16.47 kB / 380.1 MB, free: 41.49 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.309e-05/0.2549, allocations: 21.62 kB / 380.1 MB, free: 41.48 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005537/0.2554, allocations: 253.7 kB / 380.3 MB, free: 41.34 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.2554, allocations: 0 / 380.3 MB, free: 41.34 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.443e-05/0.2555, allocations: 6.031 kB / 380.3 MB, free: 41.34 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.167e-06/0.2555, allocations: 8.406 kB / 380.4 MB, free: 41.33 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007188/0.2562, allocations: 277.4 kB / 380.6 MB, free: 41.22 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001268/0.2575, allocations: 0.8448 MB / 381.5 MB, free: 40.5 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007763/0.2583, allocations: 272.9 kB / 381.7 MB, free: 40.38 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002747/0.2586, allocations: 105.3 kB / 381.8 MB, free: 40.33 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.466e-05/0.2586, allocations: 6.203 kB / 381.8 MB, free: 40.32 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004178/0.259, allocations: 182.2 kB / 382 MB, free: 40.2 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 2.144e-06/0.259, allocations: 3.984 kB / 382 MB, free: 40.19 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.00172/0.2608, allocations: 0.6541 MB / 382.7 MB, free: 39.85 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.207e-05/0.2608, allocations: 83.8 kB / 382.8 MB, free: 39.75 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002115/0.261, allocations: 238 kB / 383 MB, free: 39.58 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.938e-05/0.261, allocations: 26.86 kB / 383 MB, free: 39.55 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.148e-05/0.2611, allocations: 166.2 kB / 383.2 MB, free: 39.4 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.216e-05/0.2612, allocations: 41.02 kB / 383.2 MB, free: 39.36 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.134e-05/0.2612, allocations: 4 kB / 383.2 MB, free: 39.36 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.674e-05/0.2612, allocations: 328.3 kB / 383.5 MB, free: 39.04 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000292/0.2615, allocations: 111.8 kB / 383.7 MB, free: 38.98 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002964/0.2619, allocations: 170 kB / 383.8 MB, free: 38.86 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005432/0.2624, allocations: 273.6 kB / 384.1 MB, free: 38.69 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.2624, allocations: 1.125 kB / 384.1 MB, free: 38.69 MB / 298.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0009656/0.2634, allocations: 440.5 kB / 384.5 MB, free: 38.46 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.208e-05/0.2635, allocations: 160 kB / 384.7 MB, free: 38.29 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/0.2635, allocations: 2.625 kB / 384.7 MB, free: 38.29 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002624/0.2638, allocations: 61.75 kB / 384.7 MB, free: 38.25 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002186/0.264, allocations: 53.72 kB / 384.8 MB, free: 38.24 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001331/0.2653, allocations: 1.499 MB / 386.3 MB, free: 36.81 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002871/0.2656, allocations: 42.22 kB / 386.3 MB, free: 36.8 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.273e-05/0.2657, allocations: 10.66 kB / 386.3 MB, free: 36.79 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.923e-06/0.2657, allocations: 7.906 kB / 386.4 MB, free: 36.79 MB / 298.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006191/0.2663, allocations: 300.7 kB / 386.6 MB, free: 36.63 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.2663, allocations: 1.25 kB / 386.6 MB, free: 36.63 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.197e-05/0.2664, allocations: 27.47 kB / 386.7 MB, free: 36.61 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000184/0.2666, allocations: 51.98 kB / 386.7 MB, free: 36.55 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006048/0.2672, allocations: 1.381 MB / 388.1 MB, free: 35.04 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002382/0.2674, allocations: 39.83 kB / 388.1 MB, free: 35 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.7e-05/0.2675, allocations: 19.92 kB / 388.2 MB, free: 34.98 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.vIn.signalSource.T_start,vIn.signalSource.T_start,$PRE.vIn.signalSource.count,vIn.signalSource.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001354/0.2676, allocations: 205.1 kB / 388.4 MB, free: 34.77 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.001e-05/0.2676, allocations: 19.72 kB / 388.4 MB, free: 34.75 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.443e-05/0.2677, allocations: 25.92 kB / 388.4 MB, free: 34.73 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.2677, allocations: 4 kB / 388.4 MB, free: 34.73 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.2677, allocations: 0 / 388.4 MB, free: 34.73 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.2677, allocations: 7.875 kB / 388.4 MB, free: 34.72 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001883/0.2679, allocations: 281.5 kB / 388.7 MB, free: 34.39 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.2679, allocations: 0 / 388.7 MB, free: 34.39 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001775/0.2681, allocations: 39.91 kB / 388.7 MB, free: 34.36 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001482/0.2682, allocations: 56.81 kB / 388.8 MB, free: 34.3 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.881e-05/0.2683, allocations: 4 kB / 388.8 MB, free: 34.29 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001083/0.2694, allocations: 1.499 MB / 390.3 MB, free: 32.66 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.2694, allocations: 0 / 390.3 MB, free: 32.66 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009569/0.2703, allocations: 471.6 kB / 390.8 MB, free: 32.18 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.43e-05/0.2704, allocations: 88.92 kB / 390.8 MB, free: 32.07 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.087e-05/0.2704, allocations: 7.938 kB / 390.8 MB, free: 32.06 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001969/0.2706, allocations: 31.97 kB / 390.9 MB, free: 32.03 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.254e-05/0.2707, allocations: 23.95 kB / 390.9 MB, free: 32.01 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.207e-05/0.2707, allocations: 8.062 kB / 390.9 MB, free: 32 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001248/0.2709, allocations: 168.5 kB / 391.1 MB, free: 31.84 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2709, allocations: 0 / 391.1 MB, free: 31.84 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004511/0.2713, allocations: 115.7 kB / 391.2 MB, free: 31.72 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001234/0.2715, allocations: 99.19 kB / 391.3 MB, free: 31.62 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001149/0.2726, allocations: 0.6954 MB / 392 MB, free: 30.87 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.2726, allocations: 0 / 392 MB, free: 30.87 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003614/0.273, allocations: 230.9 kB / 392.2 MB, free: 30.63 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003157/0.2733, allocations: 43.86 kB / 392.2 MB, free: 30.59 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008758/0.2742, allocations: 0.6156 MB / 392.9 MB, free: 29.95 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001419/0.2744, allocations: 0.7479 MB / 393.6 MB, free: 29.18 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.522e-05/0.2744, allocations: 19.44 kB / 393.6 MB, free: 29.16 MB / 298.7 MB Notification: Performance of SimCode: time 1.192e-06/0.2744, allocations: 0 / 393.6 MB, free: 29.16 MB / 298.7 MB Notification: Performance of Templates: time 0.004591/0.279, allocations: 3.905 MB / 397.5 MB, free: 25.27 MB / 298.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Integrator --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/Integrator/Integrator.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches