Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.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.001944/0.001944, 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.001661/0.001661, 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.499/1.499, allocations: 177.1 MB / 204.6 MB, free: 5.586 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.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 272.3 MB, free: 1.82 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.861e-05/3.007e-05, allocations: 2.312 kB / 272.3 MB, free: 1.816 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample): time 0.003741/0.003771, allocations: 1.889 MB / 274.2 MB, free: 15.91 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002539/0.00631, allocations: 1.192 MB / 275.4 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000149/0.006459, allocations: 7.938 kB / 275.4 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003467/0.006805, allocations: 71.53 kB / 275.5 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004666/0.007272, allocations: 139.4 kB / 275.6 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007821/0.008054, allocations: 223.1 kB / 275.8 MB, free: 14.28 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003294/0.008383, allocations: 183.5 kB / 276 MB, free: 14.1 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/0.008495, allocations: 21.8 kB / 276 MB, free: 14.08 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002132/0.008708, allocations: 107.7 kB / 276.1 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001409/0.008849, allocations: 67.86 kB / 276.2 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.677e-05/0.008876, allocations: 8 kB / 276.2 MB, free: 13.9 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001956/0.009071, allocations: 71.88 kB / 276.3 MB, free: 13.83 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.925e-05/0.009171, allocations: 55.77 kB / 276.3 MB, free: 13.78 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.568e-05/0.009246, allocations: 39.86 kB / 276.4 MB, free: 13.74 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004084/0.009655, allocations: 251.1 kB / 276.6 MB, free: 13.49 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.009657, allocations: 0 / 276.6 MB, free: 13.49 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.009658, allocations: 0 / 276.6 MB, free: 13.49 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.039e-06/0.009663, allocations: 3.938 kB / 276.6 MB, free: 13.49 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.000795/0.01046, allocations: 478.5 kB / 277.1 MB, free: 12.98 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.01049, allocations: 8.031 kB / 277.1 MB, free: 12.98 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.812e-05/0.01058, allocations: 24.8 kB / 277.1 MB, free: 12.95 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004522/0.01103, allocations: 248.7 kB / 277.4 MB, free: 12.69 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.964e-05/0.01105, allocations: 8.375 kB / 277.4 MB, free: 12.68 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.955e-05/0.01107, allocations: 4.375 kB / 277.4 MB, free: 12.68 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003914/0.01146, allocations: 181 kB / 277.6 MB, free: 12.47 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.01148, allocations: 7.922 kB / 277.6 MB, free: 12.46 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.609e-05/0.01149, allocations: 4 kB / 277.6 MB, free: 12.46 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.0115, allocations: 0 / 277.6 MB, free: 12.46 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000133/0.01163, allocations: 39.91 kB / 277.6 MB, free: 12.42 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005445/0.01218, allocations: 310.2 kB / 277.9 MB, free: 12.08 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003038/0.01248, allocations: 123.8 kB / 278 MB, free: 11.93 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001083/0.01259, allocations: 46.5 kB / 278.1 MB, free: 11.88 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.87e-05/0.01262, allocations: 11.94 kB / 278.1 MB, free: 11.86 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001905/0.01281, allocations: 75.38 kB / 278.2 MB, free: 11.78 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 9.568e-06/0.01282, allocations: 0 / 278.2 MB, free: 11.78 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004669/0.01328, allocations: 165.4 kB / 278.3 MB, free: 11.61 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001144/0.0134, allocations: 136.5 kB / 278.5 MB, free: 11.45 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004306/0.01383, allocations: 333.9 kB / 278.8 MB, free: 11.11 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.818e-05/0.01386, allocations: 29.7 kB / 278.8 MB, free: 11.08 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001191/0.01398, allocations: 136.2 kB / 278.9 MB, free: 10.94 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.97e-05/0.01401, allocations: 19.98 kB / 279 MB, free: 10.92 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.201e-05/0.01407, allocations: 33.69 kB / 279 MB, free: 10.88 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001901/0.01426, allocations: 330.8 kB / 279.3 MB, free: 10.55 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.157e-05/0.01433, allocations: 20 kB / 279.3 MB, free: 10.53 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001427/0.01447, allocations: 110.8 kB / 279.4 MB, free: 10.4 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001685/0.01464, allocations: 69.58 kB / 279.5 MB, free: 10.32 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.01464, allocations: 0 / 279.5 MB, free: 10.32 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000249/0.01489, allocations: 105.5 kB / 279.6 MB, free: 10.21 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.01491, allocations: 12.06 kB / 279.6 MB, free: 10.2 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.01491, allocations: 0 / 279.6 MB, free: 10.2 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.01492, allocations: 0 / 279.6 MB, free: 10.2 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.716e-05/0.01502, allocations: 19.92 kB / 279.6 MB, free: 10.18 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.01502, allocations: 0 / 279.6 MB, free: 10.18 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.853e-05/0.01509, allocations: 4 kB / 279.7 MB, free: 10.18 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.645e-06/0.0151, allocations: 0 / 279.7 MB, free: 10.18 MB / 266.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 0.0001699/0.01527, allocations: 157.8 kB / 279.8 MB, free: 10.02 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001137/0.01538, allocations: 73.48 kB / 279.9 MB, free: 9.938 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003243/0.01571, allocations: 123.5 kB / 280 MB, free: 9.805 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.01571, allocations: 0 / 280 MB, free: 9.805 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.01572, allocations: 4 kB / 280 MB, free: 9.801 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.01573, allocations: 3.984 kB / 280 MB, free: 9.797 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002241/0.01595, allocations: 181.1 kB / 280.2 MB, free: 9.59 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.01595, allocations: 320 / 280.2 MB, free: 9.59 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.833e-05/0.01603, allocations: 23.86 kB / 280.2 MB, free: 9.566 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.01603, allocations: 0 / 280.2 MB, free: 9.566 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.01604, allocations: 4 kB / 280.2 MB, free: 9.562 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.01605, allocations: 4 kB / 280.2 MB, free: 9.559 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.01605, allocations: 0 / 280.2 MB, free: 9.559 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003371/0.01638, allocations: 186.5 kB / 280.4 MB, free: 9.352 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.576e-05/0.01647, allocations: 35.83 kB / 280.4 MB, free: 9.316 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.583e-05/0.01651, allocations: 8 kB / 280.4 MB, free: 9.309 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.735e-05/0.01657, allocations: 0 / 280.4 MB, free: 9.309 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.417e-05/0.01664, allocations: 11.98 kB / 280.5 MB, free: 9.297 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.724e-05/0.01665, allocations: 8 kB / 280.5 MB, free: 9.289 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002906/0.01694, allocations: 245.2 kB / 280.7 MB, free: 9.051 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01695, allocations: 0 / 280.7 MB, free: 9.051 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002648/0.01721, allocations: 35.94 kB / 280.7 MB, free: 9.016 MB / 266.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,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.002003/0.01921, allocations: 461.7 kB / 281.2 MB, free: 8.742 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002353/0.01945, allocations: 67.94 kB / 281.3 MB, free: 8.676 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.01945, allocations: 4 kB / 281.3 MB, free: 8.672 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001089/0.01956, allocations: 35.86 kB / 281.3 MB, free: 8.637 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004305/0.01999, allocations: 61.05 kB / 281.3 MB, free: 8.574 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007586/0.02075, allocations: 394 kB / 281.7 MB, free: 8.156 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001641/0.02092, allocations: 135.9 kB / 281.9 MB, free: 8.004 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.207e-05/0.021, allocations: 25.62 kB / 281.9 MB, free: 7.98 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.772e-05/0.02107, allocations: 24.5 kB / 281.9 MB, free: 7.957 MB / 266.7 MB Notification: Performance of SimCode: time 5.41e-07/0.02107, allocations: 0 / 281.9 MB, free: 7.957 MB / 266.7 MB Notification: Performance of Templates: time 0.007863/0.02893, allocations: 2.978 MB / 284.9 MB, free: 5.02 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SubSample/SubSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.4299704019213095]