Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.00126/0.00126, allocations: 89.48 kB / 21.44 MB, free: 276 kB / 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.001412/0.001412, allocations: 161.2 kB / 24.7 MB, free: 3.531 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.336/1.336, allocations: 158.6 MB / 186.5 MB, free: 6.391 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 0 / 299 MB, free: 8.684 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.952e-05/3.146e-05, allocations: 2.281 kB / 299 MB, free: 8.68 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.003991/0.004022, allocations: 2.52 MB / 301.5 MB, free: 6.137 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001329/0.005351, allocations: 0.6942 MB / 302.2 MB, free: 5.434 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001301/0.005481, allocations: 7.938 kB / 302.2 MB, free: 5.426 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001681/0.005649, allocations: 43.58 kB / 302.3 MB, free: 5.383 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001974/0.005847, allocations: 95.19 kB / 302.3 MB, free: 5.289 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002914/0.006138, allocations: 103.8 kB / 302.4 MB, free: 5.188 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004349/0.006573, allocations: 358.4 kB / 302.8 MB, free: 4.836 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001702/0.006743, allocations: 56.84 kB / 302.9 MB, free: 4.785 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00025/0.006993, allocations: 195.6 kB / 303 MB, free: 4.594 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001802/0.007173, allocations: 111.7 kB / 303.2 MB, free: 4.484 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.461e-05/0.007228, allocations: 35.94 kB / 303.2 MB, free: 4.449 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.614e-05/0.007284, allocations: 28 kB / 303.2 MB, free: 4.422 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.032e-05/0.007354, allocations: 67.69 kB / 303.3 MB, free: 4.355 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001347/0.007489, allocations: 99.75 kB / 303.4 MB, free: 4.258 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003971/0.007886, allocations: 334.9 kB / 303.7 MB, free: 3.93 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.00789, allocations: 0 / 303.7 MB, free: 3.93 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.007891, allocations: 4 kB / 303.7 MB, free: 3.926 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.062e-05/0.007902, allocations: 0 / 303.7 MB, free: 3.926 MB / 286.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.001266/0.009168, allocations: 0.5664 MB / 304.3 MB, free: 3.324 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.009204, allocations: 11.98 kB / 304.3 MB, free: 3.312 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.728e-05/0.009281, allocations: 36.73 kB / 304.3 MB, free: 3.277 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004126/0.009694, allocations: 221 kB / 304.5 MB, free: 3.035 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.806e-05/0.009712, allocations: 16.88 kB / 304.6 MB, free: 3.02 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.517e-05/0.009757, allocations: 24.38 kB / 304.6 MB, free: 2.996 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006596/0.01042, allocations: 299.9 kB / 304.9 MB, free: 2.684 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.01043, allocations: 192 / 304.9 MB, free: 2.684 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.717e-05/0.01045, allocations: 8.375 kB / 304.9 MB, free: 2.676 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.043e-05/0.01046, allocations: 7.938 kB / 304.9 MB, free: 2.668 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007756/0.01124, allocations: 249.8 kB / 305.1 MB, free: 2.426 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001439/0.01268, allocations: 0.6933 MB / 305.8 MB, free: 1.688 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006905/0.01337, allocations: 190.5 kB / 306 MB, free: 1.492 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002932/0.01366, allocations: 80.8 kB / 306.1 MB, free: 1.41 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.144e-05/0.01368, allocations: 0 / 306.1 MB, free: 1.41 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000483/0.01417, allocations: 209.3 kB / 306.3 MB, free: 1.172 MB / 286.1 MB Notification: Performance of pre-optimization done (n=11): time 1.703e-06/0.01417, allocations: 0 / 306.3 MB, free: 1.172 MB / 286.1 MB Notification: Performance of matching and sorting (n=11): time 0.001855/0.01602, allocations: 465.8 kB / 306.7 MB, free: 0.707 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.238e-05/0.01612, allocations: 106.8 kB / 306.9 MB, free: 0.5781 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003062/0.01642, allocations: 261.8 kB / 307.1 MB, free: 316 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.395e-05/0.01646, allocations: 29.7 kB / 307.1 MB, free: 280 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001572/0.01661, allocations: 191.9 kB / 307.3 MB, free: 84 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.654e-05/0.01665, allocations: 35.73 kB / 307.4 MB, free: 48 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001043/0.01675, allocations: 53.66 kB / 307.4 MB, free: 15.99 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001749/0.01693, allocations: 330.8 kB / 307.7 MB, free: 15.66 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003622/0.01729, allocations: 130.4 kB / 307.9 MB, free: 15.52 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004418/0.01773, allocations: 265.9 kB / 308.1 MB, free: 15.2 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000702/0.01844, allocations: 288.6 kB / 308.4 MB, free: 14.87 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.01844, allocations: 0 / 308.4 MB, free: 14.87 MB / 302.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001174/0.01961, allocations: 449.3 kB / 308.8 MB, free: 14.41 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.64e-05/0.01966, allocations: 33.7 kB / 308.9 MB, free: 14.37 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.01967, allocations: 4.25 kB / 308.9 MB, free: 14.36 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004705/0.02014, allocations: 96.69 kB / 309 MB, free: 14.27 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002453/0.02038, allocations: 47.97 kB / 309 MB, free: 14.22 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001934/0.02232, allocations: 1.432 MB / 310.5 MB, free: 12.68 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003254/0.02264, allocations: 51.75 kB / 310.5 MB, free: 12.63 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.595e-05/0.02268, allocations: 15.98 kB / 310.5 MB, free: 12.61 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003766/0.02305, allocations: 201.8 kB / 310.7 MB, free: 12.41 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003984/0.02345, allocations: 258.1 kB / 311 MB, free: 12.09 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005852/0.02404, allocations: 272.7 kB / 311.2 MB, free: 11.78 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.617e-06/0.02404, allocations: 3.984 kB / 311.2 MB, free: 11.77 MB / 302.1 MB Notification: Performance of matching and sorting (n=26) (initialization_lambda0): time 0.0008428/0.02488, allocations: 373.3 kB / 311.6 MB, free: 11.39 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.029e-05/0.02493, allocations: 32.36 kB / 311.6 MB, free: 11.35 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.116e-06/0.02493, allocations: 4 kB / 311.6 MB, free: 11.35 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.461e-05/0.02501, allocations: 28.84 kB / 311.7 MB, free: 11.32 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002149/0.02523, allocations: 48.25 kB / 311.7 MB, free: 11.27 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001218/0.02645, allocations: 1.418 MB / 313.1 MB, free: 9.754 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003159/0.02676, allocations: 43.86 kB / 313.2 MB, free: 9.711 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.294e-05/0.02678, allocations: 16 kB / 313.2 MB, free: 9.695 MB / 302.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 (23): * Single equations (assignments): 21 * 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,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001813/0.02697, allocations: 204.2 kB / 313.4 MB, free: 9.488 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.037e-05/0.02701, allocations: 23.86 kB / 313.4 MB, free: 9.465 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.156e-05/0.02706, allocations: 25.77 kB / 313.4 MB, free: 9.445 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.02706, allocations: 3.938 kB / 313.4 MB, free: 9.441 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.813e-06/0.02706, allocations: 0 / 313.4 MB, free: 9.441 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.02707, allocations: 4 kB / 313.4 MB, free: 9.438 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001124/0.02819, allocations: 0.5182 MB / 314 MB, free: 8.879 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.0282, allocations: 0 / 314 MB, free: 8.879 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000147/0.02834, allocations: 23.97 kB / 314 MB, free: 8.855 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000174/0.02852, allocations: 44.83 kB / 314 MB, free: 8.809 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.282e-05/0.02853, allocations: 4 kB / 314 MB, free: 8.805 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001802/0.03033, allocations: 1.417 MB / 315.5 MB, free: 7.277 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.03033, allocations: 3.938 kB / 315.5 MB, free: 7.273 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008571/0.03119, allocations: 348.1 kB / 315.8 MB, free: 6.914 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.87e-05/0.03124, allocations: 31.77 kB / 315.8 MB, free: 6.883 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.239e-05/0.03127, allocations: 0 / 315.8 MB, free: 6.883 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002587/0.03153, allocations: 31.95 kB / 315.9 MB, free: 6.852 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.408e-05/0.0316, allocations: 15.98 kB / 315.9 MB, free: 6.836 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.427e-05/0.03162, allocations: 7.984 kB / 315.9 MB, free: 6.828 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001984/0.03182, allocations: 181.2 kB / 316.1 MB, free: 6.652 MB / 302.1 MB Notification: Performance of sort global known variables: time 8e-08/0.03182, allocations: 4 kB / 316.1 MB, free: 6.648 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000561/0.03238, allocations: 119.7 kB / 316.2 MB, free: 6.531 MB / 302.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,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001627/0.03254, allocations: 107.1 kB / 316.3 MB, free: 6.418 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001519/0.03406, allocations: 0.7035 MB / 317 MB, free: 5.652 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.03406, allocations: 0 / 317 MB, free: 5.652 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004366/0.0345, allocations: 206.7 kB / 317.2 MB, free: 5.438 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003874/0.03489, allocations: 45.34 kB / 317.2 MB, free: 5.391 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001059/0.03595, allocations: 426.4 kB / 317.7 MB, free: 4.949 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001411/0.03609, allocations: 134.5 kB / 317.8 MB, free: 4.801 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001088/0.03619, allocations: 21.95 kB / 317.8 MB, free: 4.781 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.715e-05/0.03626, allocations: 28.44 kB / 317.8 MB, free: 4.754 MB / 302.1 MB Notification: Performance of SimCode: time 4.31e-07/0.03626, allocations: 0 / 317.8 MB, free: 4.754 MB / 302.1 MB Notification: Performance of Templates: time 0.008785/0.04505, allocations: 3.896 MB / 321.7 MB, free: 0.8594 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/VoltageFollower/VoltageFollower.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.385795600712299]