Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001332/0.001332, allocations: 88.73 kB / 21.5 MB, free: 2.984 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001655/0.001655, allocations: 164.2 kB / 24.91 MB, free: 8.762 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.005/1.005, allocations: 177 MB / 205.2 MB, free: 5.047 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|buffer.opAmp.out.v|buffer.opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|buffer.opAmp.out.v|buffer.opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.784e-06/1.784e-06, allocations: 3.938 kB / 273.5 MB, free: 0.9922 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.998e-05/3.176e-05, allocations: 2.312 kB / 273.5 MB, free: 0.9883 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.003876/0.003908, allocations: 2.985 MB / 276.5 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001378/0.005285, allocations: 0.7554 MB / 277.2 MB, free: 13.22 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000146/0.005431, allocations: 4 kB / 277.2 MB, free: 13.22 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001477/0.005579, allocations: 47.5 kB / 277.3 MB, free: 13.17 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001783/0.005757, allocations: 119 kB / 277.4 MB, free: 13.05 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002512/0.006009, allocations: 107.8 kB / 277.5 MB, free: 12.95 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003396/0.006348, allocations: 422.2 kB / 277.9 MB, free: 12.54 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001679/0.006516, allocations: 90.3 kB / 278 MB, free: 12.44 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002317/0.006748, allocations: 239.4 kB / 278.2 MB, free: 12.21 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001584/0.006906, allocations: 135.6 kB / 278.3 MB, free: 12.07 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.01e-05/0.006956, allocations: 44 kB / 278.4 MB, free: 12.03 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.289e-05/0.006999, allocations: 40 kB / 278.4 MB, free: 11.99 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.52e-05/0.007055, allocations: 83.67 kB / 278.5 MB, free: 11.91 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001017/0.007156, allocations: 131.7 kB / 278.6 MB, free: 11.78 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002918/0.007448, allocations: 259.1 kB / 278.9 MB, free: 11.53 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.007453, allocations: 4 kB / 278.9 MB, free: 11.52 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.007454, allocations: 0 / 278.9 MB, free: 11.52 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.007461, allocations: 0 / 278.9 MB, free: 11.52 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0007512/0.008212, allocations: 0.5688 MB / 279.5 MB, free: 10.93 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.008248, allocations: 11.98 kB / 279.5 MB, free: 10.91 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.592e-05/0.008314, allocations: 44.91 kB / 279.5 MB, free: 10.87 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002505/0.008565, allocations: 201.2 kB / 279.7 MB, free: 10.65 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.903e-05/0.008584, allocations: 21.03 kB / 279.7 MB, free: 10.63 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.428e-05/0.008608, allocations: 28.38 kB / 279.8 MB, free: 10.6 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002759/0.008884, allocations: 272.4 kB / 280 MB, free: 10.31 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.008894, allocations: 4.188 kB / 280 MB, free: 10.3 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.557e-05/0.00891, allocations: 8.375 kB / 280 MB, free: 10.3 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.064e-05/0.008921, allocations: 11.94 kB / 280.1 MB, free: 10.29 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.367e-05/0.009014, allocations: 72.48 kB / 280.1 MB, free: 10.21 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008538/0.009868, allocations: 0.7479 MB / 280.9 MB, free: 9.418 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001656/0.01003, allocations: 94.47 kB / 281 MB, free: 9.316 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.211e-05/0.01008, allocations: 37.09 kB / 281 MB, free: 9.277 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.048e-05/0.0101, allocations: 7.938 kB / 281 MB, free: 9.27 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000175/0.01027, allocations: 203.8 kB / 281.2 MB, free: 9.027 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 1.262e-06/0.01027, allocations: 0 / 281.2 MB, free: 9.027 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.000489/0.01076, allocations: 229 kB / 281.4 MB, free: 8.797 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.284e-05/0.01081, allocations: 140.5 kB / 281.6 MB, free: 8.629 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001438/0.01096, allocations: 241 kB / 281.8 MB, free: 8.379 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.067e-05/0.01098, allocations: 25.7 kB / 281.8 MB, free: 8.348 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.92e-05/0.01106, allocations: 192.4 kB / 282 MB, free: 8.156 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.778e-05/0.01109, allocations: 59.52 kB / 282.1 MB, free: 8.098 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.954e-05/0.01115, allocations: 57.67 kB / 282.1 MB, free: 8.035 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.624e-05/0.01122, allocations: 330.8 kB / 282.5 MB, free: 7.703 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.725e-05/0.01127, allocations: 49.69 kB / 282.5 MB, free: 7.648 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001098/0.01138, allocations: 247.5 kB / 282.7 MB, free: 7.336 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001322/0.01151, allocations: 175.8 kB / 282.9 MB, free: 7.121 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.746e-06/0.01151, allocations: 0 / 282.9 MB, free: 7.121 MB / 266.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0002697/0.01178, allocations: 268.8 kB / 283.2 MB, free: 6.84 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.073e-05/0.01181, allocations: 33.7 kB / 283.2 MB, free: 6.801 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.01182, allocations: 4 kB / 283.2 MB, free: 6.797 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002528/0.01207, allocations: 76.81 kB / 283.3 MB, free: 6.719 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001034/0.01218, allocations: 47.91 kB / 283.3 MB, free: 6.672 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00108/0.01326, allocations: 1.541 MB / 284.9 MB, free: 5.035 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001426/0.0134, allocations: 47.8 kB / 284.9 MB, free: 4.988 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.417e-05/0.01341, allocations: 11.98 kB / 284.9 MB, free: 4.977 MB / 266.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: 7 (buffer.opAmp.satNeg,buffer.opAmp.satPos,vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 8.491e-05/0.0135, allocations: 125.8 kB / 285.1 MB, free: 4.844 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.426e-05/0.01352, allocations: 23.92 kB / 285.1 MB, free: 4.82 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.799e-05/0.01355, allocations: 30.11 kB / 285.1 MB, free: 4.789 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.01355, allocations: 0 / 285.1 MB, free: 4.789 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.01355, allocations: 0 / 285.1 MB, free: 4.789 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.01356, allocations: 4 kB / 285.1 MB, free: 4.785 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001226/0.01368, allocations: 157.7 kB / 285.3 MB, free: 4.613 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.01368, allocations: 0 / 285.3 MB, free: 4.613 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.729e-05/0.01373, allocations: 15.98 kB / 285.3 MB, free: 4.598 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001848/0.01391, allocations: 84.66 kB / 285.4 MB, free: 4.512 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.389e-05/0.01393, allocations: 8.109 kB / 285.4 MB, free: 4.504 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00085/0.01478, allocations: 1.518 MB / 286.9 MB, free: 2.898 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.01478, allocations: 0 / 286.9 MB, free: 2.898 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001861/0.01497, allocations: 169.7 kB / 287.1 MB, free: 2.711 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.387e-05/0.01499, allocations: 27.73 kB / 287.1 MB, free: 2.684 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.159e-05/0.01501, allocations: 8 kB / 287.1 MB, free: 2.676 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.357e-05/0.01508, allocations: 15.98 kB / 287.1 MB, free: 2.66 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.495e-05/0.01514, allocations: 27.95 kB / 287.1 MB, free: 2.633 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-06/0.01515, allocations: 4.25 kB / 287.1 MB, free: 2.629 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.596e-05/0.01521, allocations: 82.77 kB / 287.2 MB, free: 2.547 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01521, allocations: 3.938 kB / 287.2 MB, free: 2.543 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002594/0.01547, allocations: 87.89 kB / 287.3 MB, free: 2.457 MB / 266.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: 5 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count,buffer.opAmp.satPos,buffer.opAmp.satNeg) * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001106/0.01558, allocations: 84.41 kB / 287.4 MB, free: 2.363 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003242/0.01591, allocations: 319.4 kB / 287.7 MB, free: 2.02 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.945e-06/0.01592, allocations: 4 kB / 287.7 MB, free: 2.016 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001428/0.01606, allocations: 196 kB / 287.9 MB, free: 1.809 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001741/0.01623, allocations: 55.22 kB / 288 MB, free: 1.758 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009057/0.01714, allocations: 0.5088 MB / 288.5 MB, free: 1.223 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.809e-05/0.01719, allocations: 92.3 kB / 288.6 MB, free: 1.113 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.575e-05/0.01726, allocations: 26.28 kB / 288.6 MB, free: 1.086 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001275/0.01739, allocations: 99.34 kB / 288.7 MB, free: 0.9883 MB / 266.7 MB Notification: Performance of SimCode: time 1.202e-06/0.01739, allocations: 0 / 288.7 MB, free: 0.9883 MB / 266.7 MB Notification: Performance of Templates: time 0.1037/0.1211, allocations: 4.56 MB / 293.2 MB, free: 25.25 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/NonInvertingAmplifier/NonInvertingAmplifier.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.677440624218434]