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.001571/0.00157, allocations: 181.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.065/2.065, allocations: 205.2 MB / 219.4 MB, free: 14.2 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.001073/0.001072, allocations: 78.66 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.998e-05/4.042e-05, allocations: 4 kB / 321.5 MB, free: 17.82 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1112, allocations: 47.58 MB / 369.1 MB, free: 2.176 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.397/0.5083, allocations: 79.16 MB / 448.3 MB, free: 14.02 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000278/0.5086, allocations: 81.88 kB / 448.3 MB, free: 13.97 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02553/0.5342, allocations: 5.482 MB / 453.8 MB, free: 9.273 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.5342, allocations: 4 kB / 453.8 MB, free: 9.27 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.058e-05/0.5343, allocations: 4 kB / 453.8 MB, free: 9.266 MB / 330.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.00131/0.5356, allocations: 0.5508 MB / 454.4 MB, free: 8.676 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.5356, allocations: 8.031 kB / 454.4 MB, free: 8.668 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001058/0.5358, allocations: 31.62 kB / 454.4 MB, free: 8.637 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004402/0.5362, allocations: 267.5 kB / 454.7 MB, free: 8.359 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.813e-05/0.5362, allocations: 15.89 kB / 454.7 MB, free: 8.348 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.171e-05/0.5363, allocations: 18.25 kB / 454.7 MB, free: 8.336 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004911/0.5368, allocations: 184.4 kB / 454.9 MB, free: 8.203 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.5369, allocations: 8 kB / 454.9 MB, free: 8.195 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.436e-05/0.5369, allocations: 7.062 kB / 454.9 MB, free: 8.195 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.061e-05/0.5369, allocations: 4 kB / 454.9 MB, free: 8.191 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004476/0.5374, allocations: 153.1 kB / 455.1 MB, free: 8.102 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002344/0.5397, allocations: 0.8873 MB / 456 MB, free: 7.285 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005829/0.5403, allocations: 146.5 kB / 456.1 MB, free: 7.176 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001607/0.5405, allocations: 56.67 kB / 456.2 MB, free: 7.137 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.305e-05/0.5406, allocations: 0 / 456.2 MB, free: 7.137 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003121/0.5409, allocations: 126.9 kB / 456.3 MB, free: 7.016 MB / 330.7 MB Notification: Performance of pre-optimization done (n=13): time 2.104e-06/0.5409, allocations: 0 / 456.3 MB, free: 7.016 MB / 330.7 MB Notification: Performance of matching and sorting (n=13): time 0.0007358/0.5417, allocations: 191.7 kB / 456.5 MB, free: 6.852 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.02e-05/0.5417, allocations: 85.11 kB / 456.5 MB, free: 6.75 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000344/0.5421, allocations: 229.1 kB / 456.8 MB, free: 6.559 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.401e-05/0.5421, allocations: 29.08 kB / 456.8 MB, free: 6.527 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001398/0.5423, allocations: 217.5 kB / 457 MB, free: 6.332 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.988e-05/0.5424, allocations: 44 kB / 457.1 MB, free: 6.297 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.777e-05/0.5424, allocations: 7.25 kB / 457.1 MB, free: 6.293 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001271/0.5425, allocations: 321.8 kB / 457.4 MB, free: 5.973 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000158/0.5427, allocations: 48.62 kB / 457.4 MB, free: 5.941 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002047/0.5429, allocations: 107.4 kB / 457.5 MB, free: 5.836 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001901/0.5431, allocations: 76.47 kB / 457.6 MB, free: 5.77 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.5431, allocations: 0 / 457.6 MB, free: 5.77 MB / 330.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008331/0.544, allocations: 290.2 kB / 457.9 MB, free: 5.523 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000269/0.5443, allocations: 0.6401 MB / 458.5 MB, free: 4.84 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.5443, allocations: 0 / 458.5 MB, free: 4.84 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000215/0.5445, allocations: 36.02 kB / 458.6 MB, free: 4.809 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004035/0.5449, allocations: 59.47 kB / 458.6 MB, free: 4.754 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004624/0.5454, allocations: 0.547 MB / 459.2 MB, free: 4.195 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005079/0.5459, allocations: 51.59 kB / 459.2 MB, free: 4.148 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.429e-05/0.546, allocations: 8 kB / 459.2 MB, free: 4.141 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/0.546, allocations: 3.984 kB / 459.2 MB, free: 4.137 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005325/0.5466, allocations: 212.2 kB / 459.4 MB, free: 3.973 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.888e-06/0.5466, allocations: 0 / 459.4 MB, free: 3.973 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.737e-05/0.5467, allocations: 24.48 kB / 459.5 MB, free: 3.949 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003843/0.5471, allocations: 55.52 kB / 459.5 MB, free: 3.898 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001241/0.5483, allocations: 1.374 MB / 460.9 MB, free: 2.441 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003646/0.5487, allocations: 39.44 kB / 460.9 MB, free: 2.406 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.538e-05/0.5488, allocations: 8 kB / 460.9 MB, free: 2.398 MB / 330.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 () * 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.000133/0.5489, allocations: 120.9 kB / 461.1 MB, free: 2.281 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.667e-05/0.549, allocations: 31.64 kB / 461.1 MB, free: 2.25 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.937e-05/0.5491, allocations: 24.09 kB / 461.1 MB, free: 2.234 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.5491, allocations: 0 / 461.1 MB, free: 2.234 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.5491, allocations: 3.938 kB / 461.1 MB, free: 2.23 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.5491, allocations: 0 / 461.1 MB, free: 2.23 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003568/0.5495, allocations: 284 kB / 461.4 MB, free: 1.945 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.5495, allocations: 0 / 461.4 MB, free: 1.945 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000351/0.5499, allocations: 43.91 kB / 461.4 MB, free: 1.902 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001483/0.55, allocations: 26.97 kB / 461.5 MB, free: 1.879 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.654e-05/0.5501, allocations: 11.7 kB / 461.5 MB, free: 1.871 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001441/0.5515, allocations: 1.358 MB / 462.8 MB, free: 456 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.5515, allocations: 0 / 462.8 MB, free: 456 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008305/0.5524, allocations: 289.5 kB / 463.1 MB, free: 208 kB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.911e-05/0.5525, allocations: 96.75 kB / 463.2 MB, free: 96 kB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.276e-05/0.5526, allocations: 8.078 kB / 463.2 MB, free: 92 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003894/0.553, allocations: 32.03 kB / 463.2 MB, free: 60 kB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001068/0.5531, allocations: 27.45 kB / 463.3 MB, free: 36 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.985e-05/0.5531, allocations: 4 kB / 463.3 MB, free: 32 kB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002519/0.5534, allocations: 170.6 kB / 463.4 MB, free: 15.89 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5534, allocations: 3.938 kB / 463.4 MB, free: 15.89 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006685/0.5541, allocations: 110.9 kB / 463.6 MB, free: 15.79 MB / 346.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) * 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.0001909/0.5543, allocations: 110.5 kB / 463.7 MB, free: 15.67 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0009336/0.5552, allocations: 443.5 kB / 464.1 MB, free: 15.27 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.5552, allocations: 0.75 kB / 464.1 MB, free: 15.27 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003303/0.5556, allocations: 180.9 kB / 464.3 MB, free: 15.11 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003674/0.556, allocations: 42.56 kB / 464.3 MB, free: 15.07 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00101/0.557, allocations: 358.3 kB / 464.7 MB, free: 14.72 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003326/0.5573, allocations: 0.7443 MB / 465.4 MB, free: 13.95 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001044/0.5575, allocations: 19.44 kB / 465.4 MB, free: 13.93 MB / 346.7 MB Notification: Performance of SimCode: time 9.62e-07/0.5575, allocations: 4 kB / 465.4 MB, free: 13.93 MB / 346.7 MB Notification: Performance of Templates: time 0.008357/0.5658, allocations: 3.767 MB / 469.2 MB, free: 10.19 MB / 346.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