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.001559/0.001559, allocations: 185.9 kB / 16.41 MB, free: 5.727 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.933/1.933, allocations: 205.4 MB / 222.5 MB, free: 9.141 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.001166/0.001166, allocations: 96.95 kB / 270.9 MB, free: 8.387 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003777/0.0003777, allocations: 8 kB / 327 MB, free: 224 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.332/0.3325, allocations: 47.58 MB / 374.6 MB, free: 45.4 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1291/0.4616, allocations: 79.26 MB / 453.8 MB, free: 1.523 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00031/0.462, allocations: 79.95 kB / 453.9 MB, free: 1.445 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02641/0.4884, allocations: 5.496 MB / 459.4 MB, free: 11.92 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.4885, allocations: 0 / 459.4 MB, free: 11.92 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.168e-05/0.4885, allocations: 4 kB / 459.4 MB, free: 11.92 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.001545/0.4901, allocations: 0.5872 MB / 460 MB, free: 11.27 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.4901, allocations: 12.03 kB / 460 MB, free: 11.26 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001012/0.4902, allocations: 27.72 kB / 460 MB, free: 11.23 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004542/0.4907, allocations: 263.7 kB / 460.3 MB, free: 10.94 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.058e-05/0.4908, allocations: 16.33 kB / 460.3 MB, free: 10.92 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.166e-05/0.4908, allocations: 20 kB / 460.3 MB, free: 10.9 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009929/0.4918, allocations: 252.4 kB / 460.6 MB, free: 10.65 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.4919, allocations: 0 / 460.6 MB, free: 10.65 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.387e-05/0.4919, allocations: 8 kB / 460.6 MB, free: 10.64 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.202e-05/0.4919, allocations: 8 kB / 460.6 MB, free: 10.63 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001362/0.4933, allocations: 275.2 kB / 460.8 MB, free: 10.37 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002404/0.4957, allocations: 0.8951 MB / 461.7 MB, free: 9.398 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001423/0.4972, allocations: 270.5 kB / 462 MB, free: 9.125 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.351e-05/0.4972, allocations: 0 / 462 MB, free: 9.125 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007328/0.498, allocations: 173 kB / 462.2 MB, free: 8.938 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 1.903e-06/0.498, allocations: 0 / 462.2 MB, free: 8.938 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.00303/0.501, allocations: 0.6045 MB / 462.8 MB, free: 8.305 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.888e-05/0.5011, allocations: 85.11 kB / 462.9 MB, free: 8.203 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003516/0.5015, allocations: 212.1 kB / 463.1 MB, free: 7.992 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.791e-05/0.5016, allocations: 29.7 kB / 463.1 MB, free: 7.957 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001552/0.5017, allocations: 218.4 kB / 463.3 MB, free: 7.742 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.933e-05/0.5018, allocations: 39.45 kB / 463.3 MB, free: 7.703 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.25e-05/0.5018, allocations: 4 kB / 463.3 MB, free: 7.699 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001268/0.502, allocations: 322.8 kB / 463.7 MB, free: 7.375 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005543/0.5025, allocations: 104.1 kB / 463.8 MB, free: 7.27 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006186/0.5032, allocations: 161.6 kB / 463.9 MB, free: 7.09 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005804/0.5038, allocations: 141.5 kB / 464.1 MB, free: 6.945 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.658e-06/0.5038, allocations: 3.938 kB / 464.1 MB, free: 6.941 MB / 346.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001714/0.5055, allocations: 403.8 kB / 464.5 MB, free: 6.531 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003262/0.5059, allocations: 0.6413 MB / 465.1 MB, free: 5.836 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/0.5059, allocations: 0 / 465.1 MB, free: 5.836 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003874/0.5063, allocations: 60.81 kB / 465.2 MB, free: 5.773 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004102/0.5067, allocations: 51.91 kB / 465.2 MB, free: 5.723 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007613/0.5075, allocations: 0.5914 MB / 465.8 MB, free: 5.105 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000508/0.508, allocations: 47.88 kB / 465.8 MB, free: 5.059 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.201e-05/0.5081, allocations: 8 kB / 465.9 MB, free: 5.051 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.5081, allocations: 4.219 kB / 465.9 MB, free: 5.047 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001193/0.5093, allocations: 295.4 kB / 466.1 MB, free: 4.75 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.5093, allocations: 7.922 kB / 466.2 MB, free: 4.742 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001051/0.5094, allocations: 24.84 kB / 466.2 MB, free: 4.715 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003956/0.5098, allocations: 56.06 kB / 466.2 MB, free: 4.66 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001379/0.5112, allocations: 1.393 MB / 467.6 MB, free: 3.133 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003853/0.5117, allocations: 39.81 kB / 467.7 MB, free: 3.094 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.411e-05/0.5117, allocations: 4 kB / 467.7 MB, free: 3.09 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.0002631/0.512, allocations: 217.2 kB / 467.9 MB, free: 2.867 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.594e-05/0.512, allocations: 27.66 kB / 467.9 MB, free: 2.84 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.211e-05/0.5121, allocations: 21.84 kB / 467.9 MB, free: 2.82 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.887e-06/0.5121, allocations: 4 kB / 467.9 MB, free: 2.816 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.5122, allocations: 0 / 467.9 MB, free: 2.816 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.682e-06/0.5122, allocations: 3.984 kB / 467.9 MB, free: 2.812 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003754/0.5126, allocations: 281.5 kB / 468.2 MB, free: 2.488 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.5126, allocations: 0 / 468.2 MB, free: 2.488 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003627/0.5129, allocations: 39.97 kB / 468.3 MB, free: 2.449 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002994/0.5133, allocations: 48.81 kB / 468.3 MB, free: 2.398 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.912e-05/0.5133, allocations: 11.95 kB / 468.3 MB, free: 2.387 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002477/0.5158, allocations: 1.504 MB / 469.8 MB, free: 0.75 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.5158, allocations: 0 / 469.8 MB, free: 0.75 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002112/0.518, allocations: 468.3 kB / 470.3 MB, free: 280 kB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001018/0.5181, allocations: 96.94 kB / 470.4 MB, free: 164 kB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.874e-05/0.5181, allocations: 4 kB / 470.4 MB, free: 160 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004024/0.5186, allocations: 36.03 kB / 470.4 MB, free: 124 kB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/0.5187, allocations: 19.97 kB / 470.4 MB, free: 104 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.214e-05/0.5187, allocations: 8 kB / 470.4 MB, free: 96 kB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002965/0.519, allocations: 172.5 kB / 470.6 MB, free: 15.92 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.519, allocations: 0 / 470.6 MB, free: 15.92 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006719/0.5197, allocations: 107.7 kB / 470.7 MB, free: 15.82 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.0001895/0.5199, allocations: 119 kB / 470.8 MB, free: 15.69 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002066/0.522, allocations: 0.5917 MB / 471.4 MB, free: 15.06 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.522, allocations: 0 / 471.4 MB, free: 15.06 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007303/0.5228, allocations: 230.9 kB / 471.6 MB, free: 14.82 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004242/0.5232, allocations: 44.92 kB / 471.7 MB, free: 14.78 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001606/0.5248, allocations: 0.6011 MB / 472.3 MB, free: 14.15 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003783/0.5252, allocations: 0.7482 MB / 473 MB, free: 13.38 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001146/0.5254, allocations: 23.36 kB / 473.1 MB, free: 13.35 MB / 362.7 MB Notification: Performance of SimCode: time 1.192e-06/0.5254, allocations: 0 / 473.1 MB, free: 13.35 MB / 362.7 MB Notification: Performance of Templates: time 0.008649/0.534, allocations: 3.762 MB / 476.8 MB, free: 9.613 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