Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001468/0.001468, allocations: 109 kB / 21.23 MB, free: 0.6641 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.001722/0.001722, allocations: 213.6 kB / 24.54 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.467/1.467, allocations: 230.6 MB / 258.3 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002118/0.002118, allocations: 64.56 kB / 379.1 MB, free: 2.621 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2645/0.2666, allocations: 53.37 MB / 432.4 MB, free: 6.941 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.004956/0.2715, allocations: 2.976 MB / 435.4 MB, free: 3.953 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001796/0.2733, allocations: 0.7751 MB / 436.2 MB, free: 3.172 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002237/0.2736, allocations: 11.88 kB / 436.2 MB, free: 3.16 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002321/0.2738, allocations: 55.5 kB / 436.3 MB, free: 3.105 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002477/0.274, allocations: 95.19 kB / 436.3 MB, free: 3.012 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004015/0.2744, allocations: 123.8 kB / 436.5 MB, free: 2.891 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004863/0.2749, allocations: 414.4 kB / 436.9 MB, free: 2.484 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002138/0.2751, allocations: 94.62 kB / 437 MB, free: 2.391 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002043/0.2754, allocations: 159.5 kB / 437.1 MB, free: 2.234 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002312/0.2756, allocations: 175.2 kB / 437.3 MB, free: 2.062 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.443e-05/0.2756, allocations: 40 kB / 437.3 MB, free: 2.023 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.847e-05/0.2757, allocations: 40 kB / 437.4 MB, free: 1.984 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.136e-05/0.2758, allocations: 87.67 kB / 437.5 MB, free: 1.898 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001767/0.276, allocations: 175.1 kB / 437.6 MB, free: 1.727 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005428/0.2765, allocations: 446 kB / 438.1 MB, free: 1.293 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.2765, allocations: 0 / 438.1 MB, free: 1.293 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2765, allocations: 0 / 438.1 MB, free: 1.293 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.364e-06/0.2765, allocations: 4 kB / 438.1 MB, free: 1.289 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001365/0.2779, allocations: 0.613 MB / 438.7 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.2779, allocations: 8.031 kB / 438.7 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.791e-05/0.278, allocations: 40.7 kB / 438.7 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004636/0.2785, allocations: 249.8 kB / 439 MB, free: 332 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.931e-05/0.2785, allocations: 20.88 kB / 439 MB, free: 312 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.054e-05/0.2786, allocations: 24.36 kB / 439 MB, free: 288 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007417/0.2793, allocations: 331.1 kB / 439.3 MB, free: 15.94 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.2793, allocations: 0 / 439.3 MB, free: 15.94 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.927e-05/0.2793, allocations: 8 kB / 439.3 MB, free: 15.93 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.938e-06/0.2793, allocations: 8 kB / 439.4 MB, free: 15.93 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007746/0.2801, allocations: 289.7 kB / 439.6 MB, free: 15.64 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001933/0.2821, allocations: 1.092 MB / 440.7 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007894/0.2828, allocations: 246.5 kB / 441 MB, free: 14.23 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000325/0.2832, allocations: 104.8 kB / 441.1 MB, free: 14.12 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.57e-05/0.2832, allocations: 0 / 441.1 MB, free: 14.12 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004868/0.2837, allocations: 185.8 kB / 441.3 MB, free: 13.92 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.373e-06/0.2837, allocations: 0 / 441.3 MB, free: 13.92 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.002174/0.2859, allocations: 0.5906 MB / 441.8 MB, free: 13.32 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.668e-05/0.2859, allocations: 106.8 kB / 442 MB, free: 13.2 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003414/0.2863, allocations: 289.7 kB / 442.2 MB, free: 12.9 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.989e-05/0.2863, allocations: 33.64 kB / 442.3 MB, free: 12.86 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001502/0.2865, allocations: 204 kB / 442.5 MB, free: 12.66 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.373e-05/0.2865, allocations: 51.61 kB / 442.5 MB, free: 12.61 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001095/0.2866, allocations: 53.89 kB / 442.6 MB, free: 12.54 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.2868, allocations: 334.8 kB / 442.9 MB, free: 12.21 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003469/0.2871, allocations: 104.2 kB / 443 MB, free: 12.11 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004187/0.2875, allocations: 214 kB / 443.2 MB, free: 11.85 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006972/0.2882, allocations: 320.6 kB / 443.5 MB, free: 11.49 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.2882, allocations: 0 / 443.5 MB, free: 11.49 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001278/0.2895, allocations: 485.4 kB / 444 MB, free: 11.01 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.217e-05/0.2896, allocations: 37.7 kB / 444 MB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.2896, allocations: 4 kB / 444 MB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003949/0.29, allocations: 84.86 kB / 444.1 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002146/0.2902, allocations: 51.89 kB / 444.2 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002901/0.2931, allocations: 1.964 MB / 446.1 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003206/0.2934, allocations: 51.94 kB / 446.2 MB, free: 8.695 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.742e-05/0.2934, allocations: 20.05 kB / 446.2 MB, free: 8.676 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 5 (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 (24): * Single equations (assignments): 22 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001864/0.2936, allocations: 157.7 kB / 446.4 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.891e-05/0.2936, allocations: 19.86 kB / 446.4 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.574e-05/0.2937, allocations: 29.77 kB / 446.4 MB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.2937, allocations: 0 / 446.4 MB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.334e-06/0.2937, allocations: 0 / 446.4 MB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.2937, allocations: 4 kB / 446.4 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003169/0.294, allocations: 300.4 kB / 446.7 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.294, allocations: 8 kB / 446.7 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001281/0.2942, allocations: 15.98 kB / 446.7 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002608/0.2944, allocations: 76.8 kB / 446.8 MB, free: 8.02 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.061e-05/0.2944, allocations: 8 kB / 446.8 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00245/0.2969, allocations: 1.879 MB / 448.7 MB, free: 6.02 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2969, allocations: 128 / 448.7 MB, free: 6.02 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000997/0.2979, allocations: 369.6 kB / 449 MB, free: 5.637 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.942e-05/0.2979, allocations: 27.84 kB / 449.1 MB, free: 5.609 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.515e-05/0.298, allocations: 8 kB / 449.1 MB, free: 5.602 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002363/0.2982, allocations: 35.89 kB / 449.1 MB, free: 5.566 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.878e-05/0.2983, allocations: 15.97 kB / 449.1 MB, free: 5.551 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.292e-05/0.2983, allocations: 11.94 kB / 449.1 MB, free: 5.539 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002116/0.2985, allocations: 205.2 kB / 449.3 MB, free: 5.34 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2985, allocations: 0 / 449.3 MB, free: 5.34 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004236/0.2989, allocations: 83.84 kB / 449.4 MB, free: 5.258 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: 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 (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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001368/0.2991, allocations: 103.1 kB / 449.5 MB, free: 5.145 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00127/0.3003, allocations: 489.8 kB / 450 MB, free: 4.641 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.3003, allocations: 0 / 450 MB, free: 4.641 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005098/0.3008, allocations: 247.1 kB / 450.2 MB, free: 4.387 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003503/0.3012, allocations: 36.48 kB / 450.3 MB, free: 4.352 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002881/0.3041, allocations: 0.9407 MB / 451.2 MB, free: 3.391 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003754/0.3045, allocations: 0.7558 MB / 452 MB, free: 2.609 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001555/0.3046, allocations: 26.28 kB / 452 MB, free: 2.582 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.067e-05/0.3047, allocations: 19.44 kB / 452 MB, free: 2.562 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3047, allocations: 0 / 452 MB, free: 2.562 MB / 350.1 MB Notification: Performance of Templates: time 0.009104/0.3138, allocations: 4.335 MB / 456.4 MB, free: 14.26 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 4.5898143267259]