Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.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.0007495/0.0007495, allocations: 84 kB / 21.43 MB, free: 3.133 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.003292/0.003292, allocations: 143.5 kB / 24.68 MB, free: 8.891 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.8483/0.8483, allocations: 173.4 MB / 201.2 MB, free: 9.422 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.Clocked.Examples.Elementary.IntegerSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 3.938 kB / 319.7 MB, free: 5.867 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.467e-05/2.624e-05, allocations: 2.281 kB / 319.7 MB, free: 5.863 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold): time 0.002385/0.002411, allocations: 1.871 MB / 321.6 MB, free: 3.977 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001566/0.003978, allocations: 1.098 MB / 322.7 MB, free: 2.871 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001117/0.004089, allocations: 8 kB / 322.7 MB, free: 2.863 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003022/0.004392, allocations: 63.61 kB / 322.7 MB, free: 2.801 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002455/0.004637, allocations: 99.47 kB / 322.8 MB, free: 2.703 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005175/0.005155, allocations: 262.2 kB / 323.1 MB, free: 2.449 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002076/0.005362, allocations: 179.4 kB / 323.3 MB, free: 2.273 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.005476, allocations: 29.78 kB / 323.3 MB, free: 2.242 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001196/0.005596, allocations: 103.7 kB / 323.4 MB, free: 2.141 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001017/0.005698, allocations: 71.78 kB / 323.5 MB, free: 2.07 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.413e-05/0.005722, allocations: 12 kB / 323.5 MB, free: 2.059 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001292/0.005851, allocations: 71.83 kB / 323.5 MB, free: 1.988 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.423e-05/0.005925, allocations: 55.83 kB / 323.6 MB, free: 1.934 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.402e-05/0.005979, allocations: 43.78 kB / 323.6 MB, free: 1.891 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002839/0.006263, allocations: 243.2 kB / 323.9 MB, free: 1.652 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.006266, allocations: 0 / 323.9 MB, free: 1.652 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.006268, allocations: 0 / 323.9 MB, free: 1.652 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.006273, allocations: 4 kB / 323.9 MB, free: 1.648 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.000583/0.006856, allocations: 482.5 kB / 324.3 MB, free: 1.141 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.006894, allocations: 12.03 kB / 324.4 MB, free: 1.129 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.731e-05/0.006952, allocations: 24.73 kB / 324.4 MB, free: 1.105 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000313/0.007265, allocations: 224.8 kB / 324.6 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.499e-05/0.00728, allocations: 4.375 kB / 324.6 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.403e-05/0.007294, allocations: 8.375 kB / 324.6 MB, free: 0.8438 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000296/0.00759, allocations: 193.8 kB / 324.8 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.0076, allocations: 7.938 kB / 324.8 MB, free: 0.6133 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.007612, allocations: 4 kB / 324.8 MB, free: 0.6094 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.007617, allocations: 0 / 324.8 MB, free: 0.6094 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.229e-05/0.007699, allocations: 47.91 kB / 324.9 MB, free: 0.5625 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004/0.008099, allocations: 402.2 kB / 325.3 MB, free: 132 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001834/0.008283, allocations: 146.4 kB / 325.4 MB, free: 15.95 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.367e-05/0.008346, allocations: 59.42 kB / 325.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.939e-05/0.008366, allocations: 0 / 325.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001357/0.008501, allocations: 101 kB / 325.6 MB, free: 15.76 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 1.052e-06/0.008503, allocations: 0 / 325.6 MB, free: 15.76 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.000286/0.008788, allocations: 177.4 kB / 325.7 MB, free: 15.58 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.045e-05/0.008859, allocations: 158.6 kB / 325.9 MB, free: 15.39 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002186/0.009078, allocations: 341.8 kB / 326.2 MB, free: 15.05 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.269e-05/0.00909, allocations: 25.7 kB / 326.2 MB, free: 15.02 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.761e-05/0.009158, allocations: 128.3 kB / 326.4 MB, free: 14.89 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.282e-05/0.009181, allocations: 19.84 kB / 326.4 MB, free: 14.87 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.902e-05/0.00922, allocations: 33.7 kB / 326.4 MB, free: 14.83 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.793e-05/0.009308, allocations: 326.8 kB / 326.7 MB, free: 14.5 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.315e-05/0.009351, allocations: 27.92 kB / 326.8 MB, free: 14.47 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.194e-05/0.009423, allocations: 127.6 kB / 326.9 MB, free: 14.32 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.698e-05/0.00951, allocations: 74.53 kB / 327 MB, free: 14.24 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.009512, allocations: 0 / 327 MB, free: 14.24 MB / 298.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001271/0.009639, allocations: 117.8 kB / 327.1 MB, free: 14.12 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.009653, allocations: 4 kB / 327.1 MB, free: 14.11 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.009658, allocations: 7.938 kB / 327.1 MB, free: 14.11 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.009669, allocations: 0 / 327.1 MB, free: 14.11 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.116e-05/0.009741, allocations: 15.98 kB / 327.1 MB, free: 14.09 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.009745, allocations: 0 / 327.1 MB, free: 14.09 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.007e-05/0.009786, allocations: 7.938 kB / 327.1 MB, free: 14.08 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.577e-06/0.009794, allocations: 12.05 kB / 327.1 MB, free: 14.07 MB / 298.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 9.432e-05/0.009888, allocations: 154.4 kB / 327.3 MB, free: 13.91 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.646e-05/0.009945, allocations: 69.48 kB / 327.3 MB, free: 13.84 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001717/0.01012, allocations: 131.5 kB / 327.5 MB, free: 13.7 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.746e-06/0.01012, allocations: 0 / 327.5 MB, free: 13.7 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.01012, allocations: 4 kB / 327.5 MB, free: 13.7 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.01013, allocations: 0 / 327.5 MB, free: 13.7 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000136/0.01026, allocations: 177.2 kB / 327.6 MB, free: 13.5 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.01027, allocations: 3.938 kB / 327.6 MB, free: 13.49 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.33e-05/0.01031, allocations: 24.05 kB / 327.7 MB, free: 13.47 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.01031, allocations: 0 / 327.7 MB, free: 13.47 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.247e-06/0.01032, allocations: 8 kB / 327.7 MB, free: 13.46 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.836e-06/0.01032, allocations: 3.984 kB / 327.7 MB, free: 13.46 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.01032, allocations: 0 / 327.7 MB, free: 13.46 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001662/0.01049, allocations: 195.3 kB / 327.9 MB, free: 13.24 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.422e-05/0.01054, allocations: 43.83 kB / 327.9 MB, free: 13.2 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.86e-05/0.01056, allocations: 0 / 327.9 MB, free: 13.2 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.31e-05/0.0106, allocations: 8 kB / 327.9 MB, free: 13.19 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.739e-05/0.01064, allocations: 11.97 kB / 327.9 MB, free: 13.18 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.476e-05/0.01066, allocations: 8 kB / 327.9 MB, free: 13.17 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001498/0.01081, allocations: 245.2 kB / 328.2 MB, free: 12.93 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01081, allocations: 0 / 328.2 MB, free: 12.93 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001739/0.01098, allocations: 35.94 kB / 328.2 MB, free: 12.89 MB / 298.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.0007344/0.01172, allocations: 453.4 kB / 328.7 MB, free: 12.63 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001655/0.01188, allocations: 75.91 kB / 328.7 MB, free: 12.55 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.01188, allocations: 4.062 kB / 328.7 MB, free: 12.55 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.554e-05/0.01194, allocations: 39.97 kB / 328.8 MB, free: 12.51 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002976/0.01224, allocations: 79.3 kB / 328.9 MB, free: 12.44 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004667/0.0127, allocations: 414.8 kB / 329.3 MB, free: 11.99 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003388/0.01304, allocations: 132.2 kB / 329.4 MB, free: 11.84 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.182e-05/0.01308, allocations: 28.48 kB / 329.4 MB, free: 11.81 MB / 298.7 MB Notification: Performance of SimCode: time 4.21e-07/0.01309, allocations: 0 / 329.4 MB, free: 11.81 MB / 298.7 MB Notification: Performance of Templates: time 0.003378/0.01646, allocations: 3.031 MB / 332.4 MB, free: 8.789 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/Hold/Hold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.258328661322594]