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.003573/0.003574, allocations: 177 kB / 17.41 MB, free: 4.41 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.636/4.636, allocations: 205.4 MB / 223.6 MB, free: 9.02 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.001276/0.001276, allocations: 82.44 kB / 271.9 MB, free: 8.262 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006701/0.0006702, allocations: 12 kB / 328.2 MB, free: 15.93 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6931/0.6939, allocations: 47.57 MB / 375.7 MB, free: 45.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1995/0.8935, allocations: 79.31 MB / 455 MB, free: 1.324 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005786/0.8942, allocations: 79.95 kB / 455.1 MB, free: 1.246 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03628/0.9305, allocations: 5.493 MB / 460.6 MB, free: 11.73 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.461e-06/0.9306, allocations: 0 / 460.6 MB, free: 11.73 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.175e-05/0.9306, allocations: 4 kB / 460.6 MB, free: 11.72 MB / 346.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.002094/0.9328, allocations: 0.5834 MB / 461.2 MB, free: 11.08 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001054/0.9329, allocations: 16.03 kB / 461.2 MB, free: 11.06 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002077/0.9331, allocations: 24.66 kB / 461.2 MB, free: 11.04 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006932/0.9338, allocations: 280.2 kB / 461.5 MB, free: 10.73 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.294e-05/0.9339, allocations: 12.75 kB / 461.5 MB, free: 10.71 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001021/0.934, allocations: 24.36 kB / 461.5 MB, free: 10.69 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001147/0.9352, allocations: 248.8 kB / 461.8 MB, free: 10.44 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.86e-05/0.9352, allocations: 192 / 461.8 MB, free: 10.44 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.641e-05/0.9353, allocations: 11.94 kB / 461.8 MB, free: 10.43 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.197e-05/0.9353, allocations: 4 kB / 461.8 MB, free: 10.43 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001413/0.9367, allocations: 279.2 kB / 462.1 MB, free: 10.16 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003116/0.9399, allocations: 0.8951 MB / 463 MB, free: 9.188 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001595/0.9415, allocations: 270.5 kB / 463.2 MB, free: 8.914 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005673/0.9421, allocations: 104.8 kB / 463.3 MB, free: 8.809 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.512e-05/0.9422, allocations: 8 kB / 463.4 MB, free: 8.801 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008547/0.9431, allocations: 176.9 kB / 463.5 MB, free: 8.609 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 5.961e-06/0.9431, allocations: 4 kB / 463.5 MB, free: 8.605 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.007672/0.9508, allocations: 0.6618 MB / 464.2 MB, free: 7.918 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.262e-05/0.9509, allocations: 81.11 kB / 464.3 MB, free: 7.82 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004712/0.9514, allocations: 237 kB / 464.5 MB, free: 7.582 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.927e-05/0.9515, allocations: 33.7 kB / 464.5 MB, free: 7.543 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000175/0.9517, allocations: 156 kB / 464.7 MB, free: 7.387 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.953e-05/0.9518, allocations: 47.36 kB / 464.7 MB, free: 7.34 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.894e-05/0.9518, allocations: 4 kB / 464.7 MB, free: 7.336 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001997/0.952, allocations: 330.8 kB / 465.1 MB, free: 7.004 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006096/0.9527, allocations: 103.9 kB / 465.2 MB, free: 6.902 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007294/0.9534, allocations: 161.2 kB / 465.3 MB, free: 6.723 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001205/0.9546, allocations: 285.5 kB / 465.6 MB, free: 6.418 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.043e-05/0.9547, allocations: 3.938 kB / 465.6 MB, free: 6.414 MB / 346.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0022/0.9569, allocations: 438 kB / 466 MB, free: 5.973 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002461/0.9572, allocations: 163.8 kB / 466.2 MB, free: 5.781 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.852e-05/0.9572, allocations: 4 kB / 466.2 MB, free: 5.777 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005274/0.9577, allocations: 56.75 kB / 466.2 MB, free: 5.719 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004235/0.9582, allocations: 59.91 kB / 466.3 MB, free: 5.66 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003087/0.9613, allocations: 1.492 MB / 467.8 MB, free: 4.035 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005921/0.9619, allocations: 59.73 kB / 467.9 MB, free: 3.977 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.949e-05/0.962, allocations: 4 kB / 467.9 MB, free: 3.973 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.962, allocations: 8.062 kB / 467.9 MB, free: 3.965 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001326/0.9634, allocations: 294.3 kB / 468.2 MB, free: 3.668 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.9634, allocations: 0 / 468.2 MB, free: 3.668 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001523/0.9636, allocations: 28.78 kB / 468.2 MB, free: 3.637 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003738/0.964, allocations: 59.91 kB / 468.2 MB, free: 3.578 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001742/0.9657, allocations: 1.377 MB / 469.6 MB, free: 2.066 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000467/0.9662, allocations: 35.88 kB / 469.7 MB, free: 2.031 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.899e-05/0.9663, allocations: 8 kB / 469.7 MB, free: 2.023 MB / 346.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.0003462/0.9666, allocations: 216.9 kB / 469.9 MB, free: 1.801 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.778e-05/0.9667, allocations: 23.7 kB / 469.9 MB, free: 1.777 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.75e-05/0.9668, allocations: 29.91 kB / 469.9 MB, free: 1.754 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.98e-06/0.9668, allocations: 0 / 469.9 MB, free: 1.754 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.9669, allocations: 96 / 469.9 MB, free: 1.754 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.338e-06/0.9669, allocations: 3.984 kB / 469.9 MB, free: 1.75 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005481/0.9674, allocations: 285.4 kB / 470.2 MB, free: 1.422 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.9675, allocations: 0 / 470.2 MB, free: 1.422 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003205/0.9678, allocations: 39.97 kB / 470.2 MB, free: 1.383 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003342/0.9681, allocations: 56.81 kB / 470.3 MB, free: 1.324 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.12e-05/0.9682, allocations: 4 kB / 470.3 MB, free: 1.32 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002502/0.9707, allocations: 1.487 MB / 471.8 MB, free: 15.7 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.9707, allocations: 0 / 471.8 MB, free: 15.7 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0019/0.9727, allocations: 465.5 kB / 472.2 MB, free: 15.22 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002415/0.9729, allocations: 108.8 kB / 472.4 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001028/0.973, allocations: 4 kB / 472.4 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003946/0.9735, allocations: 31.97 kB / 472.4 MB, free: 15.06 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001578/0.9736, allocations: 19.97 kB / 472.4 MB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.576e-05/0.9737, allocations: 4 kB / 472.4 MB, free: 15.04 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003497/0.974, allocations: 176.5 kB / 472.6 MB, free: 14.86 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.765e-06/0.9741, allocations: 0 / 472.6 MB, free: 14.86 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009814/0.9751, allocations: 115.6 kB / 472.7 MB, free: 14.75 MB / 362.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.0002797/0.9754, allocations: 115.4 kB / 472.8 MB, free: 14.62 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002197/0.9776, allocations: 0.6994 MB / 473.5 MB, free: 13.88 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.68e-06/0.9776, allocations: 0 / 473.5 MB, free: 13.88 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006019/0.9782, allocations: 233.7 kB / 473.7 MB, free: 13.64 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005536/0.9788, allocations: 40.92 kB / 473.8 MB, free: 13.6 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001802/0.9806, allocations: 0.6218 MB / 474.4 MB, free: 12.95 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004675/0.9853, allocations: 0.7443 MB / 475.1 MB, free: 12.18 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002132/0.9856, allocations: 23.44 kB / 475.2 MB, free: 12.16 MB / 362.7 MB Notification: Performance of SimCode: time 2.054e-06/0.9856, allocations: 0 / 475.2 MB, free: 12.16 MB / 362.7 MB Notification: Performance of Templates: time 0.0126/0.9982, allocations: 3.894 MB / 479.1 MB, free: 8.27 MB / 362.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/jenkins1/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