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.0008197/0.0008197, allocations: 91.61 kB / 22.19 MB, free: 2.379 MB / 18.57 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.0008008/0.0008008, allocations: 159.4 kB / 25.45 MB, free: 9.352 MB / 18.57 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 0.8416/0.8416, allocations: 158.6 MB / 187.2 MB, free: 3.047 MB / 170.7 MB " [Timeout remaining time 179] 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.373e-06/1.373e-06, allocations: 0 / 299.7 MB, free: 6.891 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.049e-05/2.186e-05, allocations: 2.281 kB / 299.7 MB, free: 6.887 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.002291/0.002313, allocations: 2.532 MB / 302.3 MB, free: 4.336 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007788/0.003092, allocations: 0.6904 MB / 303 MB, free: 3.637 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.849e-05/0.00319, allocations: 4 kB / 303 MB, free: 3.633 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001128/0.003303, allocations: 51.5 kB / 303 MB, free: 3.582 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001304/0.003434, allocations: 87.27 kB / 303.1 MB, free: 3.496 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002038/0.003637, allocations: 99.73 kB / 303.2 MB, free: 3.398 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002706/0.003908, allocations: 362.4 kB / 303.5 MB, free: 3.043 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001267/0.004035, allocations: 60.84 kB / 303.6 MB, free: 2.988 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001483/0.004183, allocations: 191.5 kB / 303.8 MB, free: 2.801 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001118/0.004295, allocations: 115.7 kB / 303.9 MB, free: 2.688 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.388e-05/0.004329, allocations: 28 kB / 303.9 MB, free: 2.66 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.727e-05/0.004356, allocations: 28 kB / 304 MB, free: 2.633 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.348e-05/0.004399, allocations: 67.69 kB / 304 MB, free: 2.566 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.351e-05/0.004473, allocations: 99.75 kB / 304.1 MB, free: 2.469 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002589/0.004732, allocations: 338.9 kB / 304.5 MB, free: 2.137 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.784e-06/0.004734, allocations: 0 / 304.5 MB, free: 2.137 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.62e-07/0.004734, allocations: 3.938 kB / 304.5 MB, free: 2.133 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.004738, allocations: 4 kB / 304.5 MB, free: 2.129 MB / 282.7 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.000997/0.005735, allocations: 0.5664 MB / 305 MB, free: 1.527 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.972e-05/0.005765, allocations: 15.98 kB / 305 MB, free: 1.512 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.218e-05/0.005817, allocations: 32.75 kB / 305.1 MB, free: 1.48 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002333/0.006051, allocations: 221 kB / 305.3 MB, free: 1.238 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.006064, allocations: 16.88 kB / 305.3 MB, free: 1.223 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.303e-05/0.006088, allocations: 20.38 kB / 305.3 MB, free: 1.203 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003476/0.006435, allocations: 300 kB / 305.6 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.006444, allocations: 192 / 305.6 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.696e-05/0.006461, allocations: 12.38 kB / 305.6 MB, free: 0.8789 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.006468, allocations: 7.938 kB / 305.6 MB, free: 0.8711 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003765/0.006845, allocations: 249.8 kB / 305.9 MB, free: 0.6289 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007973/0.007642, allocations: 0.6895 MB / 306.6 MB, free: 15.89 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003195/0.007962, allocations: 186.4 kB / 306.8 MB, free: 15.7 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001333/0.008095, allocations: 88.8 kB / 306.8 MB, free: 15.61 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.556e-05/0.008111, allocations: 0 / 306.8 MB, free: 15.61 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000235/0.008346, allocations: 217.2 kB / 307.1 MB, free: 15.36 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 9.41e-07/0.008347, allocations: 0 / 307.1 MB, free: 15.36 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0008824/0.009229, allocations: 461.8 kB / 307.5 MB, free: 14.9 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.283e-05/0.009272, allocations: 106.8 kB / 307.6 MB, free: 14.77 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001639/0.009436, allocations: 261.8 kB / 307.9 MB, free: 14.5 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.748e-05/0.009453, allocations: 37.7 kB / 307.9 MB, free: 14.46 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.163e-05/0.009535, allocations: 187.9 kB / 308.1 MB, free: 14.27 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.551e-05/0.00956, allocations: 39.64 kB / 308.1 MB, free: 14.24 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.377e-05/0.009614, allocations: 49.66 kB / 308.2 MB, free: 14.18 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.551e-05/0.00969, allocations: 330.8 kB / 308.5 MB, free: 13.85 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001629/0.009853, allocations: 126.4 kB / 308.6 MB, free: 13.72 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001964/0.01005, allocations: 269.9 kB / 308.9 MB, free: 13.39 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003062/0.01036, allocations: 280.6 kB / 309.2 MB, free: 13.07 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.01036, allocations: 0 / 309.2 MB, free: 13.07 MB / 298.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005312/0.01089, allocations: 453.5 kB / 309.6 MB, free: 12.61 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/0.01091, allocations: 33.7 kB / 309.6 MB, free: 12.57 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.01092, allocations: 0 / 309.6 MB, free: 12.57 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000221/0.01114, allocations: 92.75 kB / 309.7 MB, free: 12.47 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000116/0.01125, allocations: 51.94 kB / 309.8 MB, free: 12.42 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009026/0.01216, allocations: 1.429 MB / 311.2 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001379/0.01229, allocations: 51.75 kB / 311.3 MB, free: 10.84 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.505e-05/0.01231, allocations: 12.06 kB / 311.3 MB, free: 10.82 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001799/0.01249, allocations: 213.8 kB / 311.5 MB, free: 10.61 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000187/0.01268, allocations: 253.9 kB / 311.7 MB, free: 10.29 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004985/0.01317, allocations: 272.7 kB / 312 MB, free: 9.98 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.92e-07/0.01318, allocations: 0 / 312 MB, free: 9.98 MB / 298.7 MB Notification: Performance of matching and sorting (n=26) (initialization_lambda0): time 0.0003853/0.01356, allocations: 369.3 kB / 312.3 MB, free: 9.598 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.01358, allocations: 33.7 kB / 312.4 MB, free: 9.559 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.066e-06/0.01358, allocations: 8.312 kB / 312.4 MB, free: 9.551 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.288e-05/0.01362, allocations: 28.84 kB / 312.4 MB, free: 9.52 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.588e-05/0.01372, allocations: 51.91 kB / 312.5 MB, free: 9.469 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005506/0.01427, allocations: 1.414 MB / 313.9 MB, free: 7.957 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001388/0.01441, allocations: 55.94 kB / 313.9 MB, free: 7.902 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.045e-05/0.01442, allocations: 12 kB / 313.9 MB, free: 7.891 MB / 298.7 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 8.545e-05/0.0145, allocations: 192.2 kB / 314.1 MB, free: 7.695 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.827e-05/0.01452, allocations: 19.86 kB / 314.2 MB, free: 7.676 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.241e-05/0.01454, allocations: 25.77 kB / 314.2 MB, free: 7.656 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.564e-06/0.01455, allocations: 3.938 kB / 314.2 MB, free: 7.652 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.62e-07/0.01455, allocations: 0 / 314.2 MB, free: 7.652 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.01455, allocations: 0 / 314.2 MB, free: 7.652 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005323/0.01508, allocations: 0.5221 MB / 314.7 MB, free: 7.09 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-06/0.01508, allocations: 0 / 314.7 MB, free: 7.09 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.863e-05/0.01514, allocations: 23.97 kB / 314.7 MB, free: 7.066 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.144e-05/0.01523, allocations: 52.77 kB / 314.8 MB, free: 7.012 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/0.01524, allocations: 3.984 kB / 314.8 MB, free: 7.008 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007746/0.01602, allocations: 1.413 MB / 316.2 MB, free: 5.484 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/0.01602, allocations: 11.86 kB / 316.2 MB, free: 5.473 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003828/0.0164, allocations: 340.2 kB / 316.5 MB, free: 5.121 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.394e-05/0.01644, allocations: 27.83 kB / 316.6 MB, free: 5.094 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.642e-05/0.01645, allocations: 0 / 316.6 MB, free: 5.094 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001133/0.01657, allocations: 31.95 kB / 316.6 MB, free: 5.062 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.362e-05/0.01662, allocations: 19.98 kB / 316.6 MB, free: 5.043 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.055e-06/0.01663, allocations: 3.984 kB / 316.6 MB, free: 5.039 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001066/0.01674, allocations: 189.2 kB / 316.8 MB, free: 4.855 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01674, allocations: 0 / 316.8 MB, free: 4.855 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003227/0.01706, allocations: 119.7 kB / 316.9 MB, free: 4.738 MB / 298.7 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 8.579e-05/0.01714, allocations: 99.25 kB / 317 MB, free: 4.633 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007048/0.01785, allocations: 0.7036 MB / 317.7 MB, free: 3.867 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.01785, allocations: 4.062 kB / 317.7 MB, free: 3.863 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001855/0.01804, allocations: 202.5 kB / 317.9 MB, free: 3.652 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002309/0.01827, allocations: 49.28 kB / 318 MB, free: 3.602 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005574/0.01882, allocations: 456.1 kB / 318.4 MB, free: 3.125 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.306e-05/0.0189, allocations: 138.5 kB / 318.6 MB, free: 2.973 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.565e-05/0.01894, allocations: 20.5 kB / 318.6 MB, free: 2.953 MB / 298.7 MB Notification: Performance of SimCode: time 5.51e-07/0.01894, allocations: 0 / 318.6 MB, free: 2.953 MB / 298.7 MB Notification: Performance of Templates: time 0.003967/0.02291, allocations: 4.205 MB / 322.8 MB, free: 14.74 MB / 314.7 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.36438580788672]