Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.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.001434/0.001434, allocations: 84.34 kB / 22.21 MB, free: 2.285 MB / 18.57 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.001489/0.001489, allocations: 166.8 kB / 25.61 MB, free: 8.582 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9376/0.9376, allocations: 177 MB / 205.9 MB, free: 4.453 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.VoltageFollower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 274.2 MB, free: 4.23 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.369e-05/1.488e-05, allocations: 2.312 kB / 274.2 MB, free: 4.227 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.002779/0.002794, allocations: 2.766 MB / 276.9 MB, free: 1.457 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001048/0.003842, allocations: 0.6726 MB / 277.6 MB, free: 0.7812 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001166/0.003958, allocations: 7.938 kB / 277.6 MB, free: 0.7734 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001256/0.004084, allocations: 44.2 kB / 277.7 MB, free: 0.7305 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002962/0.00438, allocations: 100.9 kB / 277.7 MB, free: 0.6328 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002207/0.004601, allocations: 84.36 kB / 277.8 MB, free: 0.5508 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002938/0.004894, allocations: 362.3 kB / 278.2 MB, free: 200 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001356/0.00503, allocations: 53.5 kB / 278.2 MB, free: 144 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001782/0.005208, allocations: 200.1 kB / 278.4 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001437/0.005352, allocations: 111.6 kB / 278.5 MB, free: 15.84 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.681e-05/0.005399, allocations: 34.47 kB / 278.6 MB, free: 15.8 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.221e-05/0.005431, allocations: 28 kB / 278.6 MB, free: 15.78 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.892e-05/0.00549, allocations: 67.75 kB / 278.7 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.269e-05/0.005583, allocations: 99.69 kB / 278.8 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002591/0.005842, allocations: 219.2 kB / 279 MB, free: 15.4 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.005844, allocations: 4 kB / 279 MB, free: 15.39 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.81e-07/0.005845, allocations: 0 / 279 MB, free: 15.39 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.582e-06/0.005852, allocations: 4 kB / 279 MB, free: 15.39 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.000915/0.006767, allocations: 0.6389 MB / 279.6 MB, free: 14.71 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.133e-05/0.006798, allocations: 12.03 kB / 279.6 MB, free: 14.7 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.61e-05/0.006864, allocations: 48.73 kB / 279.7 MB, free: 14.65 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002149/0.007079, allocations: 224 kB / 279.9 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.662e-05/0.007096, allocations: 16.88 kB / 279.9 MB, free: 14.39 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.47e-05/0.00712, allocations: 24.38 kB / 279.9 MB, free: 14.37 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002428/0.007363, allocations: 250.4 kB / 280.2 MB, free: 14.1 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.007372, allocations: 192 / 280.2 MB, free: 14.1 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.5e-05/0.007387, allocations: 4.375 kB / 280.2 MB, free: 14.09 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.007396, allocations: 11.94 kB / 280.2 MB, free: 14.08 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.755e-05/0.007493, allocations: 63.44 kB / 280.3 MB, free: 14.02 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00079/0.008283, allocations: 0.7697 MB / 281 MB, free: 13.19 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001264/0.00841, allocations: 83.17 kB / 281.1 MB, free: 13.09 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.288e-05/0.008453, allocations: 27.67 kB / 281.1 MB, free: 13.06 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.721e-05/0.00847, allocations: 7.938 kB / 281.2 MB, free: 13.05 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001871/0.008657, allocations: 215.9 kB / 281.4 MB, free: 12.8 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.422e-06/0.008658, allocations: 0 / 281.4 MB, free: 12.8 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004864/0.009145, allocations: 197.1 kB / 281.6 MB, free: 12.59 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.286e-05/0.009208, allocations: 136.5 kB / 281.7 MB, free: 12.43 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001813/0.009389, allocations: 304.1 kB / 282 MB, free: 12.12 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.487e-05/0.009414, allocations: 29.7 kB / 282 MB, free: 12.08 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000116/0.00953, allocations: 238.8 kB / 282.2 MB, free: 11.84 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.587e-05/0.009556, allocations: 39.67 kB / 282.3 MB, free: 11.8 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.569e-05/0.009621, allocations: 63.52 kB / 282.4 MB, free: 11.73 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.009771, allocations: 0.5079 MB / 282.9 MB, free: 11.21 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.309e-05/0.009824, allocations: 46.16 kB / 282.9 MB, free: 11.16 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004113/0.01023, allocations: 282.7 kB / 283.2 MB, free: 10.8 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001411/0.01038, allocations: 211.8 kB / 283.4 MB, free: 10.53 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.01038, allocations: 0 / 283.4 MB, free: 10.53 MB / 266.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002969/0.01068, allocations: 288.2 kB / 283.7 MB, free: 10.23 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.771e-05/0.0107, allocations: 29.7 kB / 283.7 MB, free: 10.19 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.834e-06/0.01071, allocations: 8 kB / 283.7 MB, free: 10.18 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001939/0.0109, allocations: 64 kB / 283.8 MB, free: 10.12 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001071/0.01101, allocations: 47.91 kB / 283.8 MB, free: 10.07 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008919/0.0119, allocations: 1.828 MB / 285.6 MB, free: 8.113 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001263/0.01203, allocations: 43.86 kB / 285.7 MB, free: 8.07 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.29e-05/0.01204, allocations: 12 kB / 285.7 MB, free: 8.059 MB / 266.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: 7 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,opAmp.satNeg,opAmp.satPos,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 23 * 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.46e-05/0.01213, allocations: 172.5 kB / 285.9 MB, free: 7.879 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.946e-05/0.01216, allocations: 31.86 kB / 285.9 MB, free: 7.848 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.463e-05/0.01218, allocations: 21.77 kB / 285.9 MB, free: 7.824 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.01218, allocations: 7.938 kB / 285.9 MB, free: 7.816 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.01219, allocations: 0 / 285.9 MB, free: 7.816 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.01219, allocations: 0 / 285.9 MB, free: 7.816 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003528/0.01254, allocations: 441.4 kB / 286.4 MB, free: 7.348 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.01254, allocations: 0 / 286.4 MB, free: 7.348 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.049e-05/0.01259, allocations: 15.98 kB / 286.4 MB, free: 7.332 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001324/0.01273, allocations: 55.77 kB / 286.4 MB, free: 7.273 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.654e-06/0.01273, allocations: 0 / 286.4 MB, free: 7.273 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007354/0.01347, allocations: 1.817 MB / 288.2 MB, free: 5.34 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.01347, allocations: 4 kB / 288.2 MB, free: 5.336 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002344/0.01371, allocations: 298.5 kB / 288.5 MB, free: 5.023 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.248e-05/0.01373, allocations: 19.8 kB / 288.6 MB, free: 5.004 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.178e-05/0.01375, allocations: 8 kB / 288.6 MB, free: 4.996 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.917e-05/0.01385, allocations: 27.94 kB / 288.6 MB, free: 4.969 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.737e-05/0.01391, allocations: 27.91 kB / 288.6 MB, free: 4.941 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.533e-06/0.01391, allocations: 0 / 288.6 MB, free: 4.941 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.164e-05/0.014, allocations: 205.1 kB / 288.8 MB, free: 4.742 MB / 266.7 MB Notification: Performance of sort global known variables: time 2e-08/0.014, allocations: 0 / 288.8 MB, free: 4.742 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002201/0.01422, allocations: 71.89 kB / 288.9 MB, free: 4.672 MB / 266.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: 5 ($whenCondition1,opAmp.satPos,opAmp.satNeg,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 (11): * Single equations (assignments): 8 * 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.0001094/0.01433, allocations: 99.42 kB / 289 MB, free: 4.566 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000306/0.01464, allocations: 367 kB / 289.3 MB, free: 4.172 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.01464, allocations: 0 / 289.3 MB, free: 4.172 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001336/0.01478, allocations: 225.3 kB / 289.6 MB, free: 3.93 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002523/0.01503, allocations: 53.89 kB / 289.6 MB, free: 3.883 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001044/0.01607, allocations: 447.1 kB / 290.1 MB, free: 3.418 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.652e-05/0.01612, allocations: 84.31 kB / 290.1 MB, free: 3.316 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.24e-05/0.01619, allocations: 26.28 kB / 290.2 MB, free: 3.289 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000134/0.01633, allocations: 122.2 kB / 290.3 MB, free: 3.168 MB / 266.7 MB Notification: Performance of SimCode: time 7.72e-07/0.01633, allocations: 0 / 290.3 MB, free: 3.168 MB / 266.7 MB Notification: Performance of Templates: time 0.005628/0.02195, allocations: 4.207 MB / 294.5 MB, free: 15.04 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/VoltageFollower/VoltageFollower.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.917822807095945]