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.001611/0.001611, allocations: 109.1 kB / 21.19 MB, free: 0.7617 MB / 14.72 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.001835/0.001835, allocations: 217.7 kB / 24.5 MB, free: 4.133 MB / 14.72 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.451/1.451, allocations: 230.5 MB / 258.1 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001951/0.001951, allocations: 63.89 kB / 379.1 MB, free: 2.465 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2536/0.2555, allocations: 53.41 MB / 432.5 MB, free: 6.734 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.004276/0.2598, allocations: 2.992 MB / 435.5 MB, free: 3.73 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001355/0.2611, allocations: 0.7518 MB / 436.2 MB, free: 2.973 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001452/0.2613, allocations: 4 kB / 436.2 MB, free: 2.969 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001703/0.2615, allocations: 55.5 kB / 436.3 MB, free: 2.914 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000203/0.2617, allocations: 115 kB / 436.4 MB, free: 2.801 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002697/0.2619, allocations: 103.8 kB / 436.5 MB, free: 2.699 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004581/0.2624, allocations: 406.4 kB / 436.9 MB, free: 2.301 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002236/0.2626, allocations: 95.66 kB / 437 MB, free: 2.203 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002002/0.2628, allocations: 159.4 kB / 437.1 MB, free: 2.047 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002347/0.263, allocations: 175.2 kB / 437.3 MB, free: 1.875 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.997e-05/0.2631, allocations: 44 kB / 437.3 MB, free: 1.832 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.083e-05/0.2632, allocations: 44 kB / 437.4 MB, free: 1.789 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.415e-05/0.2633, allocations: 87.67 kB / 437.5 MB, free: 1.703 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001863/0.2634, allocations: 175.2 kB / 437.6 MB, free: 1.531 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005091/0.2639, allocations: 463.5 kB / 438.1 MB, free: 1.082 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.264, allocations: 3.938 kB / 438.1 MB, free: 1.078 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.264, allocations: 0 / 438.1 MB, free: 1.078 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.143e-06/0.264, allocations: 0 / 438.1 MB, free: 1.078 MB / 334.1 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.001195/0.2652, allocations: 0.6014 MB / 438.7 MB, free: 452 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.2652, allocations: 12.03 kB / 438.7 MB, free: 440 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.079e-05/0.2653, allocations: 32.75 kB / 438.7 MB, free: 408 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004328/0.2657, allocations: 245.9 kB / 439 MB, free: 136 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.175e-05/0.2657, allocations: 25.03 kB / 439 MB, free: 108 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.185e-05/0.2658, allocations: 28.36 kB / 439 MB, free: 80 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006566/0.2664, allocations: 290.4 kB / 439.3 MB, free: 15.79 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.2664, allocations: 0 / 439.3 MB, free: 15.79 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.241e-05/0.2665, allocations: 15.94 kB / 439.3 MB, free: 15.77 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/0.2665, allocations: 4 kB / 439.3 MB, free: 15.77 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006968/0.2672, allocations: 270.4 kB / 439.6 MB, free: 15.51 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001902/0.2691, allocations: 1.053 MB / 440.7 MB, free: 14.38 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006534/0.2697, allocations: 206.5 kB / 440.9 MB, free: 14.17 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002644/0.27, allocations: 96.78 kB / 441 MB, free: 14.07 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.612e-05/0.27, allocations: 4 kB / 441 MB, free: 14.07 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004197/0.2705, allocations: 181.4 kB / 441.1 MB, free: 13.87 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.312e-06/0.2705, allocations: 0 / 441.1 MB, free: 13.87 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001604/0.2721, allocations: 450.2 kB / 441.6 MB, free: 13.42 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.726e-05/0.2721, allocations: 132.5 kB / 441.7 MB, free: 13.26 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003254/0.2725, allocations: 285.8 kB / 442 MB, free: 12.97 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.141e-05/0.2725, allocations: 29.7 kB / 442 MB, free: 12.93 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001531/0.2727, allocations: 208 kB / 442.2 MB, free: 12.73 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.355e-05/0.2727, allocations: 51.53 kB / 442.3 MB, free: 12.68 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.676e-05/0.2728, allocations: 65.66 kB / 442.3 MB, free: 12.61 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.2729, allocations: 334.8 kB / 442.7 MB, free: 12.27 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00028/0.2732, allocations: 87.94 kB / 442.7 MB, free: 12.18 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003624/0.2736, allocations: 204.7 kB / 442.9 MB, free: 11.94 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006154/0.2742, allocations: 294.5 kB / 443.2 MB, free: 11.61 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.259e-06/0.2742, allocations: 3.938 kB / 443.2 MB, free: 11.61 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0009868/0.2752, allocations: 407.8 kB / 443.6 MB, free: 11.19 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.336e-05/0.2752, allocations: 36.2 kB / 443.7 MB, free: 11.15 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.2752, allocations: 7.984 kB / 443.7 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003664/0.2756, allocations: 84.89 kB / 443.8 MB, free: 11.06 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002125/0.2758, allocations: 43.97 kB / 443.8 MB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002456/0.2783, allocations: 1.884 MB / 445.7 MB, free: 9.016 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003396/0.2786, allocations: 51.8 kB / 445.7 MB, free: 8.965 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.341e-05/0.2786, allocations: 8 kB / 445.7 MB, free: 8.957 MB / 350.1 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 0.0001949/0.2788, allocations: 165.2 kB / 445.9 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.481e-05/0.2789, allocations: 27.81 kB / 445.9 MB, free: 8.762 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.523e-05/0.2789, allocations: 30.05 kB / 446 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.2789, allocations: 4 kB / 446 MB, free: 8.727 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.2789, allocations: 7.875 kB / 446 MB, free: 8.719 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.279, allocations: 0 / 446 MB, free: 8.719 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003266/0.2793, allocations: 300.5 kB / 446.3 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.2793, allocations: 0 / 446.3 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001455/0.2794, allocations: 27.91 kB / 446.3 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002847/0.2797, allocations: 76.78 kB / 446.4 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.6e-05/0.2797, allocations: 4 kB / 446.4 MB, free: 8.273 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002172/0.2819, allocations: 1.865 MB / 448.2 MB, free: 6.293 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.2819, allocations: 3.984 kB / 448.2 MB, free: 6.289 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008287/0.2827, allocations: 321.2 kB / 448.6 MB, free: 5.957 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.553e-05/0.2828, allocations: 27.8 kB / 448.6 MB, free: 5.93 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.978e-05/0.2828, allocations: 4 kB / 448.6 MB, free: 5.926 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002398/0.2831, allocations: 35.95 kB / 448.6 MB, free: 5.891 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.586e-05/0.2831, allocations: 27.91 kB / 448.6 MB, free: 5.863 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.39e-05/0.2832, allocations: 3.984 kB / 448.7 MB, free: 5.859 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002195/0.2834, allocations: 197.2 kB / 448.8 MB, free: 5.664 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2834, allocations: 0 / 448.8 MB, free: 5.664 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004467/0.2838, allocations: 83.89 kB / 448.9 MB, free: 5.582 MB / 350.1 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.0001419/0.284, allocations: 110.8 kB / 449 MB, free: 5.465 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009293/0.2849, allocations: 412.5 kB / 449.4 MB, free: 5.039 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/0.2849, allocations: 4.688 kB / 449.4 MB, free: 5.035 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004548/0.2854, allocations: 238.5 kB / 449.7 MB, free: 4.789 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003349/0.2857, allocations: 56.31 kB / 449.7 MB, free: 4.734 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00192/0.2876, allocations: 0.6268 MB / 450.4 MB, free: 4.07 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000395/0.288, allocations: 0.7638 MB / 451.1 MB, free: 3.277 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.798e-05/0.2881, allocations: 19.44 kB / 451.1 MB, free: 3.258 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.2881, allocations: 0 / 451.1 MB, free: 3.258 MB / 350.1 MB Notification: Performance of Templates: time 0.007755/0.2958, allocations: 4.992 MB / 456.1 MB, free: 14.29 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/NonInvertingAmplifier/NonInvertingAmplifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.458024519961327]