Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001329/0.001329, allocations: 112.2 kB / 21.19 MB, free: 0.7578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0014/0.0014, allocations: 209.8 kB / 24.49 MB, free: 4.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.41/1.41, allocations: 230.6 MB / 258.3 MB, free: 7.996 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001661/0.001661, allocations: 51.92 kB / 379.1 MB, free: 2.582 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2491/0.2507, allocations: 53.37 MB / 432.4 MB, free: 6.895 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.004292/0.255, allocations: 2.98 MB / 435.4 MB, free: 3.906 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001361/0.2564, allocations: 0.7635 MB / 436.2 MB, free: 3.137 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001488/0.2565, allocations: 4 kB / 436.2 MB, free: 3.133 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000174/0.2567, allocations: 51.52 kB / 436.2 MB, free: 3.082 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001995/0.2569, allocations: 107.2 kB / 436.3 MB, free: 2.977 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002961/0.2572, allocations: 115.8 kB / 436.4 MB, free: 2.863 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004671/0.2577, allocations: 422.4 kB / 436.9 MB, free: 2.449 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001951/0.2579, allocations: 87.33 kB / 436.9 MB, free: 2.363 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002062/0.2581, allocations: 167.4 kB / 437.1 MB, free: 2.199 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002271/0.2583, allocations: 175.2 kB / 437.3 MB, free: 2.027 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.998e-05/0.2584, allocations: 40 kB / 437.3 MB, free: 1.988 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.905e-05/0.2584, allocations: 44 kB / 437.4 MB, free: 1.945 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.826e-05/0.2585, allocations: 83.69 kB / 437.4 MB, free: 1.863 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001775/0.2587, allocations: 171.2 kB / 437.6 MB, free: 1.695 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004937/0.2592, allocations: 456.8 kB / 438.1 MB, free: 1.25 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.2592, allocations: 3.984 kB / 438.1 MB, free: 1.246 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2592, allocations: 0 / 438.1 MB, free: 1.246 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.2592, allocations: 0 / 438.1 MB, free: 1.246 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.001286/0.2605, allocations: 0.6014 MB / 438.7 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.339e-05/0.2605, allocations: 11.97 kB / 438.7 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.39e-05/0.2606, allocations: 40.7 kB / 438.7 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004261/0.261, allocations: 253.8 kB / 439 MB, free: 292 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.524e-05/0.261, allocations: 20.88 kB / 439 MB, free: 272 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.298e-05/0.2611, allocations: 24.38 kB / 439 MB, free: 248 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007212/0.2618, allocations: 327 kB / 439.3 MB, free: 15.91 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.2618, allocations: 4 kB / 439.3 MB, free: 15.91 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.001e-05/0.2619, allocations: 8 kB / 439.3 MB, free: 15.9 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.084e-05/0.2619, allocations: 11.98 kB / 439.3 MB, free: 15.89 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008027/0.2627, allocations: 281.8 kB / 439.6 MB, free: 15.61 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001876/0.2645, allocations: 1.104 MB / 440.7 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007994/0.2653, allocations: 234.6 kB / 441 MB, free: 14.2 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003283/0.2657, allocations: 104.8 kB / 441.1 MB, free: 14.09 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.121e-05/0.2657, allocations: 0 / 441.1 MB, free: 14.09 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004794/0.2662, allocations: 193.8 kB / 441.2 MB, free: 13.88 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.253e-06/0.2662, allocations: 0 / 441.2 MB, free: 13.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.002247/0.2684, allocations: 0.5877 MB / 441.8 MB, free: 13.28 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.867e-05/0.2685, allocations: 106.8 kB / 441.9 MB, free: 13.15 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003312/0.2688, allocations: 285.8 kB / 442.2 MB, free: 12.86 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.012e-05/0.2689, allocations: 33.7 kB / 442.3 MB, free: 12.82 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001454/0.269, allocations: 200 kB / 442.4 MB, free: 12.62 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.299e-05/0.269, allocations: 47.62 kB / 442.5 MB, free: 12.57 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.507e-05/0.2691, allocations: 50.11 kB / 442.5 MB, free: 12.52 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001484/0.2693, allocations: 338.8 kB / 442.9 MB, free: 12.18 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003427/0.2696, allocations: 108.1 kB / 443 MB, free: 12.07 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004341/0.2701, allocations: 217.9 kB / 443.2 MB, free: 11.81 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007075/0.2708, allocations: 312.7 kB / 443.5 MB, free: 11.46 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.2708, allocations: 0 / 443.5 MB, free: 11.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001239/0.272, allocations: 483.7 kB / 444 MB, free: 10.97 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.974e-05/0.2721, allocations: 37.77 kB / 444 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.918e-06/0.2721, allocations: 8 kB / 444 MB, free: 10.92 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003737/0.2724, allocations: 84.73 kB / 444.1 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002134/0.2727, allocations: 51.97 kB / 444.1 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002993/0.2756, allocations: 1.968 MB / 446.1 MB, free: 8.703 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003334/0.276, allocations: 51.81 kB / 446.2 MB, free: 8.652 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.422e-05/0.276, allocations: 12 kB / 446.2 MB, free: 8.641 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.0001743/0.2762, allocations: 157.6 kB / 446.3 MB, free: 8.477 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.767e-05/0.2762, allocations: 27.92 kB / 446.4 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.19e-05/0.2763, allocations: 29.77 kB / 446.4 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.2763, allocations: 0 / 446.4 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-06/0.2763, allocations: 0 / 446.4 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.2763, allocations: 4 kB / 446.4 MB, free: 8.414 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00031/0.2766, allocations: 292.4 kB / 446.7 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.2766, allocations: 128 / 446.7 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001335/0.2767, allocations: 27.97 kB / 446.7 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002803/0.277, allocations: 84.8 kB / 446.8 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.535e-05/0.277, allocations: 4 kB / 446.8 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002497/0.2795, allocations: 1.871 MB / 448.7 MB, free: 5.984 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.2795, allocations: 4.109 kB / 448.7 MB, free: 5.98 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001064/0.2806, allocations: 367.8 kB / 449 MB, free: 5.602 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.125e-05/0.2806, allocations: 23.84 kB / 449 MB, free: 5.578 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.752e-05/0.2807, allocations: 8 kB / 449.1 MB, free: 5.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002384/0.2809, allocations: 39.89 kB / 449.1 MB, free: 5.531 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.562e-05/0.281, allocations: 23.91 kB / 449.1 MB, free: 5.508 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.075e-05/0.281, allocations: 4 kB / 449.1 MB, free: 5.504 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002151/0.2812, allocations: 201.2 kB / 449.3 MB, free: 5.309 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2812, allocations: 0 / 449.3 MB, free: 5.309 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004382/0.2816, allocations: 83.84 kB / 449.4 MB, free: 5.227 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.000139/0.2818, allocations: 103.2 kB / 449.5 MB, free: 5.113 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001327/0.2831, allocations: 486.3 kB / 450 MB, free: 4.613 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.2831, allocations: 4.062 kB / 450 MB, free: 4.609 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004964/0.2836, allocations: 242.5 kB / 450.2 MB, free: 4.359 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000331/0.2839, allocations: 62.08 kB / 450.3 MB, free: 4.305 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003082/0.287, allocations: 0.9701 MB / 451.2 MB, free: 3.305 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003732/0.2874, allocations: 0.7519 MB / 452 MB, free: 2.527 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.375e-05/0.2875, allocations: 23.42 kB / 452 MB, free: 2.504 MB / 350.1 MB Notification: Performance of SimCode: time 8.11e-07/0.2875, allocations: 0 / 452 MB, free: 2.504 MB / 350.1 MB Notification: Performance of Templates: time 0.007192/0.2947, allocations: 4.793 MB / 456.8 MB, free: 13.73 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.015643700025976]