Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.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.NonInvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009187/0.0009187, allocations: 182.6 kB / 18.04 MB, free: 3.785 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.36/1.36, allocations: 205.4 MB / 224.2 MB, free: 9.043 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.000754/0.0007541, allocations: 81.75 kB / 272.5 MB, free: 8.293 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003269/0.000327, allocations: 8 kB / 329.5 MB, free: 15.29 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2474/0.2477, allocations: 47.58 MB / 377 MB, free: 45.65 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09267/0.3404, allocations: 79.17 MB / 456.2 MB, free: 1.41 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002232/0.3407, allocations: 79.95 kB / 456.3 MB, free: 1.332 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01648/0.3572, allocations: 5.699 MB / 462 MB, free: 11.61 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3572, allocations: 0 / 462 MB, free: 11.61 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.867e-05/0.3573, allocations: 4 kB / 462 MB, free: 11.61 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001079/0.3583, allocations: 0.5952 MB / 462.6 MB, free: 10.95 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.3584, allocations: 12.03 kB / 462.6 MB, free: 10.94 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.822e-05/0.3585, allocations: 36.56 kB / 462.6 MB, free: 10.91 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003559/0.3589, allocations: 272.2 kB / 462.9 MB, free: 10.6 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.723e-05/0.3589, allocations: 12.81 kB / 462.9 MB, free: 10.59 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.755e-05/0.3589, allocations: 24.38 kB / 462.9 MB, free: 10.57 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006204/0.3596, allocations: 255.8 kB / 463.2 MB, free: 10.31 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.3596, allocations: 4.125 kB / 463.2 MB, free: 10.3 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.899e-05/0.3596, allocations: 15.94 kB / 463.2 MB, free: 10.29 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.3596, allocations: 4 kB / 463.2 MB, free: 10.29 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000727/0.3604, allocations: 293.5 kB / 463.5 MB, free: 10 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001497/0.3619, allocations: 0.9322 MB / 464.4 MB, free: 8.992 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006865/0.3626, allocations: 266.6 kB / 464.7 MB, free: 8.723 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002743/0.3629, allocations: 116.7 kB / 464.8 MB, free: 8.605 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.633e-05/0.3629, allocations: 4 kB / 464.8 MB, free: 8.602 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004476/0.3634, allocations: 185.8 kB / 465 MB, free: 8.398 MB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 1.743e-06/0.3634, allocations: 4 kB / 465 MB, free: 8.395 MB / 346.7 MB Notification: Performance of matching and sorting (n=14): time 0.001889/0.3653, allocations: 0.7097 MB / 465.7 MB, free: 7.656 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.77e-05/0.3654, allocations: 110.8 kB / 465.8 MB, free: 7.523 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002529/0.3656, allocations: 262.6 kB / 466.1 MB, free: 7.262 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.347e-05/0.3656, allocations: 29.7 kB / 466.1 MB, free: 7.227 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/0.3658, allocations: 183.7 kB / 466.3 MB, free: 7.043 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.526e-05/0.3658, allocations: 39.45 kB / 466.3 MB, free: 7.004 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.094e-05/0.3658, allocations: 4 kB / 466.3 MB, free: 7 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001087/0.3659, allocations: 334.8 kB / 466.6 MB, free: 6.664 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002957/0.3662, allocations: 115.9 kB / 466.8 MB, free: 6.551 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003212/0.3666, allocations: 182.9 kB / 466.9 MB, free: 6.34 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005944/0.3672, allocations: 307.4 kB / 467.2 MB, free: 6.008 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.3672, allocations: 4 kB / 467.2 MB, free: 6.004 MB / 346.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001065/0.3683, allocations: 479.6 kB / 467.7 MB, free: 5.52 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00021/0.3685, allocations: 175.6 kB / 467.9 MB, free: 5.312 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.3685, allocations: 4 kB / 467.9 MB, free: 5.309 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002894/0.3688, allocations: 80.78 kB / 468 MB, free: 5.227 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001935/0.369, allocations: 47.91 kB / 468 MB, free: 5.18 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002014/0.371, allocations: 1.818 MB / 469.8 MB, free: 3.227 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003025/0.3713, allocations: 51.81 kB / 469.9 MB, free: 3.176 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.056e-05/0.3714, allocations: 8 kB / 469.9 MB, free: 3.168 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.785e-06/0.3714, allocations: 8.062 kB / 469.9 MB, free: 3.16 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007051/0.3721, allocations: 340.5 kB / 470.2 MB, free: 2.82 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.3721, allocations: 4 kB / 470.2 MB, free: 2.816 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.973e-05/0.3722, allocations: 36.84 kB / 470.3 MB, free: 2.777 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001872/0.3724, allocations: 51.94 kB / 470.3 MB, free: 2.727 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00107/0.3735, allocations: 1.546 MB / 471.9 MB, free: 1.043 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002594/0.3738, allocations: 43.81 kB / 471.9 MB, free: 1 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.786e-05/0.3738, allocations: 16.06 kB / 471.9 MB, free: 0.9844 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 5} Notification: Performance of prepare postOptimizeDAE: time 0.0001557/0.3739, allocations: 212.8 kB / 472.1 MB, free: 0.7656 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.277e-05/0.374, allocations: 23.72 kB / 472.1 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.538e-05/0.374, allocations: 25.83 kB / 472.2 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.3741, allocations: 7.938 kB / 472.2 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.3741, allocations: 3.984 kB / 472.2 MB, free: 0.707 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.3741, allocations: 3.984 kB / 472.2 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003088/0.3744, allocations: 285.4 kB / 472.5 MB, free: 384 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.3744, allocations: 4 kB / 472.5 MB, free: 380 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001405/0.3745, allocations: 31.98 kB / 472.5 MB, free: 348 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001934/0.3748, allocations: 72.8 kB / 472.6 MB, free: 272 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.405e-05/0.3748, allocations: 4 kB / 472.6 MB, free: 268 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001646/0.3764, allocations: 1.737 MB / 474.3 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3764, allocations: 3.938 kB / 474.3 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000803/0.3773, allocations: 375.7 kB / 474.7 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.464e-05/0.3773, allocations: 100.8 kB / 474.8 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.583e-05/0.3774, allocations: 11.94 kB / 474.8 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002287/0.3776, allocations: 43.95 kB / 474.8 MB, free: 13.83 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.305e-05/0.3777, allocations: 19.97 kB / 474.9 MB, free: 13.81 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.27e-05/0.3777, allocations: 4 kB / 474.9 MB, free: 13.81 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001741/0.3779, allocations: 189.9 kB / 475 MB, free: 13.62 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3779, allocations: 0 / 475 MB, free: 13.62 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005796/0.3785, allocations: 127.8 kB / 475.2 MB, free: 13.5 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (9): * Single equations (assignments): 6 * 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 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001457/0.3786, allocations: 107.1 kB / 475.3 MB, free: 13.39 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001446/0.3801, allocations: 0.7974 MB / 476.1 MB, free: 12.54 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3801, allocations: 0 / 476.1 MB, free: 12.54 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004349/0.3805, allocations: 255 kB / 476.3 MB, free: 12.28 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003264/0.3809, allocations: 40.53 kB / 476.4 MB, free: 12.24 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001912/0.3828, allocations: 0.8853 MB / 477.2 MB, free: 11.32 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003244/0.3831, allocations: 0.7562 MB / 478 MB, free: 10.54 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000153/0.3833, allocations: 30.27 kB / 478 MB, free: 10.51 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.248e-05/0.3834, allocations: 19.44 kB / 478.1 MB, free: 10.49 MB / 362.7 MB Notification: Performance of SimCode: time 3.61e-07/0.3834, allocations: 0 / 478.1 MB, free: 10.49 MB / 362.7 MB Notification: Performance of Templates: time 0.007312/0.3907, allocations: 3.776 MB / 481.8 MB, free: 6.742 MB / 362.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/NonInvertingAmp/NonInvertingAmp.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches