Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.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.001209/0.001209, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.001451/0.001451, allocations: 161.4 kB / 24.56 MB, free: 16 kB / 18.57 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.036/1.036, allocations: 177.1 MB / 205 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] 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.Clocked.Examples.Elementary.RealSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.905e-06/2.905e-06, allocations: 0 / 273 MB, free: 1.52 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 6.028e-05/6.319e-05, allocations: 2.312 kB / 273 MB, free: 1.516 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Hold): time 0.004787/0.004851, allocations: 1.669 MB / 274.6 MB, free: 15.84 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001258/0.006109, allocations: 0.5569 MB / 275.2 MB, free: 15.28 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001241/0.006233, allocations: 7.938 kB / 275.2 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 8.207e-05/0.006315, allocations: 7.922 kB / 275.2 MB, free: 15.26 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002012/0.006516, allocations: 15.86 kB / 275.2 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004137/0.00693, allocations: 63.69 kB / 275.3 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001512/0.007081, allocations: 63.7 kB / 275.4 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000142/0.007223, allocations: 12 kB / 275.4 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002215/0.007444, allocations: 35.91 kB / 275.4 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.706e-05/0.007521, allocations: 19.91 kB / 275.4 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.063e-05/0.007552, allocations: 8 kB / 275.4 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.526e-05/0.007607, allocations: 8 kB / 275.4 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.166e-05/0.007669, allocations: 15.92 kB / 275.5 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.853e-05/0.007707, allocations: 15.92 kB / 275.5 MB, free: 15.01 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002552/0.007963, allocations: 63.69 kB / 275.5 MB, free: 14.95 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.007968, allocations: 0 / 275.5 MB, free: 14.95 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.745e-06/0.007971, allocations: 0 / 275.5 MB, free: 14.95 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.007978, allocations: 0 / 275.5 MB, free: 14.95 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006978/0.008676, allocations: 412.2 kB / 275.9 MB, free: 14.51 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.138e-05/0.008748, allocations: 8.031 kB / 275.9 MB, free: 14.5 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002476/0.008995, allocations: 28.88 kB / 276 MB, free: 14.47 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003168/0.009312, allocations: 156.9 kB / 276.1 MB, free: 14.29 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.598e-05/0.009328, allocations: 384 / 276.1 MB, free: 14.29 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.143e-05/0.00935, allocations: 8.375 kB / 276.1 MB, free: 14.29 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000434/0.009784, allocations: 144.9 kB / 276.3 MB, free: 14.11 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.059e-05/0.009804, allocations: 3.938 kB / 276.3 MB, free: 14.11 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.515e-05/0.009819, allocations: 4 kB / 276.3 MB, free: 14.1 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.51e-05/0.009834, allocations: 4 kB / 276.3 MB, free: 14.1 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.663e-05/0.009891, allocations: 19.92 kB / 276.3 MB, free: 14.08 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005483/0.01044, allocations: 286.9 kB / 276.6 MB, free: 13.75 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001537/0.01059, allocations: 116.2 kB / 276.7 MB, free: 13.59 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.777e-05/0.01066, allocations: 50.8 kB / 276.8 MB, free: 13.52 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.198e-05/0.01069, allocations: 4 kB / 276.8 MB, free: 13.52 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.227e-05/0.01073, allocations: 37.39 kB / 276.8 MB, free: 13.47 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 2.074e-06/0.01073, allocations: 4 kB / 276.8 MB, free: 13.46 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002618/0.01099, allocations: 81.5 kB / 276.9 MB, free: 13.38 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.974e-05/0.01107, allocations: 136.5 kB / 277 MB, free: 13.21 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004868/0.01156, allocations: 200.9 kB / 277.2 MB, free: 13 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.536e-05/0.01157, allocations: 25.7 kB / 277.2 MB, free: 12.97 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.299e-05/0.01164, allocations: 134.9 kB / 277.4 MB, free: 12.84 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.728e-05/0.01167, allocations: 12.45 kB / 277.4 MB, free: 12.82 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.962e-05/0.01172, allocations: 27.33 kB / 277.4 MB, free: 12.79 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001792/0.0119, allocations: 0.4922 MB / 277.9 MB, free: 12.29 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.471e-05/0.01192, allocations: 0 / 277.9 MB, free: 12.29 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.827e-05/0.01195, allocations: 19.38 kB / 277.9 MB, free: 12.26 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.811e-05/0.01201, allocations: 27.31 kB / 277.9 MB, free: 12.22 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.01201, allocations: 0 / 277.9 MB, free: 12.22 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001041/0.01212, allocations: 45.62 kB / 278 MB, free: 12.17 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.01214, allocations: 4 kB / 278 MB, free: 12.17 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.958e-06/0.01215, allocations: 8.125 kB / 278 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.324e-05/0.01217, allocations: 0 / 278 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.771e-05/0.01227, allocations: 11.98 kB / 278 MB, free: 12.15 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.01228, allocations: 0 / 278 MB, free: 12.15 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.315e-05/0.01231, allocations: 11.83 kB / 278 MB, free: 12.14 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.361e-05/0.01232, allocations: 4 kB / 278 MB, free: 12.13 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001085/0.01243, allocations: 160.5 kB / 278.2 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001201/0.01255, allocations: 61.62 kB / 278.2 MB, free: 11.9 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.905e-05/0.0126, allocations: 7.969 kB / 278.2 MB, free: 11.89 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.01261, allocations: 8.062 kB / 278.3 MB, free: 11.89 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.01261, allocations: 3.938 kB / 278.3 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.01262, allocations: 0 / 278.3 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002232/0.01284, allocations: 136.5 kB / 278.4 MB, free: 11.71 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.01284, allocations: 4 kB / 278.4 MB, free: 11.71 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.099e-05/0.01293, allocations: 11.98 kB / 278.4 MB, free: 11.7 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.901e-06/0.01293, allocations: 4 kB / 278.4 MB, free: 11.7 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.01294, allocations: 0 / 278.4 MB, free: 11.7 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.01294, allocations: 0 / 278.4 MB, free: 11.7 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.01295, allocations: 4 kB / 278.4 MB, free: 11.69 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002481/0.0132, allocations: 246.8 kB / 278.7 MB, free: 11.42 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.18e-05/0.01326, allocations: 15.94 kB / 278.7 MB, free: 11.4 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.101e-05/0.01328, allocations: 0 / 278.7 MB, free: 11.4 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/0.01338, allocations: 8 kB / 278.7 MB, free: 11.39 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.967e-05/0.01343, allocations: 3.984 kB / 278.7 MB, free: 11.39 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.173e-06/0.01344, allocations: 4 kB / 278.7 MB, free: 11.39 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000104/0.01354, allocations: 143.2 kB / 278.8 MB, free: 11.25 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01354, allocations: 0 / 278.8 MB, free: 11.25 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003482/0.01389, allocations: 15.95 kB / 278.8 MB, free: 11.23 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001571/0.01405, allocations: 95.23 kB / 278.9 MB, free: 11.12 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001509/0.0142, allocations: 35.56 kB / 279 MB, free: 11.09 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.0142, allocations: 0 / 279 MB, free: 11.09 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.905e-05/0.01423, allocations: 15.67 kB / 279 MB, free: 11.07 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005116/0.01474, allocations: 33.02 kB / 279 MB, free: 11.03 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000934/0.01568, allocations: 207.6 kB / 279.2 MB, free: 10.79 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.771e-05/0.01576, allocations: 67.34 kB / 279.3 MB, free: 10.71 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.838e-05/0.0158, allocations: 12.05 kB / 279.3 MB, free: 10.7 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.028e-05/0.01585, allocations: 16.5 kB / 279.3 MB, free: 10.68 MB / 266.7 MB Notification: Performance of SimCode: time 1.212e-06/0.01586, allocations: 0 / 279.3 MB, free: 10.68 MB / 266.7 MB Notification: Performance of Templates: time 0.004647/0.0205, allocations: 0.757 MB / 280.1 MB, free: 9.941 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Hold/Hold.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: 3.1966957482509315]