Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.001587/0.001587, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.001685/0.001685, allocations: 161.7 kB / 24.27 MB, free: 172 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.512/1.512, allocations: 177.1 MB / 204.6 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] 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.IntegerSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 272.3 MB, free: 1.824 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.984e-05/3.139e-05, allocations: 2.312 kB / 272.3 MB, free: 1.82 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold): time 0.003846/0.003878, allocations: 1.908 MB / 274.2 MB, free: 15.9 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002531/0.006409, allocations: 1.227 MB / 275.5 MB, free: 14.66 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001557/0.006564, allocations: 7.938 kB / 275.5 MB, free: 14.66 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003649/0.006929, allocations: 75.59 kB / 275.5 MB, free: 14.58 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004767/0.007406, allocations: 135.3 kB / 275.7 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007848/0.008191, allocations: 231.1 kB / 275.9 MB, free: 14.22 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003307/0.008521, allocations: 187.5 kB / 276.1 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001245/0.008646, allocations: 33.78 kB / 276.1 MB, free: 14.01 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002241/0.00887, allocations: 103.7 kB / 276.2 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001661/0.009036, allocations: 71.8 kB / 276.3 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.02e-05/0.009066, allocations: 8 kB / 276.3 MB, free: 13.83 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001838/0.00925, allocations: 75.88 kB / 276.4 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001008/0.009351, allocations: 59.77 kB / 276.4 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.381e-05/0.009435, allocations: 43.84 kB / 276.5 MB, free: 13.65 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006806/0.01012, allocations: 255.1 kB / 276.7 MB, free: 13.4 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.01012, allocations: 0 / 276.7 MB, free: 13.4 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.01012, allocations: 0 / 276.7 MB, free: 13.4 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.845e-06/0.01013, allocations: 0 / 276.7 MB, free: 13.4 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008762/0.011, allocations: 482.4 kB / 277.2 MB, free: 12.89 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.01104, allocations: 12.03 kB / 277.2 MB, free: 12.88 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001022/0.01114, allocations: 36.73 kB / 277.2 MB, free: 12.85 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005003/0.01164, allocations: 240.7 kB / 277.5 MB, free: 12.59 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.999e-05/0.01166, allocations: 4.375 kB / 277.5 MB, free: 12.59 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.476e-05/0.01169, allocations: 12.38 kB / 277.5 MB, free: 12.57 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004511/0.01214, allocations: 189.8 kB / 277.7 MB, free: 12.36 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.01215, allocations: 3.938 kB / 277.7 MB, free: 12.35 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.12e-05/0.01217, allocations: 8 kB / 277.7 MB, free: 12.34 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.381e-06/0.01218, allocations: 0 / 277.7 MB, free: 12.34 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001462/0.01232, allocations: 47.91 kB / 277.7 MB, free: 12.3 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006707/0.01299, allocations: 398.3 kB / 278.1 MB, free: 11.87 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003188/0.01331, allocations: 138.5 kB / 278.2 MB, free: 11.7 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001288/0.01344, allocations: 67.34 kB / 278.3 MB, free: 11.62 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.598e-05/0.01347, allocations: 4 kB / 278.3 MB, free: 11.61 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002202/0.01369, allocations: 97.09 kB / 278.4 MB, free: 11.5 MB / 266.7 MB Notification: Performance of pre-optimization done (n=11): time 1.924e-06/0.01369, allocations: 0 / 278.4 MB, free: 11.5 MB / 266.7 MB Notification: Performance of matching and sorting (n=11): time 0.000519/0.01421, allocations: 181.3 kB / 278.6 MB, free: 11.32 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000133/0.01434, allocations: 162.5 kB / 278.7 MB, free: 11.12 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004425/0.01478, allocations: 344.2 kB / 279.1 MB, free: 10.78 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.029e-05/0.01481, allocations: 29.7 kB / 279.1 MB, free: 10.74 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000122/0.01494, allocations: 136.3 kB / 279.2 MB, free: 10.6 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.288e-05/0.01497, allocations: 19.84 kB / 279.3 MB, free: 10.58 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.097e-05/0.01503, allocations: 25.7 kB / 279.3 MB, free: 10.55 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001938/0.01522, allocations: 338.8 kB / 279.6 MB, free: 10.21 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.881e-05/0.0153, allocations: 19.98 kB / 279.6 MB, free: 10.19 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001597/0.01546, allocations: 115.7 kB / 279.8 MB, free: 10.05 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001712/0.01563, allocations: 78.69 kB / 279.8 MB, free: 9.965 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.01564, allocations: 4.031 kB / 279.8 MB, free: 9.961 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002802/0.01592, allocations: 125.5 kB / 280 MB, free: 9.832 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.01593, allocations: 7.938 kB / 280 MB, free: 9.824 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.01594, allocations: 4 kB / 280 MB, free: 9.82 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.01595, allocations: 0 / 280 MB, free: 9.82 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000104/0.01605, allocations: 15.98 kB / 280 MB, free: 9.805 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.01606, allocations: 0 / 280 MB, free: 9.805 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.842e-05/0.01614, allocations: 7.938 kB / 280 MB, free: 9.797 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.368e-05/0.01615, allocations: 4 kB / 280 MB, free: 9.793 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,hold1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.000162/0.01631, allocations: 158.5 kB / 280.2 MB, free: 9.629 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001252/0.01644, allocations: 81.44 kB / 280.2 MB, free: 9.543 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003048/0.01674, allocations: 123.5 kB / 280.4 MB, free: 9.414 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.01675, allocations: 4 kB / 280.4 MB, free: 9.41 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.01675, allocations: 0 / 280.4 MB, free: 9.41 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.01675, allocations: 4 kB / 280.4 MB, free: 9.406 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002343/0.01699, allocations: 181.2 kB / 280.5 MB, free: 9.199 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.01699, allocations: 0 / 280.5 MB, free: 9.199 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.734e-05/0.01708, allocations: 27.98 kB / 280.6 MB, free: 9.172 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.776e-06/0.01708, allocations: 0 / 280.6 MB, free: 9.172 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.287e-05/0.01709, allocations: 4 kB / 280.6 MB, free: 9.168 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.0171, allocations: 0 / 280.6 MB, free: 9.168 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.0171, allocations: 0 / 280.6 MB, free: 9.168 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003555/0.01745, allocations: 199.4 kB / 280.8 MB, free: 8.945 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.561e-05/0.01755, allocations: 47.72 kB / 280.8 MB, free: 8.898 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.476e-05/0.01759, allocations: 8.062 kB / 280.8 MB, free: 8.891 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.979e-05/0.01767, allocations: 7.984 kB / 280.8 MB, free: 8.883 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.71e-05/0.01773, allocations: 15.92 kB / 280.8 MB, free: 8.867 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.636e-05/0.01775, allocations: 8 kB / 280.8 MB, free: 8.859 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002975/0.01804, allocations: 255 kB / 281.1 MB, free: 8.613 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01804, allocations: 0 / 281.1 MB, free: 8.613 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002796/0.01832, allocations: 35.94 kB / 281.1 MB, free: 8.578 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: 9 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,hold1.y,hold1.u,shiftSample1.y,sample1.y,shiftSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00193/0.02025, allocations: 450.7 kB / 281.6 MB, free: 8.316 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002418/0.02049, allocations: 75.84 kB / 281.6 MB, free: 8.242 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.0205, allocations: 0 / 281.6 MB, free: 8.242 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001125/0.02061, allocations: 44.03 kB / 281.7 MB, free: 8.199 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004359/0.02105, allocations: 74.31 kB / 281.8 MB, free: 8.125 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007351/0.02178, allocations: 415 kB / 282.2 MB, free: 7.68 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001552/0.02194, allocations: 132.2 kB / 282.3 MB, free: 7.531 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.167e-05/0.02203, allocations: 29.72 kB / 282.3 MB, free: 7.504 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.746e-05/0.02209, allocations: 24.5 kB / 282.3 MB, free: 7.48 MB / 266.7 MB Notification: Performance of SimCode: time 5.61e-07/0.0221, allocations: 0 / 282.3 MB, free: 7.48 MB / 266.7 MB Notification: Performance of Templates: time 0.008187/0.03028, allocations: 3.111 MB / 285.5 MB, free: 4.414 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/Hold/Hold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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: 4.362290930002928]