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.001268/0.001268, allocations: 112.2 kB / 19.04 MB, free: 3.254 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.001463/0.001463, allocations: 196.4 kB / 22.22 MB, free: 72 kB / 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.563/1.563, allocations: 225.6 MB / 250.8 MB, free: 13.38 MB / 206.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.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 0.001595/0.001595, allocations: 51.91 kB / 368.7 MB, free: 10.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3426/0.3442, allocations: 52.13 MB / 420.9 MB, free: 15.13 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.003914/0.3481, allocations: 1.912 MB / 422.8 MB, free: 13.21 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002329/0.3504, allocations: 1.177 MB / 423.9 MB, free: 12.02 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001494/0.3506, allocations: 3.938 kB / 423.9 MB, free: 12.02 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003263/0.3509, allocations: 67.59 kB / 424 MB, free: 11.95 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002976/0.3512, allocations: 91.66 kB / 424.1 MB, free: 11.86 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008888/0.3521, allocations: 258.6 kB / 424.4 MB, free: 11.61 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002808/0.3524, allocations: 167.6 kB / 424.5 MB, free: 11.45 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001391/0.3525, allocations: 29.48 kB / 424.5 MB, free: 11.42 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001158/0.3526, allocations: 71.69 kB / 424.6 MB, free: 11.35 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001407/0.3528, allocations: 87.61 kB / 424.7 MB, free: 11.27 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.575e-05/0.3528, allocations: 8 kB / 424.7 MB, free: 11.26 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000185/0.353, allocations: 67.94 kB / 424.8 MB, free: 11.19 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.562e-05/0.3531, allocations: 43.84 kB / 424.8 MB, free: 11.15 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.031e-05/0.3531, allocations: 79.47 kB / 424.9 MB, free: 11.07 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004044/0.3535, allocations: 240.2 kB / 425.1 MB, free: 10.84 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.027e-05/0.3536, allocations: 8 kB / 425.1 MB, free: 10.83 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.3536, allocations: 0 / 425.1 MB, free: 10.83 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.3536, allocations: 0 / 425.1 MB, free: 10.83 MB / 334.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.0007964/0.3544, allocations: 0.5348 MB / 425.7 MB, free: 10.24 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.3544, allocations: 11.89 kB / 425.7 MB, free: 10.23 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.09e-05/0.3545, allocations: 28.78 kB / 425.7 MB, free: 10.2 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005304/0.355, allocations: 291.8 kB / 426 MB, free: 9.879 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.935e-05/0.355, allocations: 8.375 kB / 426 MB, free: 9.871 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.019e-05/0.355, allocations: 8.125 kB / 426 MB, free: 9.863 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003923/0.3554, allocations: 155.6 kB / 426.2 MB, free: 9.684 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.3554, allocations: 0 / 426.2 MB, free: 9.684 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.657e-05/0.3555, allocations: 8 kB / 426.2 MB, free: 9.676 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-06/0.3555, allocations: 0 / 426.2 MB, free: 9.676 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001364/0.3556, allocations: 35.92 kB / 426.2 MB, free: 9.641 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006672/0.3563, allocations: 390.3 kB / 426.6 MB, free: 9.203 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002889/0.3566, allocations: 119.9 kB / 426.7 MB, free: 9.059 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.125e-05/0.3567, allocations: 38.56 kB / 426.7 MB, free: 9.012 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.101e-05/0.3567, allocations: 4 kB / 426.8 MB, free: 9.008 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002026/0.3569, allocations: 79.38 kB / 426.8 MB, free: 8.918 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.343e-06/0.3569, allocations: 0 / 426.8 MB, free: 8.918 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004445/0.3573, allocations: 157.4 kB / 427 MB, free: 8.758 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001211/0.3574, allocations: 162.2 kB / 427.1 MB, free: 8.562 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003687/0.3578, allocations: 322.9 kB / 427.5 MB, free: 8.238 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.877e-05/0.3578, allocations: 33.7 kB / 427.5 MB, free: 8.199 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001001/0.3579, allocations: 120.1 kB / 427.6 MB, free: 8.078 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.96e-05/0.358, allocations: 23.83 kB / 427.6 MB, free: 8.055 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.239e-05/0.358, allocations: 33.67 kB / 427.7 MB, free: 8.016 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001701/0.3582, allocations: 334.8 kB / 428 MB, free: 7.68 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.513e-05/0.3583, allocations: 23.98 kB / 428 MB, free: 7.656 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000138/0.3584, allocations: 94.72 kB / 428.1 MB, free: 7.539 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001722/0.3586, allocations: 88.16 kB / 428.2 MB, free: 7.438 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.3586, allocations: 4 kB / 428.2 MB, free: 7.434 MB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002468/0.3588, allocations: 117.5 kB / 428.3 MB, free: 7.312 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.3589, allocations: 4 kB / 428.3 MB, free: 7.309 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.3589, allocations: 4.25 kB / 428.3 MB, free: 7.305 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.3589, allocations: 4 kB / 428.3 MB, free: 7.301 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001118/0.359, allocations: 15.98 kB / 428.3 MB, free: 7.285 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.129e-05/0.359, allocations: 8 kB / 428.3 MB, free: 7.277 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.322e-05/0.3591, allocations: 15.83 kB / 428.4 MB, free: 7.262 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.203e-05/0.3591, allocations: 12.12 kB / 428.4 MB, free: 7.25 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,superSample1.y,superSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001617/0.3593, allocations: 161.7 kB / 428.5 MB, free: 7.082 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.84e-05/0.3594, allocations: 61.56 kB / 428.6 MB, free: 7.016 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002973/0.3597, allocations: 127.3 kB / 428.7 MB, free: 6.883 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.994e-06/0.3597, allocations: 4.031 kB / 428.7 MB, free: 6.879 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.3597, allocations: 4 kB / 428.7 MB, free: 6.875 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.3597, allocations: 3.938 kB / 428.7 MB, free: 6.871 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00025/0.3599, allocations: 241.7 kB / 429 MB, free: 6.586 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.3599, allocations: 0 / 429 MB, free: 6.586 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.487e-05/0.36, allocations: 11.98 kB / 429 MB, free: 6.574 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.254e-06/0.36, allocations: 4 kB / 429 MB, free: 6.57 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.36, allocations: 0 / 429 MB, free: 6.57 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.36, allocations: 0 / 429 MB, free: 6.57 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.36, allocations: 4 kB / 429 MB, free: 6.566 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002818/0.3603, allocations: 166.5 kB / 429.1 MB, free: 6.379 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001234/0.3604, allocations: 120.9 kB / 429.3 MB, free: 6.242 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.782e-05/0.3605, allocations: 4 kB / 429.3 MB, free: 6.238 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.305e-05/0.3605, allocations: 0 / 429.3 MB, free: 6.238 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.043e-05/0.3606, allocations: 15.98 kB / 429.3 MB, free: 6.223 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.228e-05/0.3606, allocations: 7.938 kB / 429.3 MB, free: 6.215 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002748/0.3609, allocations: 245.9 kB / 429.5 MB, free: 5.977 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3609, allocations: 0 / 429.5 MB, free: 5.977 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002913/0.3612, allocations: 35.94 kB / 429.6 MB, free: 5.941 MB / 334.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,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 (9): * Single equations (assignments): 7 * 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.001639/0.3628, allocations: 420.8 kB / 430 MB, free: 5.684 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002869/0.3631, allocations: 71.91 kB / 430 MB, free: 5.613 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3631, allocations: 0 / 430 MB, free: 5.613 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.889e-05/0.3632, allocations: 27.92 kB / 430.1 MB, free: 5.586 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004348/0.3636, allocations: 67.77 kB / 430.1 MB, free: 5.523 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007674/0.3644, allocations: 364.7 kB / 430.5 MB, free: 5.133 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004163/0.3648, allocations: 0.7397 MB / 431.2 MB, free: 4.367 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001025/0.3649, allocations: 37.53 kB / 431.3 MB, free: 4.332 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.332e-05/0.365, allocations: 31.31 kB / 431.3 MB, free: 4.301 MB / 334.1 MB Notification: Performance of SimCode: time 7.01e-07/0.365, allocations: 0 / 431.3 MB, free: 4.301 MB / 334.1 MB Notification: Performance of Templates: time 0.007798/0.3728, allocations: 2.837 MB / 434.1 MB, free: 1.484 MB / 334.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.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: 5.144095671363175]