Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.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.001302/0.001302, allocations: 107 kB / 21.18 MB, free: 0.6484 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.001406/0.001406, allocations: 215.4 kB / 24.48 MB, free: 3.941 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.45/1.45, allocations: 230.6 MB / 258.2 MB, free: 7.777 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.VoltageFollower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001534/0.001534, allocations: 43.94 kB / 379 MB, free: 2.418 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2351/0.2366, allocations: 53.37 MB / 432.4 MB, free: 6.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.004198/0.2408, allocations: 2.602 MB / 435 MB, free: 4.07 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001318/0.2421, allocations: 0.6778 MB / 435.6 MB, free: 3.387 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001375/0.2423, allocations: 4 kB / 435.6 MB, free: 3.383 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000152/0.2424, allocations: 43.58 kB / 435.7 MB, free: 3.34 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001928/0.2426, allocations: 87.27 kB / 435.8 MB, free: 3.254 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002874/0.2429, allocations: 99.81 kB / 435.9 MB, free: 3.156 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004047/0.2433, allocations: 350.5 kB / 436.2 MB, free: 2.812 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001706/0.2435, allocations: 68.55 kB / 436.3 MB, free: 2.746 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001767/0.2436, allocations: 131.5 kB / 436.4 MB, free: 2.617 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002035/0.2438, allocations: 147.4 kB / 436.5 MB, free: 2.473 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.841e-05/0.2439, allocations: 31.98 kB / 436.6 MB, free: 2.441 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.471e-05/0.244, allocations: 36 kB / 436.6 MB, free: 2.406 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.768e-05/0.244, allocations: 59.7 kB / 436.7 MB, free: 2.348 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001954/0.2442, allocations: 119.5 kB / 436.8 MB, free: 2.23 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003756/0.2446, allocations: 325.7 kB / 437.1 MB, free: 1.914 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.2446, allocations: 0 / 437.1 MB, free: 1.914 MB / 334.1 MB Notification: Performance of FrontEnd: time 9.61e-07/0.2446, allocations: 0 / 437.1 MB, free: 1.914 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.2446, allocations: 0 / 437.1 MB, free: 1.914 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001254/0.2459, allocations: 0.5663 MB / 437.7 MB, free: 1.312 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.2459, allocations: 12.03 kB / 437.7 MB, free: 1.301 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.207e-05/0.246, allocations: 32.73 kB / 437.7 MB, free: 1.27 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003978/0.2464, allocations: 217.8 kB / 437.9 MB, free: 1.031 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.361e-05/0.2464, allocations: 20.81 kB / 438 MB, free: 1.012 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.137e-05/0.2464, allocations: 16.38 kB / 438 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006951/0.2471, allocations: 333.4 kB / 438.3 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.2472, allocations: 0 / 438.3 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.078e-05/0.2472, allocations: 11.98 kB / 438.3 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.2472, allocations: 11.94 kB / 438.3 MB, free: 0.625 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007719/0.248, allocations: 241.6 kB / 438.6 MB, free: 396 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001516/0.2495, allocations: 0.771 MB / 439.3 MB, free: 15.56 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0015/0.251, allocations: 358.4 kB / 439.7 MB, free: 15.2 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003101/0.2513, allocations: 84.78 kB / 439.8 MB, free: 15.12 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.925e-05/0.2513, allocations: 0 / 439.8 MB, free: 15.12 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005104/0.2518, allocations: 229.1 kB / 440 MB, free: 14.86 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.283e-06/0.2518, allocations: 0 / 440 MB, free: 14.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.002035/0.2539, allocations: 0.4979 MB / 440.5 MB, free: 14.36 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.062e-05/0.2539, allocations: 106.8 kB / 440.6 MB, free: 14.23 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003028/0.2542, allocations: 261.8 kB / 440.8 MB, free: 13.96 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.876e-05/0.2543, allocations: 33.7 kB / 440.9 MB, free: 13.92 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002039/0.2545, allocations: 187.9 kB / 441.1 MB, free: 13.73 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.892e-05/0.2545, allocations: 39.69 kB / 441.1 MB, free: 13.7 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.772e-05/0.2546, allocations: 53.64 kB / 441.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001621/0.2548, allocations: 334.8 kB / 441.5 MB, free: 13.3 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003603/0.2551, allocations: 117.6 kB / 441.6 MB, free: 13.18 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005487/0.2557, allocations: 278.8 kB / 441.9 MB, free: 12.84 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000726/0.2564, allocations: 304.6 kB / 442.2 MB, free: 12.5 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.2564, allocations: 0 / 442.2 MB, free: 12.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001263/0.2577, allocations: 461.6 kB / 442.6 MB, free: 12.02 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.935e-05/0.2577, allocations: 33.7 kB / 442.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/0.2577, allocations: 4.062 kB / 442.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000322/0.2581, allocations: 60.81 kB / 442.7 MB, free: 11.92 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002315/0.2583, allocations: 55.89 kB / 442.8 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002501/0.2608, allocations: 1.487 MB / 444.2 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003351/0.2611, allocations: 55.73 kB / 444.3 MB, free: 10.22 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.362e-05/0.2611, allocations: 16.44 kB / 444.3 MB, free: 10.2 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001644/0.2613, allocations: 141.7 kB / 444.5 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.716e-05/0.2613, allocations: 19.91 kB / 444.5 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.232e-05/0.2614, allocations: 25.64 kB / 444.5 MB, free: 10.01 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.2614, allocations: 7.938 kB / 444.5 MB, free: 10 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.903e-06/0.2614, allocations: 0 / 444.5 MB, free: 10 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.2614, allocations: 0 / 444.5 MB, free: 10 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001342/0.2627, allocations: 0.5572 MB / 445.1 MB, free: 9.402 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.2627, allocations: 0 / 445.1 MB, free: 9.402 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000149/0.2629, allocations: 23.97 kB / 445.1 MB, free: 9.379 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000222/0.2631, allocations: 60.81 kB / 445.1 MB, free: 9.316 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.386e-05/0.2631, allocations: 4 kB / 445.2 MB, free: 9.312 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002081/0.2652, allocations: 1.467 MB / 446.6 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/0.2652, allocations: 7.922 kB / 446.6 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001037/0.2663, allocations: 388.1 kB / 447 MB, free: 7.34 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.632e-05/0.2663, allocations: 31.78 kB / 447 MB, free: 7.309 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.012e-05/0.2664, allocations: 11.94 kB / 447 MB, free: 7.297 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002704/0.2666, allocations: 31.97 kB / 447.1 MB, free: 7.266 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.739e-05/0.2667, allocations: 15.97 kB / 447.1 MB, free: 7.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.407e-05/0.2667, allocations: 4 kB / 447.1 MB, free: 7.246 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001971/0.2669, allocations: 189.2 kB / 447.3 MB, free: 7.059 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2669, allocations: 0 / 447.3 MB, free: 7.059 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003874/0.2673, allocations: 63.89 kB / 447.3 MB, free: 6.996 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,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000142/0.2674, allocations: 107.2 kB / 447.4 MB, free: 6.879 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009941/0.2684, allocations: 411.6 kB / 447.9 MB, free: 6.445 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.2684, allocations: 0 / 447.9 MB, free: 6.445 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004362/0.2689, allocations: 207.4 kB / 448.1 MB, free: 6.23 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003745/0.2692, allocations: 39.05 kB / 448.1 MB, free: 6.195 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009971/0.2702, allocations: 455.6 kB / 448.5 MB, free: 5.727 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001309/0.2704, allocations: 134.2 kB / 448.7 MB, free: 5.57 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.863e-05/0.2705, allocations: 21.95 kB / 448.7 MB, free: 5.551 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.238e-05/0.2705, allocations: 23.42 kB / 448.7 MB, free: 5.527 MB / 350.1 MB Notification: Performance of SimCode: time 4.21e-07/0.2705, allocations: 0 / 448.7 MB, free: 5.527 MB / 350.1 MB Notification: Performance of Templates: time 0.008427/0.279, allocations: 3.897 MB / 452.6 MB, free: 1.691 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/VoltageFollower/VoltageFollower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.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.435923714001547]