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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001323/0.001323, allocations: 176.3 kB / 17.4 MB, free: 4.418 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.499/1.499, allocations: 223.3 MB / 241.4 MB, free: 11.72 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008964/0.0008964, allocations: 96.95 kB / 292.6 MB, free: 10.79 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004234/0.0004236, allocations: 19.94 kB / 352.4 MB, free: 15.01 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2981/0.2985, allocations: 50.39 MB / 402.8 MB, free: 32.46 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1144/0.413, allocations: 81.58 MB / 484.3 MB, free: 14.77 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000287/0.4134, allocations: 83.94 kB / 484.4 MB, free: 14.68 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01896/0.4323, allocations: 6.344 MB / 490.8 MB, free: 8.316 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.765e-06/0.4324, allocations: 4 kB / 490.8 MB, free: 8.312 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.035e-05/0.4324, allocations: 8 kB / 490.8 MB, free: 8.305 MB / 362.7 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.001318/0.4337, allocations: 0.6144 MB / 491.4 MB, free: 7.629 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/0.4338, allocations: 8.031 kB / 491.4 MB, free: 7.621 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001346/0.4339, allocations: 32.56 kB / 491.4 MB, free: 7.59 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004769/0.4344, allocations: 293.2 kB / 491.7 MB, free: 7.262 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.301e-05/0.4345, allocations: 28.88 kB / 491.7 MB, free: 7.234 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.869e-05/0.4345, allocations: 24.38 kB / 491.8 MB, free: 7.211 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007237/0.4353, allocations: 332.1 kB / 492.1 MB, free: 6.879 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.473e-05/0.4353, allocations: 192 / 492.1 MB, free: 6.879 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.527e-05/0.4353, allocations: 15.94 kB / 492.1 MB, free: 6.863 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.085e-05/0.4354, allocations: 4 kB / 492.1 MB, free: 6.859 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008213/0.4362, allocations: 302.1 kB / 492.4 MB, free: 6.562 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002246/0.4384, allocations: 1.212 MB / 493.6 MB, free: 5.27 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008682/0.4393, allocations: 274.5 kB / 493.9 MB, free: 4.992 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003677/0.4397, allocations: 116.8 kB / 494 MB, free: 4.875 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.707e-05/0.4398, allocations: 4 kB / 494 MB, free: 4.871 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005029/0.4403, allocations: 182.2 kB / 494.2 MB, free: 4.676 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 2.154e-06/0.4403, allocations: 0 / 494.2 MB, free: 4.676 MB / 362.7 MB Notification: Performance of matching and sorting (n=12): time 0.00206/0.4423, allocations: 0.6746 MB / 494.9 MB, free: 3.973 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.559e-05/0.4425, allocations: 81.09 kB / 494.9 MB, free: 3.875 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003922/0.4429, allocations: 266.5 kB / 495.2 MB, free: 3.602 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.628e-05/0.4429, allocations: 29.7 kB / 495.2 MB, free: 3.566 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001688/0.4431, allocations: 195.5 kB / 495.4 MB, free: 3.371 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.934e-05/0.4432, allocations: 35.53 kB / 495.4 MB, free: 3.336 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.001e-05/0.4432, allocations: 4 kB / 495.5 MB, free: 3.332 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000185/0.4434, allocations: 338.8 kB / 495.8 MB, free: 2.992 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003689/0.4437, allocations: 116.2 kB / 495.9 MB, free: 2.875 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004071/0.4442, allocations: 213.1 kB / 496.1 MB, free: 2.629 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007342/0.4449, allocations: 343.6 kB / 496.4 MB, free: 2.25 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.4449, allocations: 0 / 496.4 MB, free: 2.25 MB / 362.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001196/0.4461, allocations: 480.7 kB / 496.9 MB, free: 1.766 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.187e-05/0.4462, allocations: 33.7 kB / 496.9 MB, free: 1.727 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/0.4462, allocations: 4 kB / 496.9 MB, free: 1.723 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003375/0.4466, allocations: 72.81 kB / 497 MB, free: 1.648 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002495/0.4468, allocations: 67.88 kB / 497.1 MB, free: 1.582 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00252/0.4494, allocations: 1.554 MB / 498.6 MB, free: 15.9 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003691/0.4497, allocations: 59.64 kB / 498.7 MB, free: 15.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.948e-05/0.4498, allocations: 12.06 kB / 498.7 MB, free: 15.83 MB / 378.7 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 ($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 (25): * Single equations (assignments): 23 * 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 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002241/0.45, allocations: 145.8 kB / 498.9 MB, free: 15.68 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.474e-05/0.4501, allocations: 27.75 kB / 498.9 MB, free: 15.65 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.941e-05/0.4501, allocations: 21.7 kB / 498.9 MB, free: 15.63 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.4501, allocations: 4 kB / 498.9 MB, free: 15.63 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.4502, allocations: 0 / 498.9 MB, free: 15.63 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.4502, allocations: 0 / 498.9 MB, free: 15.63 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000388/0.4506, allocations: 317.3 kB / 499.2 MB, free: 15.27 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.489e-06/0.4506, allocations: 7.984 kB / 499.2 MB, free: 15.26 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001905/0.4508, allocations: 35.97 kB / 499.3 MB, free: 15.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002121/0.451, allocations: 64.83 kB / 499.3 MB, free: 15.16 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.111e-05/0.451, allocations: 7.984 kB / 499.3 MB, free: 15.15 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001848/0.4529, allocations: 1.534 MB / 0.4891 GB, free: 13.48 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.4529, allocations: 4.094 kB / 0.4891 GB, free: 13.48 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001318/0.4542, allocations: 0.4895 MB / 0.4896 GB, free: 12.97 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.816e-05/0.4543, allocations: 104.8 kB / 0.4897 GB, free: 12.85 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.469e-05/0.4544, allocations: 4 kB / 0.4897 GB, free: 12.84 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002207/0.4546, allocations: 36.03 kB / 0.4897 GB, free: 12.81 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.834e-05/0.4547, allocations: 23.91 kB / 0.4898 GB, free: 12.79 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.436e-05/0.4547, allocations: 7.984 kB / 0.4898 GB, free: 12.78 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001939/0.4549, allocations: 186 kB / 0.49 GB, free: 12.59 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4549, allocations: 0 / 0.49 GB, free: 12.59 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003799/0.4553, allocations: 67.84 kB / 0.49 GB, free: 12.53 MB / 378.7 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 (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 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002288/0.4556, allocations: 128 kB / 0.4901 GB, free: 12.39 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009811/0.4566, allocations: 430.3 kB / 0.4905 GB, free: 11.95 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.4566, allocations: 8.125 kB / 0.4906 GB, free: 11.94 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004388/0.457, allocations: 222.6 kB / 0.4908 GB, free: 11.71 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003466/0.4574, allocations: 44.53 kB / 0.4908 GB, free: 11.67 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003351/0.4607, allocations: 1.014 MB / 0.4918 GB, free: 10.62 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003194/0.4611, allocations: 0.7559 MB / 0.4925 GB, free: 9.844 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001386/0.4612, allocations: 26.28 kB / 0.4926 GB, free: 9.816 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.656e-05/0.4613, allocations: 23.42 kB / 0.4926 GB, free: 9.793 MB / 378.7 MB Notification: Performance of SimCode: time 6.92e-07/0.4613, allocations: 0 / 0.4926 GB, free: 9.793 MB / 378.7 MB Notification: Performance of Templates: time 0.007337/0.4686, allocations: 3.273 MB / 0.4958 GB, free: 6.559 MB / 378.7 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","../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches