Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.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.0007848/0.0007848, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001323/0.002108, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 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.0006925/0.0006925, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009796/0.001672, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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.9128/0.9128, allocations: 173.3 MB / 185.8 MB, free: 8.996 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08747/1, allocations: 52.5 MB / 238.3 MB, free: 4.43 MB / 234.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.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5053,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5053,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 239.5 MB, free: 3.191 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.173e-05/1.335e-05, allocations: 2.312 kB / 239.5 MB, free: 3.188 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.002529/0.002542, allocations: 1.96 MB / 241.5 MB, free: 1.219 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001359/0.003901, allocations: 1.152 MB / 242.6 MB, free: 60 kB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001241/0.004025, allocations: 7.938 kB / 242.7 MB, free: 52 kB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002295/0.004255, allocations: 67.59 kB / 242.7 MB, free: 15.98 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002004/0.004455, allocations: 95.53 kB / 242.8 MB, free: 15.89 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005577/0.005013, allocations: 259 kB / 243.1 MB, free: 15.64 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002146/0.005227, allocations: 171.5 kB / 243.2 MB, free: 15.47 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.888e-05/0.005316, allocations: 18.47 kB / 243.3 MB, free: 15.45 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001561/0.005472, allocations: 131.6 kB / 243.4 MB, free: 15.32 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.273e-05/0.005565, allocations: 63.86 kB / 243.4 MB, free: 15.26 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.899e-05/0.005584, allocations: 8 kB / 243.5 MB, free: 15.25 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001447/0.005729, allocations: 67.94 kB / 243.5 MB, free: 15.18 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.979e-05/0.005788, allocations: 47.8 kB / 243.6 MB, free: 15.14 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.971e-05/0.005828, allocations: 31.88 kB / 243.6 MB, free: 15.11 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002127/0.006041, allocations: 175.3 kB / 243.8 MB, free: 14.93 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.504e-05/0.006056, allocations: 0 / 243.8 MB, free: 14.93 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.006057, allocations: 0 / 243.8 MB, free: 14.93 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.785e-05/0.006075, allocations: 0 / 243.8 MB, free: 14.93 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0005386/0.006613, allocations: 480.7 kB / 244.2 MB, free: 14.43 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.033e-05/0.006643, allocations: 11.98 kB / 244.2 MB, free: 14.42 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.147e-05/0.006685, allocations: 20.92 kB / 244.3 MB, free: 14.4 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002201/0.006905, allocations: 200.8 kB / 244.5 MB, free: 14.18 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.795e-05/0.006923, allocations: 4.375 kB / 244.5 MB, free: 14.18 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.197e-05/0.006935, allocations: 4.375 kB / 244.5 MB, free: 14.17 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002231/0.007158, allocations: 153.2 kB / 244.6 MB, free: 14 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.007169, allocations: 3.938 kB / 244.6 MB, free: 14 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-06/0.007179, allocations: 4 kB / 244.6 MB, free: 13.99 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.007184, allocations: 0 / 244.6 MB, free: 13.99 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.294e-05/0.007227, allocations: 18.81 kB / 244.6 MB, free: 13.97 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003015/0.007529, allocations: 203.6 kB / 244.8 MB, free: 13.75 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001244/0.007653, allocations: 133.3 kB / 245 MB, free: 13.59 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.979e-05/0.007683, allocations: 30.64 kB / 245 MB, free: 13.55 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.19e-05/0.007705, allocations: 7.938 kB / 245 MB, free: 13.54 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.553e-05/0.0078, allocations: 74.09 kB / 245.1 MB, free: 13.46 MB / 250.7 MB Notification: Performance of pre-optimization done (n=9): time 1.193e-06/0.007802, allocations: 0 / 245.1 MB, free: 13.46 MB / 250.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001318/0.007933, allocations: 85.78 kB / 245.2 MB, free: 13.37 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.205e-05/0.007975, allocations: 106.8 kB / 245.3 MB, free: 13.24 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001457/0.008121, allocations: 254.9 kB / 245.5 MB, free: 12.97 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.366e-05/0.008135, allocations: 29.7 kB / 245.6 MB, free: 12.94 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.98e-05/0.008175, allocations: 108.5 kB / 245.7 MB, free: 12.83 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.892e-05/0.008194, allocations: 23.81 kB / 245.7 MB, free: 12.8 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.108e-05/0.008225, allocations: 25.67 kB / 245.7 MB, free: 12.77 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.642e-05/0.008301, allocations: 334.8 kB / 246 MB, free: 12.44 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.464e-05/0.008326, allocations: 18.83 kB / 246.1 MB, free: 12.42 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.404e-05/0.00836, allocations: 56.25 kB / 246.1 MB, free: 12.35 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.94e-05/0.008409, allocations: 39.34 kB / 246.1 MB, free: 12.3 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.008411, allocations: 0 / 246.1 MB, free: 12.3 MB / 250.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.902e-05/0.00848, allocations: 76.41 kB / 246.2 MB, free: 12.22 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.061e-05/0.00849, allocations: 8 kB / 246.2 MB, free: 12.21 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.309e-06/0.008495, allocations: 3.984 kB / 246.2 MB, free: 12.21 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.764e-06/0.008502, allocations: 0 / 246.2 MB, free: 12.21 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.395e-05/0.008566, allocations: 15.98 kB / 246.2 MB, free: 12.19 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.865e-06/0.008569, allocations: 0 / 246.2 MB, free: 12.19 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.211e-05/0.008601, allocations: 4 kB / 246.3 MB, free: 12.19 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.559e-06/0.008606, allocations: 0 / 246.3 MB, free: 12.19 MB / 250.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: 6 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 6.411e-05/0.00867, allocations: 124.6 kB / 246.4 MB, free: 12.05 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.71e-05/0.008707, allocations: 57.66 kB / 246.4 MB, free: 11.99 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.939e-05/0.008797, allocations: 79.38 kB / 246.5 MB, free: 11.91 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.008798, allocations: 4 kB / 246.5 MB, free: 11.91 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.794e-06/0.0088, allocations: 0 / 246.5 MB, free: 11.91 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.008803, allocations: 0 / 246.5 MB, free: 11.91 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.157e-05/0.008895, allocations: 113.8 kB / 246.6 MB, free: 11.78 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.008896, allocations: 0 / 246.6 MB, free: 11.78 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.961e-05/0.008936, allocations: 16 kB / 246.6 MB, free: 11.76 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.116e-05/0.008977, allocations: 31.78 kB / 246.7 MB, free: 11.73 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.008979, allocations: 0 / 246.7 MB, free: 11.73 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.664e-06/0.008986, allocations: 16.11 kB / 246.7 MB, free: 11.71 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.008987, allocations: 4 kB / 246.7 MB, free: 11.71 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.008988, allocations: 0 / 246.7 MB, free: 11.71 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.501e-05/0.009063, allocations: 104.4 kB / 246.8 MB, free: 11.58 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.154e-05/0.009085, allocations: 15.92 kB / 246.8 MB, free: 11.57 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.737e-05/0.009112, allocations: 4 kB / 246.8 MB, free: 11.56 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.769e-05/0.00914, allocations: 3.984 kB / 246.8 MB, free: 11.56 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.838e-06/0.00915, allocations: 8 kB / 246.8 MB, free: 11.55 MB / 250.7 MB Notification: Performance of sorting global known variables: time 7.04e-05/0.00922, allocations: 97.59 kB / 246.9 MB, free: 11.45 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00922, allocations: 3.938 kB / 246.9 MB, free: 11.45 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000139/0.009359, allocations: 35.94 kB / 247 MB, free: 11.41 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,superSample1.y,sample1.y,superSample1.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 (10): * Single equations (assignments): 8 * 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.001135/0.01049, allocations: 0.5643 MB / 247.5 MB, free: 11.12 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 8.652e-05/0.01058, allocations: 44.83 kB / 247.6 MB, free: 11.07 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 6.151e-06/0.01059, allocations: 0 / 247.6 MB, free: 11.07 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.09e-05/0.01062, allocations: 28.78 kB / 247.6 MB, free: 11.04 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001744/0.01079, allocations: 76.19 kB / 247.7 MB, free: 10.97 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004486/0.01124, allocations: 332.4 kB / 248 MB, free: 10.61 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.303e-05/0.01128, allocations: 83.81 kB / 248.1 MB, free: 10.51 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.323e-05/0.01133, allocations: 21.47 kB / 248.1 MB, free: 10.49 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.118e-05/0.01141, allocations: 79.36 kB / 248.2 MB, free: 10.41 MB / 250.7 MB Notification: Performance of SimCode: time 6.01e-07/0.01141, allocations: 0 / 248.2 MB, free: 10.41 MB / 250.7 MB Notification: Performance of Templates: time 0.00451/0.01592, allocations: 3.149 MB / 251.3 MB, free: 7.316 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SuperSample/SuperSample.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: 2.5383687810972333]