Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.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.00131/0.00131, allocations: 79.23 kB / 20.68 MB, free: 1.023 MB / 14.72 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.001336/0.001336, allocations: 144.7 kB / 23.93 MB, free: 4.176 MB / 14.72 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 1.503/1.503, allocations: 173.4 MB / 200.4 MB, free: 12.86 MB / 190.1 MB " [Timeout remaining time 178] 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.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 318.9 MB, free: 3.539 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.253e-05/3.429e-05, allocations: 2.281 kB / 318.9 MB, free: 3.535 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample): time 0.003016/0.003051, allocations: 1.849 MB / 320.8 MB, free: 2.293 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001673/0.004724, allocations: 1.068 MB / 321.8 MB, free: 1.602 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001253/0.004849, allocations: 7.125 kB / 321.8 MB, free: 1.598 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004061/0.005255, allocations: 59.02 kB / 321.9 MB, free: 1.578 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004248/0.00568, allocations: 104.3 kB / 322 MB, free: 1.523 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008051/0.006485, allocations: 256.1 kB / 322.2 MB, free: 1.395 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002722/0.006757, allocations: 170 kB / 322.4 MB, free: 1.316 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001158/0.006873, allocations: 23.92 kB / 322.4 MB, free: 1.301 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002225/0.007095, allocations: 97.62 kB / 322.5 MB, free: 1.258 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002053/0.007301, allocations: 78.09 kB / 322.6 MB, free: 1.23 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.031e-05/0.007341, allocations: 8.562 kB / 322.6 MB, free: 1.23 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001844/0.007525, allocations: 74.2 kB / 322.7 MB, free: 1.211 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.899e-05/0.007614, allocations: 46.55 kB / 322.7 MB, free: 1.191 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.068e-05/0.007685, allocations: 44.48 kB / 322.8 MB, free: 1.164 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000412/0.008097, allocations: 241.7 kB / 323 MB, free: 1.07 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.0081, allocations: 0 / 323 MB, free: 1.07 MB / 286.1 MB Notification: Performance of FrontEnd: time 8.61e-07/0.008101, allocations: 0 / 323 MB, free: 1.07 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.169e-05/0.008113, allocations: 0 / 323 MB, free: 1.07 MB / 286.1 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.000703/0.008816, allocations: 470.5 kB / 323.5 MB, free: 0.6562 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.008859, allocations: 14.25 kB / 323.5 MB, free: 0.6523 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.382e-05/0.008923, allocations: 22.73 kB / 323.5 MB, free: 0.6406 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003964/0.009319, allocations: 229 kB / 323.7 MB, free: 460 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.189e-05/0.009341, allocations: 7.938 kB / 323.7 MB, free: 456 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.606e-05/0.009367, allocations: 4.906 kB / 323.7 MB, free: 456 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003851/0.009752, allocations: 181.2 kB / 323.9 MB, free: 312 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.009766, allocations: 7.938 kB / 323.9 MB, free: 304 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.684e-05/0.009783, allocations: 8.641 kB / 323.9 MB, free: 296 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.009788, allocations: 1.781 kB / 323.9 MB, free: 296 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001268/0.009915, allocations: 36.95 kB / 324 MB, free: 284 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004362/0.01035, allocations: 312.6 kB / 324.3 MB, free: 20 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000299/0.01065, allocations: 118.9 kB / 324.4 MB, free: 15.92 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00011/0.01076, allocations: 50.28 kB / 324.4 MB, free: 15.88 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.987e-05/0.01079, allocations: 7.312 kB / 324.5 MB, free: 15.88 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001871/0.01098, allocations: 78.34 kB / 324.5 MB, free: 15.82 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.523e-06/0.01098, allocations: 0 / 324.5 MB, free: 15.82 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004364/0.01141, allocations: 160.2 kB / 324.7 MB, free: 15.73 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.332e-05/0.01151, allocations: 132 kB / 324.8 MB, free: 15.58 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000416/0.01192, allocations: 328.1 kB / 325.1 MB, free: 15.42 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.579e-05/0.01195, allocations: 25.7 kB / 325.2 MB, free: 15.39 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000105/0.01206, allocations: 124.3 kB / 325.3 MB, free: 15.28 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.54e-05/0.01209, allocations: 24.11 kB / 325.3 MB, free: 15.26 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.939e-05/0.01215, allocations: 34.56 kB / 325.3 MB, free: 15.23 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001597/0.01231, allocations: 330.2 kB / 325.7 MB, free: 14.91 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.392e-05/0.01238, allocations: 18.88 kB / 325.7 MB, free: 14.91 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001362/0.01252, allocations: 112.1 kB / 325.8 MB, free: 14.8 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001652/0.01268, allocations: 68.06 kB / 325.9 MB, free: 14.76 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.01269, allocations: 0 / 325.9 MB, free: 14.76 MB / 302.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002511/0.01294, allocations: 103.1 kB / 326 MB, free: 14.7 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.01296, allocations: 5.609 kB / 326 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.01296, allocations: 8.906 kB / 326 MB, free: 14.69 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.01298, allocations: 1.031 kB / 326 MB, free: 14.69 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001253/0.01311, allocations: 17.95 kB / 326 MB, free: 14.69 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.01311, allocations: 1.375 kB / 326 MB, free: 14.69 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.557e-05/0.01319, allocations: 8.234 kB / 326 MB, free: 14.68 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.107e-05/0.0132, allocations: 2.844 kB / 326 MB, free: 14.68 MB / 302.1 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 0.000178/0.01338, allocations: 149.7 kB / 326.2 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001129/0.01349, allocations: 70.36 kB / 326.2 MB, free: 14.5 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003168/0.01381, allocations: 135.4 kB / 326.4 MB, free: 14.43 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.541e-06/0.01381, allocations: 9.984 kB / 326.4 MB, free: 14.42 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.772e-06/0.01382, allocations: 1.797 kB / 326.4 MB, free: 14.42 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.01383, allocations: 1.906 kB / 326.4 MB, free: 14.42 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002259/0.01405, allocations: 173.3 kB / 326.5 MB, free: 14.27 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.01405, allocations: 1.125 kB / 326.5 MB, free: 14.27 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.673e-05/0.01413, allocations: 17.34 kB / 326.6 MB, free: 14.27 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.01413, allocations: 1.188 kB / 326.6 MB, free: 14.27 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.722e-05/0.01415, allocations: 2.438 kB / 326.6 MB, free: 14.27 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.01415, allocations: 1.25 kB / 326.6 MB, free: 14.27 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.01415, allocations: 2.375 kB / 326.6 MB, free: 14.27 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003068/0.01446, allocations: 179.1 kB / 326.7 MB, free: 14.14 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.218e-05/0.01454, allocations: 39.12 kB / 326.8 MB, free: 14.12 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.051e-05/0.01458, allocations: 6.219 kB / 326.8 MB, free: 14.12 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.786e-05/0.01465, allocations: 3.969 kB / 326.8 MB, free: 14.12 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.195e-05/0.01471, allocations: 12.06 kB / 326.8 MB, free: 14.11 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.012e-05/0.01473, allocations: 5.047 kB / 326.8 MB, free: 14.11 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002843/0.01502, allocations: 242.4 kB / 327 MB, free: 13.99 MB / 302.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.01502, allocations: 0 / 327 MB, free: 13.99 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002801/0.0153, allocations: 30.53 kB / 327.1 MB, free: 13.98 MB / 302.1 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,subSample1.y,sample1.y,subSample1.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.001755/0.01705, allocations: 455.1 kB / 327.5 MB, free: 13.78 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002518/0.01731, allocations: 65.91 kB / 327.6 MB, free: 13.76 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.01731, allocations: 0 / 327.6 MB, free: 13.76 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 9.815e-05/0.01741, allocations: 34.97 kB / 327.6 MB, free: 13.75 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004382/0.01784, allocations: 73.2 kB / 327.7 MB, free: 13.73 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007442/0.01859, allocations: 364.7 kB / 328 MB, free: 13.49 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001703/0.01876, allocations: 131.7 kB / 328.2 MB, free: 13.41 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.551e-05/0.01885, allocations: 30.66 kB / 328.2 MB, free: 13.4 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.469e-05/0.01893, allocations: 24.78 kB / 328.2 MB, free: 13.39 MB / 302.1 MB Notification: Performance of SimCode: time 3.21e-07/0.01893, allocations: 1.219 kB / 328.2 MB, free: 13.39 MB / 302.1 MB Notification: Performance of Templates: time 0.008177/0.02711, allocations: 2.918 MB / 331.1 MB, free: 12.64 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SubSample/SubSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.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.442844998091459]