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.001861/0.001861, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.002346/0.002346, allocations: 211.4 kB / 24.48 MB, free: 3.934 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.465/1.465, allocations: 230.5 MB / 258.1 MB, free: 7.777 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.003062/0.003062, allocations: 59.91 kB / 379 MB, free: 2.301 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2501/0.2532, allocations: 53.42 MB / 432.4 MB, free: 6.508 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.004521/0.2577, allocations: 2.774 MB / 435.2 MB, free: 3.723 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001595/0.2593, allocations: 0.7051 MB / 435.9 MB, free: 3.012 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000176/0.2594, allocations: 8 kB / 435.9 MB, free: 3.004 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001902/0.2596, allocations: 51.5 kB / 436 MB, free: 2.953 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002347/0.2599, allocations: 115.1 kB / 436.1 MB, free: 2.84 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002744/0.2601, allocations: 99.83 kB / 436.2 MB, free: 2.742 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004868/0.2606, allocations: 414.4 kB / 436.6 MB, free: 2.336 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002069/0.2608, allocations: 90.61 kB / 436.7 MB, free: 2.246 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002386/0.2611, allocations: 159.4 kB / 436.8 MB, free: 2.09 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002699/0.2614, allocations: 151.3 kB / 437 MB, free: 1.941 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.305e-05/0.2614, allocations: 44 kB / 437 MB, free: 1.898 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.727e-05/0.2615, allocations: 40 kB / 437 MB, free: 1.859 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.048e-05/0.2616, allocations: 79.7 kB / 437.1 MB, free: 1.781 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000175/0.2617, allocations: 159.2 kB / 437.3 MB, free: 1.625 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005313/0.2623, allocations: 462 kB / 437.7 MB, free: 1.176 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.2623, allocations: 0 / 437.7 MB, free: 1.176 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.2623, allocations: 0 / 437.7 MB, free: 1.176 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.2623, allocations: 0 / 437.7 MB, free: 1.176 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.001239/0.2635, allocations: 0.5975 MB / 438.3 MB, free: 0.543 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.2636, allocations: 19.92 kB / 438.3 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.175e-05/0.2636, allocations: 32.75 kB / 438.4 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004853/0.2641, allocations: 253.9 kB / 438.6 MB, free: 224 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.045e-05/0.2642, allocations: 21.03 kB / 438.6 MB, free: 200 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.141e-05/0.2642, allocations: 28.38 kB / 438.7 MB, free: 172 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007607/0.265, allocations: 367.5 kB / 439 MB, free: 15.79 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.265, allocations: 3.938 kB / 439 MB, free: 15.78 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.311e-05/0.265, allocations: 12 kB / 439 MB, free: 15.77 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.448e-06/0.265, allocations: 8 kB / 439.1 MB, free: 15.76 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006742/0.2657, allocations: 262.5 kB / 439.3 MB, free: 15.51 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001752/0.2674, allocations: 0.9246 MB / 440.2 MB, free: 14.52 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006484/0.2681, allocations: 198.7 kB / 440.4 MB, free: 14.32 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002768/0.2684, allocations: 88.8 kB / 440.5 MB, free: 14.23 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.505e-05/0.2684, allocations: 7.938 kB / 440.5 MB, free: 14.22 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000508/0.2689, allocations: 275.2 kB / 440.8 MB, free: 13.91 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.623e-06/0.2689, allocations: 0 / 440.8 MB, free: 13.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001675/0.2706, allocations: 449.9 kB / 441.2 MB, free: 13.46 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001026/0.2707, allocations: 132.5 kB / 441.4 MB, free: 13.3 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003345/0.271, allocations: 277.8 kB / 441.6 MB, free: 13.02 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.124e-05/0.271, allocations: 29.7 kB / 441.7 MB, free: 12.98 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001636/0.2712, allocations: 208 kB / 441.9 MB, free: 12.78 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.215e-05/0.2713, allocations: 51.58 kB / 441.9 MB, free: 12.73 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001037/0.2714, allocations: 49.7 kB / 442 MB, free: 12.67 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001633/0.2715, allocations: 342.8 kB / 442.3 MB, free: 12.33 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003185/0.2718, allocations: 121.6 kB / 442.4 MB, free: 12.2 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004364/0.2723, allocations: 303.6 kB / 442.7 MB, free: 11.84 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006394/0.2729, allocations: 286.5 kB / 443 MB, free: 11.52 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.2729, allocations: 4 kB / 443 MB, free: 11.51 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001038/0.274, allocations: 453.5 kB / 443.4 MB, free: 11.05 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.301e-05/0.274, allocations: 36.52 kB / 443.5 MB, free: 11.01 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.274, allocations: 4 kB / 443.5 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003763/0.2744, allocations: 84.78 kB / 443.6 MB, free: 10.92 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002142/0.2746, allocations: 47.84 kB / 443.6 MB, free: 10.87 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00251/0.2771, allocations: 1.846 MB / 445.5 MB, free: 8.922 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003311/0.2774, allocations: 51.75 kB / 445.5 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.405e-05/0.2775, allocations: 12 kB / 445.5 MB, free: 8.859 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.0001798/0.2777, allocations: 153.3 kB / 445.7 MB, free: 8.703 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.094e-05/0.2777, allocations: 23.86 kB / 445.7 MB, free: 8.68 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.832e-05/0.2778, allocations: 38.17 kB / 445.7 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.2778, allocations: 0 / 445.7 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.2778, allocations: 256 / 445.7 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.2778, allocations: 3.984 kB / 445.7 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002694/0.278, allocations: 229.1 kB / 446 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.278, allocations: 0 / 446 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001352/0.2782, allocations: 19.98 kB / 446 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000287/0.2785, allocations: 88.66 kB / 446.1 MB, free: 8.273 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.675e-05/0.2785, allocations: 4 kB / 446.1 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002219/0.2807, allocations: 1.823 MB / 447.9 MB, free: 6.344 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.2807, allocations: 0 / 447.9 MB, free: 6.344 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008395/0.2815, allocations: 325.4 kB / 448.2 MB, free: 6.004 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.493e-05/0.2816, allocations: 27.8 kB / 448.2 MB, free: 5.977 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.678e-05/0.2816, allocations: 4 kB / 448.2 MB, free: 5.973 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002341/0.2819, allocations: 35.95 kB / 448.3 MB, free: 5.938 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.109e-05/0.2819, allocations: 23.91 kB / 448.3 MB, free: 5.914 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.436e-05/0.282, allocations: 4 kB / 448.3 MB, free: 5.91 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002307/0.2822, allocations: 193.2 kB / 448.5 MB, free: 5.719 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2822, allocations: 0 / 448.5 MB, free: 5.719 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004524/0.2826, allocations: 91.83 kB / 448.6 MB, free: 5.629 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.0001504/0.2828, allocations: 99.25 kB / 448.7 MB, free: 5.52 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001017/0.2838, allocations: 451 kB / 449.1 MB, free: 5.051 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.2838, allocations: 0 / 449.1 MB, free: 5.051 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004746/0.2843, allocations: 234.5 kB / 449.3 MB, free: 4.809 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003608/0.2846, allocations: 43.22 kB / 449.4 MB, free: 4.77 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002025/0.2867, allocations: 0.6231 MB / 450 MB, free: 4.109 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001594/0.2868, allocations: 151.5 kB / 450.2 MB, free: 3.945 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.718e-05/0.2869, allocations: 23.42 kB / 450.2 MB, free: 3.922 MB / 350.1 MB Notification: Performance of SimCode: time 4.5e-07/0.2869, allocations: 0 / 450.2 MB, free: 3.922 MB / 350.1 MB Notification: Performance of Templates: time 0.008093/0.295, allocations: 5.039 MB / 455.2 MB, free: 14.9 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.213093091733754]