Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.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.00188/0.00188, allocations: 113 kB / 21.18 MB, free: 0.5898 MB / 14.72 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.00221/0.00221, allocations: 209.7 kB / 24.47 MB, free: 3.996 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.591/1.591, allocations: 230.5 MB / 258.1 MB, free: 8.152 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.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-beta.om_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-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Hold") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001963/0.001963, allocations: 67.83 kB / 378.7 MB, free: 2.875 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3519/0.3538, allocations: 53.3 MB / 432 MB, free: 7.387 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Hold): time 0.003195/0.357, allocations: 1.637 MB / 433.7 MB, free: 5.746 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001191/0.3582, allocations: 0.5842 MB / 434.3 MB, free: 5.156 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001058/0.3583, allocations: 0 / 434.3 MB, free: 5.156 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.27e-05/0.3584, allocations: 7.922 kB / 434.3 MB, free: 5.148 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001593/0.3585, allocations: 15.88 kB / 434.3 MB, free: 5.133 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003605/0.3589, allocations: 63.73 kB / 434.4 MB, free: 5.07 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000145/0.359, allocations: 59.78 kB / 434.4 MB, free: 5.012 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.3592, allocations: 12 kB / 434.4 MB, free: 5 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001329/0.3593, allocations: 27.92 kB / 434.5 MB, free: 4.973 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.685e-05/0.3594, allocations: 35.77 kB / 434.5 MB, free: 4.938 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.921e-05/0.3594, allocations: 4 kB / 434.5 MB, free: 4.934 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.635e-05/0.3594, allocations: 8 kB / 434.5 MB, free: 4.926 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.19e-05/0.3595, allocations: 11.94 kB / 434.5 MB, free: 4.914 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.072e-05/0.3595, allocations: 35.73 kB / 434.5 MB, free: 4.879 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001972/0.3597, allocations: 65.64 kB / 434.6 MB, free: 4.816 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3597, allocations: 4 kB / 434.6 MB, free: 4.812 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.3597, allocations: 0 / 434.6 MB, free: 4.812 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.231e-06/0.3597, allocations: 0 / 434.6 MB, free: 4.812 MB / 334.1 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.0006179/0.3604, allocations: 387 kB / 435 MB, free: 4.387 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.3604, allocations: 8.031 kB / 435 MB, free: 4.379 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002012/0.3606, allocations: 20.88 kB / 435 MB, free: 4.359 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003679/0.361, allocations: 224.5 kB / 435.2 MB, free: 4.102 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.361, allocations: 4.375 kB / 435.2 MB, free: 4.098 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.658e-05/0.361, allocations: 12.11 kB / 435.3 MB, free: 4.086 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003328/0.3613, allocations: 126.8 kB / 435.4 MB, free: 3.938 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.3613, allocations: 0 / 435.4 MB, free: 3.938 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.3614, allocations: 0 / 435.4 MB, free: 3.938 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.754e-05/0.3614, allocations: 4 kB / 435.4 MB, free: 3.934 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.325e-05/0.3615, allocations: 27.92 kB / 435.4 MB, free: 3.906 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004561/0.3619, allocations: 295.4 kB / 435.7 MB, free: 3.559 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001533/0.3621, allocations: 90.36 kB / 435.8 MB, free: 3.434 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.66e-05/0.3622, allocations: 43.55 kB / 435.8 MB, free: 3.379 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.6e-05/0.3622, allocations: 4 kB / 435.8 MB, free: 3.375 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.82e-05/0.3622, allocations: 38.5 kB / 435.9 MB, free: 3.328 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.383e-06/0.3622, allocations: 0 / 435.9 MB, free: 3.328 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003169/0.3625, allocations: 101.5 kB / 436 MB, free: 3.223 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001069/0.3627, allocations: 137 kB / 436.1 MB, free: 3.059 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001593/0.3628, allocations: 153.2 kB / 436.3 MB, free: 2.895 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.965e-05/0.3628, allocations: 25.7 kB / 436.3 MB, free: 2.863 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.065e-05/0.3629, allocations: 96.02 kB / 436.4 MB, free: 2.766 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.596e-05/0.3629, allocations: 11.94 kB / 436.4 MB, free: 2.754 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.224e-05/0.363, allocations: 25.67 kB / 436.4 MB, free: 2.723 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.3631, allocations: 318.8 kB / 436.7 MB, free: 2.402 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.808e-05/0.3632, allocations: 8 kB / 436.7 MB, free: 2.395 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.817e-05/0.3632, allocations: 44.28 kB / 436.8 MB, free: 2.336 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00012/0.3634, allocations: 60.22 kB / 436.8 MB, free: 2.262 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.3634, allocations: 4 kB / 436.8 MB, free: 2.258 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001668/0.3635, allocations: 85.5 kB / 436.9 MB, free: 2.168 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.3635, allocations: 4 kB / 436.9 MB, free: 2.164 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.3635, allocations: 3.938 kB / 436.9 MB, free: 2.16 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.3636, allocations: 4 kB / 436.9 MB, free: 2.156 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.558e-05/0.3637, allocations: 15.98 kB / 436.9 MB, free: 2.141 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.427e-06/0.3637, allocations: 7.938 kB / 437 MB, free: 2.133 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.751e-05/0.3637, allocations: 8.094 kB / 437 MB, free: 2.125 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.023e-05/0.3637, allocations: 4 kB / 437 MB, free: 2.121 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (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 prepare postOptimizeDAE: time 0.0001011/0.3638, allocations: 121.8 kB / 437.1 MB, free: 1.992 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.767e-05/0.3639, allocations: 61.58 kB / 437.1 MB, free: 1.926 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.734e-05/0.364, allocations: 19.77 kB / 437.2 MB, free: 1.906 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.364, allocations: 0 / 437.2 MB, free: 1.906 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.004e-06/0.364, allocations: 4 kB / 437.2 MB, free: 1.902 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.364, allocations: 3.938 kB / 437.2 MB, free: 1.898 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002166/0.3642, allocations: 181.7 kB / 437.3 MB, free: 1.672 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.3642, allocations: 0 / 437.3 MB, free: 1.672 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.54e-05/0.3643, allocations: 15.98 kB / 437.4 MB, free: 1.656 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.3643, allocations: 0 / 437.4 MB, free: 1.656 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.184e-05/0.3643, allocations: 4 kB / 437.4 MB, free: 1.652 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.3643, allocations: 0 / 437.4 MB, free: 1.652 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3643, allocations: 0 / 437.4 MB, free: 1.652 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002255/0.3645, allocations: 206.1 kB / 437.6 MB, free: 1.426 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.875e-05/0.3646, allocations: 105 kB / 437.7 MB, free: 1.305 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.634e-05/0.3646, allocations: 0 / 437.7 MB, free: 1.305 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.574e-05/0.3647, allocations: 7.984 kB / 437.7 MB, free: 1.297 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.088e-05/0.3647, allocations: 3.938 kB / 437.7 MB, free: 1.293 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.969e-06/0.3647, allocations: 8 kB / 437.7 MB, free: 1.285 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.251e-05/0.3648, allocations: 111.2 kB / 437.8 MB, free: 1.176 MB / 334.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3648, allocations: 4 kB / 437.8 MB, free: 1.172 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002311/0.365, allocations: 8 kB / 437.8 MB, free: 1.164 MB / 334.1 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.0001377/0.3652, allocations: 99.25 kB / 437.9 MB, free: 1.055 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001755/0.3653, allocations: 47.84 kB / 438 MB, free: 1.008 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3653, allocations: 0 / 438 MB, free: 1.008 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.479e-05/0.3654, allocations: 12.38 kB / 438 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003848/0.3658, allocations: 35.09 kB / 438 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004409/0.3662, allocations: 239.2 kB / 438.2 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003664/0.3666, allocations: 0.6963 MB / 438.9 MB, free: 15.97 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.132e-05/0.3666, allocations: 19.69 kB / 438.9 MB, free: 15.95 MB / 350.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3666, allocations: 3.938 kB / 439 MB, free: 15.95 MB / 350.1 MB Notification: Performance of Templates: time 0.002895/0.3695, allocations: 0.9458 MB / 439.9 MB, free: 15 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Hold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Hold_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Hold/Hold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.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: 7.253891710191965]