Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007904/0.0007904, allocations: 88.66 kB / 21.43 MB, free: 3.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007933/0.0007933, allocations: 142.6 kB / 24.68 MB, free: 9.43 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8179/0.8179, allocations: 173.4 MB / 201.2 MB, free: 9.434 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.993e-06/1.993e-06, allocations: 3.938 kB / 319.7 MB, free: 5.809 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.884e-05/2.083e-05, allocations: 2.281 kB / 319.7 MB, free: 5.805 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.002454/0.002474, allocations: 2.574 MB / 322.3 MB, free: 3.215 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008949/0.003369, allocations: 0.6505 MB / 322.9 MB, free: 2.559 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001102/0.00348, allocations: 7.938 kB / 323 MB, free: 2.551 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001158/0.003595, allocations: 39.58 kB / 323 MB, free: 2.512 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001276/0.003723, allocations: 95.25 kB / 323.1 MB, free: 2.418 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000216/0.003939, allocations: 95.81 kB / 323.2 MB, free: 2.324 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002755/0.004215, allocations: 366.3 kB / 323.5 MB, free: 1.965 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001354/0.00435, allocations: 52.89 kB / 323.6 MB, free: 1.91 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001584/0.004508, allocations: 195.5 kB / 323.8 MB, free: 1.719 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001124/0.004621, allocations: 111.6 kB / 323.9 MB, free: 1.609 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.496e-05/0.004656, allocations: 28 kB / 323.9 MB, free: 1.582 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.719e-05/0.004683, allocations: 28 kB / 323.9 MB, free: 1.555 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.279e-05/0.004726, allocations: 71.75 kB / 324 MB, free: 1.484 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.532e-05/0.004801, allocations: 95.75 kB / 324.1 MB, free: 1.391 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002597/0.005061, allocations: 338.9 kB / 324.4 MB, free: 1.059 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.005063, allocations: 0 / 324.4 MB, free: 1.059 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.005063, allocations: 0 / 324.4 MB, free: 1.059 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.005068, allocations: 0 / 324.4 MB, free: 1.059 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.000762/0.00583, allocations: 0.5618 MB / 325 MB, free: 476 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.227e-05/0.005862, allocations: 12.92 kB / 325 MB, free: 464 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.265e-05/0.005915, allocations: 32.75 kB / 325 MB, free: 432 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002603/0.006175, allocations: 217.3 kB / 325.3 MB, free: 188 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.006191, allocations: 16.81 kB / 325.3 MB, free: 172 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.269e-05/0.006214, allocations: 24.38 kB / 325.3 MB, free: 148 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003924/0.006606, allocations: 330.6 kB / 325.6 MB, free: 15.8 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.006616, allocations: 192 / 325.6 MB, free: 15.8 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.779e-05/0.006633, allocations: 8.375 kB / 325.6 MB, free: 15.79 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.00664, allocations: 7.938 kB / 325.6 MB, free: 15.78 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003773/0.007018, allocations: 241.8 kB / 325.9 MB, free: 15.54 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008679/0.007886, allocations: 0.7716 MB / 326.6 MB, free: 14.72 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007289/0.008614, allocations: 354.4 kB / 327 MB, free: 14.37 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001462/0.008761, allocations: 84.78 kB / 327.1 MB, free: 14.28 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.72e-05/0.008778, allocations: 4 kB / 327.1 MB, free: 14.28 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002558/0.009034, allocations: 217.2 kB / 327.3 MB, free: 14.03 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 9.11e-07/0.009035, allocations: 3.938 kB / 327.3 MB, free: 14.03 MB / 298.7 MB Notification: Performance of matching and sorting (n=10): time 0.0009634/0.009998, allocations: 0.4979 MB / 327.8 MB, free: 13.52 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.875e-05/0.01005, allocations: 110.8 kB / 327.9 MB, free: 13.39 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001695/0.01022, allocations: 265.7 kB / 328.2 MB, free: 13.12 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.69e-05/0.01023, allocations: 29.7 kB / 328.2 MB, free: 13.08 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.914e-05/0.01032, allocations: 187.9 kB / 328.4 MB, free: 12.89 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.167e-05/0.01034, allocations: 39.73 kB / 328.4 MB, free: 12.86 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.375e-05/0.0104, allocations: 49.66 kB / 328.5 MB, free: 12.8 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.998e-05/0.01048, allocations: 334.8 kB / 328.8 MB, free: 12.46 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001731/0.01065, allocations: 117.6 kB / 328.9 MB, free: 12.34 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002179/0.01087, allocations: 275.4 kB / 329.2 MB, free: 12.01 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003551/0.01122, allocations: 304.9 kB / 329.5 MB, free: 11.66 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.01123, allocations: 0 / 329.5 MB, free: 11.66 MB / 298.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006014/0.01183, allocations: 465.5 kB / 329.9 MB, free: 11.19 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.943e-05/0.01186, allocations: 41.69 kB / 330 MB, free: 11.14 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.01186, allocations: 4 kB / 330 MB, free: 11.14 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001902/0.01205, allocations: 60.83 kB / 330 MB, free: 11.07 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001113/0.01216, allocations: 55.89 kB / 330.1 MB, free: 11.02 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001154/0.01332, allocations: 1.494 MB / 331.6 MB, free: 9.422 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001696/0.01349, allocations: 47.86 kB / 331.6 MB, free: 9.375 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.716e-05/0.01351, allocations: 15.94 kB / 331.6 MB, free: 9.359 MB / 298.7 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 9.421e-05/0.0136, allocations: 138.3 kB / 331.8 MB, free: 9.215 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.976e-05/0.01362, allocations: 19.86 kB / 331.8 MB, free: 9.195 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.523e-05/0.01364, allocations: 29.77 kB / 331.8 MB, free: 9.168 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.01365, allocations: 3.938 kB / 331.8 MB, free: 9.164 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.01365, allocations: 4.312 kB / 331.8 MB, free: 9.16 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.01365, allocations: 3.984 kB / 331.8 MB, free: 9.156 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006633/0.01432, allocations: 0.5533 MB / 332.4 MB, free: 8.562 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.01432, allocations: 3.984 kB / 332.4 MB, free: 8.559 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.302e-05/0.01438, allocations: 23.92 kB / 332.4 MB, free: 8.535 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001106/0.01449, allocations: 56.81 kB / 332.5 MB, free: 8.477 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.916e-06/0.0145, allocations: 0 / 332.5 MB, free: 8.477 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009609/0.01546, allocations: 1.479 MB / 334 MB, free: 6.898 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.01546, allocations: 4.031 kB / 334 MB, free: 6.895 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004719/0.01594, allocations: 388 kB / 334.3 MB, free: 6.496 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.439e-05/0.01596, allocations: 27.84 kB / 334.4 MB, free: 6.469 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.611e-05/0.01598, allocations: 0 / 334.4 MB, free: 6.469 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001211/0.0161, allocations: 31.97 kB / 334.4 MB, free: 6.438 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.422e-05/0.01615, allocations: 23.91 kB / 334.4 MB, free: 6.414 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.883e-06/0.01616, allocations: 0 / 334.4 MB, free: 6.414 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001101/0.01627, allocations: 189.2 kB / 334.6 MB, free: 6.227 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01627, allocations: 4 kB / 334.6 MB, free: 6.223 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002167/0.01649, allocations: 67.83 kB / 334.7 MB, free: 6.156 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,1)} Notification: Performance of Backend phase and start with SimCode phase: time 8.889e-05/0.01657, allocations: 99.25 kB / 334.8 MB, free: 6.047 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005257/0.0171, allocations: 415.6 kB / 335.2 MB, free: 5.609 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.0171, allocations: 0 / 335.2 MB, free: 5.609 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001905/0.01729, allocations: 199.2 kB / 335.4 MB, free: 5.402 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002368/0.01753, allocations: 52.78 kB / 335.4 MB, free: 5.352 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005663/0.01809, allocations: 460 kB / 335.9 MB, free: 4.871 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.682e-05/0.01817, allocations: 130.2 kB / 336 MB, free: 4.723 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.591e-05/0.01822, allocations: 24.5 kB / 336 MB, free: 4.699 MB / 298.7 MB Notification: Performance of SimCode: time 6.81e-07/0.01822, allocations: 0 / 336 MB, free: 4.699 MB / 298.7 MB Notification: Performance of Templates: time 0.003899/0.02212, allocations: 4.179 MB / 340.2 MB, free: 0.5273 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/VoltageFollower/VoltageFollower.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.197822871617973]