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.001682/0.001682, allocations: 92.62 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.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.001869/0.001869, allocations: 149.4 kB / 24.26 MB, free: 184 kB / 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 1.463/1.463, allocations: 173.4 MB / 200.8 MB, free: 9.301 MB / 186.7 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.914e-06/1.914e-06, allocations: 0 / 267.3 MB, free: 6.734 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.239e-05/3.431e-05, allocations: 2.312 kB / 267.3 MB, free: 6.73 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample): time 0.005367/0.005401, allocations: 1.866 MB / 269.2 MB, free: 4.852 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003253/0.008655, allocations: 1.067 MB / 270.2 MB, free: 3.777 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001446/0.008799, allocations: 7.938 kB / 270.3 MB, free: 3.77 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004019/0.009201, allocations: 67.61 kB / 270.3 MB, free: 3.703 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004019/0.009603, allocations: 95.52 kB / 270.4 MB, free: 3.609 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001148/0.01075, allocations: 255.1 kB / 270.7 MB, free: 3.359 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003912/0.01114, allocations: 175.5 kB / 270.8 MB, free: 3.188 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001287/0.01127, allocations: 25.78 kB / 270.9 MB, free: 3.16 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002262/0.0115, allocations: 91.75 kB / 270.9 MB, free: 3.07 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001794/0.01168, allocations: 71.83 kB / 271 MB, free: 3 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.876e-05/0.01172, allocations: 8 kB / 271 MB, free: 2.992 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002555/0.01197, allocations: 75.81 kB / 271.1 MB, free: 2.918 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001166/0.01209, allocations: 51.78 kB / 271.2 MB, free: 2.867 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000106/0.01219, allocations: 39.86 kB / 271.2 MB, free: 2.828 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005513/0.01274, allocations: 243.1 kB / 271.4 MB, free: 2.59 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.01275, allocations: 0 / 271.4 MB, free: 2.59 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.01275, allocations: 0 / 271.4 MB, free: 2.59 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.03e-06/0.01275, allocations: 0 / 271.4 MB, free: 2.59 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.001015/0.01377, allocations: 470.6 kB / 271.9 MB, free: 2.094 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.01381, allocations: 12.03 kB / 271.9 MB, free: 2.082 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001172/0.01393, allocations: 24.8 kB / 271.9 MB, free: 2.059 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006044/0.01453, allocations: 240.7 kB / 272.2 MB, free: 1.797 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.231e-05/0.01455, allocations: 4.375 kB / 272.2 MB, free: 1.793 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.708e-05/0.01458, allocations: 8.375 kB / 272.2 MB, free: 1.785 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00055/0.01513, allocations: 185 kB / 272.4 MB, free: 1.574 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.676e-05/0.01515, allocations: 7.922 kB / 272.4 MB, free: 1.566 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.711e-05/0.01517, allocations: 0 / 272.4 MB, free: 1.566 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.827e-06/0.01517, allocations: 4 kB / 272.4 MB, free: 1.562 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001901/0.01536, allocations: 35.92 kB / 272.4 MB, free: 1.527 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007599/0.01612, allocations: 314.1 kB / 272.7 MB, free: 1.184 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004329/0.01656, allocations: 119.8 kB / 272.8 MB, free: 1.039 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001733/0.01673, allocations: 50.5 kB / 272.9 MB, free: 0.9805 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.648e-05/0.01677, allocations: 4 kB / 272.9 MB, free: 0.9766 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002556/0.01702, allocations: 75.38 kB / 272.9 MB, free: 0.8906 MB / 250.7 MB Notification: Performance of pre-optimization done (n=9): time 1.804e-06/0.01702, allocations: 0 / 272.9 MB, free: 0.8906 MB / 250.7 MB Notification: Performance of matching and sorting (n=9): time 0.0006629/0.01769, allocations: 165.4 kB / 273.1 MB, free: 0.7227 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001589/0.01785, allocations: 136.5 kB / 273.2 MB, free: 0.5586 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000605/0.01845, allocations: 325.9 kB / 273.6 MB, free: 236 kB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.59e-05/0.01849, allocations: 25.7 kB / 273.6 MB, free: 204 kB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001571/0.01864, allocations: 132.3 kB / 273.7 MB, free: 68 kB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.137e-05/0.01869, allocations: 15.91 kB / 273.7 MB, free: 52 kB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.937e-05/0.01877, allocations: 33.66 kB / 273.8 MB, free: 12 kB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002843/0.01906, allocations: 326.8 kB / 274.1 MB, free: 15.68 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001218/0.01918, allocations: 23.98 kB / 274.1 MB, free: 15.66 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002197/0.0194, allocations: 114.8 kB / 274.2 MB, free: 15.52 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002583/0.01966, allocations: 65.83 kB / 274.3 MB, free: 15.45 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.01966, allocations: 0 / 274.3 MB, free: 15.45 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004005/0.02006, allocations: 109.5 kB / 274.4 MB, free: 15.34 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.02008, allocations: 8.062 kB / 274.4 MB, free: 15.33 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/0.02009, allocations: 4 kB / 274.4 MB, free: 15.33 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.02011, allocations: 0 / 274.4 MB, free: 15.33 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001547/0.02026, allocations: 15.98 kB / 274.4 MB, free: 15.31 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.119e-05/0.02027, allocations: 4 kB / 274.4 MB, free: 15.31 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001163/0.02039, allocations: 7.891 kB / 274.4 MB, free: 15.3 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.443e-05/0.0204, allocations: 4 kB / 274.4 MB, free: 15.3 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.0002449/0.02065, allocations: 153.8 kB / 274.6 MB, free: 15.14 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000168/0.02082, allocations: 69.5 kB / 274.7 MB, free: 15.06 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000439/0.02125, allocations: 123.5 kB / 274.8 MB, free: 14.93 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/0.02126, allocations: 4 kB / 274.8 MB, free: 14.93 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.02127, allocations: 0 / 274.8 MB, free: 14.93 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.02127, allocations: 0 / 274.8 MB, free: 14.93 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003325/0.0216, allocations: 185.2 kB / 275 MB, free: 14.72 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.02161, allocations: 0 / 275 MB, free: 14.72 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001088/0.02172, allocations: 12 kB / 275 MB, free: 14.71 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.177e-06/0.02172, allocations: 0 / 275 MB, free: 14.71 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.959e-05/0.02174, allocations: 7.984 kB / 275 MB, free: 14.7 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.02174, allocations: 0 / 275 MB, free: 14.7 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.02174, allocations: 4 kB / 275 MB, free: 14.7 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005047/0.02225, allocations: 178.5 kB / 275.2 MB, free: 14.5 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000144/0.02239, allocations: 39.78 kB / 275.2 MB, free: 14.46 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.651e-05/0.02244, allocations: 4 kB / 275.2 MB, free: 14.45 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001165/0.02256, allocations: 11.98 kB / 275.2 MB, free: 14.44 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.21e-05/0.02263, allocations: 11.98 kB / 275.2 MB, free: 14.43 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.46e-05/0.02265, allocations: 4 kB / 275.2 MB, free: 14.43 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0004302/0.02308, allocations: 241.2 kB / 275.5 MB, free: 14.19 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.02308, allocations: 0 / 275.5 MB, free: 14.19 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004843/0.02357, allocations: 35.98 kB / 275.5 MB, free: 14.16 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.002812/0.02638, allocations: 457.1 kB / 275.9 MB, free: 13.89 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003611/0.02674, allocations: 67.89 kB / 276 MB, free: 13.82 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.02674, allocations: 0 / 276 MB, free: 13.82 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001434/0.02689, allocations: 31.98 kB / 276 MB, free: 13.79 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006693/0.02756, allocations: 73.14 kB / 276.1 MB, free: 13.72 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001015/0.02857, allocations: 378.9 kB / 276.5 MB, free: 13.32 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002276/0.0288, allocations: 127.9 kB / 276.6 MB, free: 13.18 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000138/0.02894, allocations: 33.61 kB / 276.6 MB, free: 13.14 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.69e-05/0.02902, allocations: 16.5 kB / 276.7 MB, free: 13.12 MB / 266.7 MB Notification: Performance of SimCode: time 1.062e-06/0.02903, allocations: 4 kB / 276.7 MB, free: 13.12 MB / 266.7 MB Notification: Performance of Templates: time 0.01131/0.04033, allocations: 2.932 MB / 279.6 MB, free: 10.23 MB / 266.7 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.385595971019939]