Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0027/0.0027, allocations: 99.53 kB / 20.96 MB, free: 3.457 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.003069/0.003069, allocations: 160.8 kB / 24.27 MB, free: 156 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.6/1.6, allocations: 177 MB / 204.5 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 272.2 MB, free: 1.801 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.248e-05/3.432e-05, allocations: 2.312 kB / 272.2 MB, free: 1.797 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample): time 0.00519/0.005225, allocations: 1.888 MB / 274.1 MB, free: 15.89 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003625/0.00885, allocations: 1.234 MB / 275.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001983/0.009048, allocations: 7.938 kB / 275.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004406/0.009489, allocations: 67.53 kB / 275.4 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006377/0.01013, allocations: 139.4 kB / 275.5 MB, free: 14.44 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001139/0.01127, allocations: 227.1 kB / 275.8 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004417/0.01171, allocations: 187.4 kB / 275.9 MB, free: 14.03 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001637/0.01187, allocations: 21.8 kB / 276 MB, free: 14.01 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000279/0.01215, allocations: 103.7 kB / 276.1 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002047/0.01235, allocations: 67.86 kB / 276.1 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.644e-05/0.0124, allocations: 8 kB / 276.1 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002968/0.0127, allocations: 75.81 kB / 276.2 MB, free: 13.76 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001443/0.01284, allocations: 55.83 kB / 276.3 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001138/0.01296, allocations: 39.86 kB / 276.3 MB, free: 13.67 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006267/0.01358, allocations: 243.1 kB / 276.5 MB, free: 13.43 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.01359, allocations: 4 kB / 276.5 MB, free: 13.43 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.764e-06/0.01359, allocations: 0 / 276.5 MB, free: 13.43 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.0136, allocations: 0 / 276.5 MB, free: 13.43 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.001269/0.01486, allocations: 0.5786 MB / 277.1 MB, free: 12.8 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.791e-05/0.01492, allocations: 15.98 kB / 277.1 MB, free: 12.79 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001178/0.01504, allocations: 24.8 kB / 277.2 MB, free: 12.77 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006237/0.01566, allocations: 239.5 kB / 277.4 MB, free: 12.51 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.438e-05/0.0157, allocations: 12.38 kB / 277.4 MB, free: 12.5 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.836e-05/0.01573, allocations: 8.359 kB / 277.4 MB, free: 12.49 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000616/0.01634, allocations: 194 kB / 277.6 MB, free: 12.26 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.01636, allocations: 192 / 277.6 MB, free: 12.26 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.841e-05/0.01637, allocations: 384 / 277.6 MB, free: 12.26 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.106e-05/0.01639, allocations: 3.938 kB / 277.6 MB, free: 12.26 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001953/0.01658, allocations: 39.92 kB / 277.6 MB, free: 12.22 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001008/0.01759, allocations: 406.9 kB / 278 MB, free: 11.78 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004281/0.01802, allocations: 125.3 kB / 278.2 MB, free: 11.62 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001595/0.01818, allocations: 47.06 kB / 278.2 MB, free: 11.56 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.383e-05/0.01821, allocations: 7.922 kB / 278.2 MB, free: 11.55 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002339/0.01844, allocations: 77.05 kB / 278.3 MB, free: 11.46 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.893e-06/0.01845, allocations: 3.938 kB / 278.3 MB, free: 11.46 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005464/0.01899, allocations: 149.7 kB / 278.4 MB, free: 11.3 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001481/0.01914, allocations: 132.5 kB / 278.6 MB, free: 11.14 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006616/0.0198, allocations: 372.3 kB / 278.9 MB, free: 10.77 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.195e-05/0.01984, allocations: 29.69 kB / 279 MB, free: 10.73 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002275/0.02007, allocations: 198.8 kB / 279.2 MB, free: 10.53 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.603e-05/0.02012, allocations: 19.97 kB / 279.2 MB, free: 10.51 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001016/0.02022, allocations: 35.36 kB / 279.2 MB, free: 10.47 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0004143/0.02063, allocations: 0.5196 MB / 279.7 MB, free: 9.938 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.143e-05/0.02071, allocations: 12 kB / 279.7 MB, free: 9.926 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001946/0.02091, allocations: 114.1 kB / 279.9 MB, free: 9.785 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001867/0.0211, allocations: 63.42 kB / 279.9 MB, free: 9.715 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.155e-06/0.0211, allocations: 0 / 279.9 MB, free: 9.715 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000335/0.02143, allocations: 105.7 kB / 280 MB, free: 9.605 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.327e-05/0.02146, allocations: 4 kB / 280 MB, free: 9.602 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/0.02147, allocations: 4.062 kB / 280 MB, free: 9.598 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.027e-05/0.02149, allocations: 0 / 280 MB, free: 9.598 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001596/0.02165, allocations: 15.98 kB / 280 MB, free: 9.582 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.313e-06/0.02166, allocations: 0 / 280 MB, free: 9.582 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001188/0.02177, allocations: 4 kB / 280.1 MB, free: 9.578 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.905e-05/0.02179, allocations: 4 kB / 280.1 MB, free: 9.574 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.0002556/0.02205, allocations: 180.5 kB / 280.2 MB, free: 9.387 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001844/0.02223, allocations: 65.5 kB / 280.3 MB, free: 9.316 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004863/0.02272, allocations: 119.4 kB / 280.4 MB, free: 9.188 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.189e-06/0.02273, allocations: 0 / 280.4 MB, free: 9.188 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.021e-05/0.02274, allocations: 4 kB / 280.4 MB, free: 9.184 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.02274, allocations: 0 / 280.4 MB, free: 9.184 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004609/0.0232, allocations: 224.4 kB / 280.6 MB, free: 8.93 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.02321, allocations: 0 / 280.6 MB, free: 8.93 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001377/0.02334, allocations: 15.98 kB / 280.7 MB, free: 8.914 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.709e-06/0.02335, allocations: 8 kB / 280.7 MB, free: 8.906 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.047e-05/0.02337, allocations: 4 kB / 280.7 MB, free: 8.902 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/0.02338, allocations: 0 / 280.7 MB, free: 8.902 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.02338, allocations: 0 / 280.7 MB, free: 8.902 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005286/0.02391, allocations: 183.6 kB / 280.8 MB, free: 8.691 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001675/0.02407, allocations: 39.78 kB / 280.9 MB, free: 8.652 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.173e-05/0.02413, allocations: 4 kB / 280.9 MB, free: 8.648 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001268/0.02425, allocations: 7.984 kB / 280.9 MB, free: 8.641 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001046/0.02436, allocations: 15.92 kB / 280.9 MB, free: 8.625 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-05/0.02439, allocations: 4 kB / 280.9 MB, free: 8.621 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0004515/0.02484, allocations: 245.1 kB / 281.2 MB, free: 8.383 MB / 266.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.02484, allocations: 4 kB / 281.2 MB, free: 8.379 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000506/0.02535, allocations: 35.94 kB / 281.2 MB, free: 8.344 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.004699/0.03005, allocations: 448.3 kB / 281.6 MB, free: 8.051 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004859/0.03053, allocations: 79.5 kB / 281.7 MB, free: 7.969 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.03054, allocations: 0 / 281.7 MB, free: 7.969 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001665/0.0307, allocations: 31.67 kB / 281.7 MB, free: 7.934 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000813/0.03152, allocations: 76.11 kB / 281.8 MB, free: 7.855 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001149/0.03266, allocations: 361.1 kB / 282.2 MB, free: 7.469 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002333/0.0329, allocations: 123.9 kB / 282.3 MB, free: 7.328 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001441/0.03304, allocations: 25.61 kB / 282.3 MB, free: 7.305 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001069/0.03315, allocations: 28.48 kB / 282.3 MB, free: 7.277 MB / 266.7 MB Notification: Performance of SimCode: time 9.92e-07/0.03315, allocations: 0 / 282.3 MB, free: 7.277 MB / 266.7 MB Notification: Performance of Templates: time 0.01364/0.04679, allocations: 2.965 MB / 285.3 MB, free: 4.348 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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_trunk_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.755519593018107]