Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.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.001099/0.001099, allocations: 79.69 kB / 21.7 MB, free: 2.852 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.001347/0.001347, allocations: 161 kB / 24.99 MB, free: 8.801 MB / 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.028/1.028, allocations: 177 MB / 205.2 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 179] 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.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5053,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 273 MB, free: 1.77 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.531e-05/2.661e-05, allocations: 2.312 kB / 273 MB, free: 1.766 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.002698/0.002724, allocations: 1.939 MB / 274.9 MB, free: 15.8 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001574/0.004298, allocations: 1.265 MB / 276.2 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001275/0.004425, allocations: 7.938 kB / 276.2 MB, free: 14.53 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003197/0.004745, allocations: 71.53 kB / 276.3 MB, free: 14.46 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003814/0.005126, allocations: 131.4 kB / 276.4 MB, free: 14.33 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005713/0.005698, allocations: 231.2 kB / 276.6 MB, free: 14.1 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000236/0.005934, allocations: 187.4 kB / 276.8 MB, free: 13.92 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.006041, allocations: 17.75 kB / 276.8 MB, free: 13.9 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001317/0.006172, allocations: 107.7 kB / 276.9 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001062/0.006279, allocations: 71.78 kB / 277 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.058e-05/0.006299, allocations: 8 kB / 277 MB, free: 13.72 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001485/0.006448, allocations: 71.94 kB / 277.1 MB, free: 13.65 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.785e-05/0.006525, allocations: 47.84 kB / 277.1 MB, free: 13.6 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.738e-05/0.006583, allocations: 43.78 kB / 277.2 MB, free: 13.56 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002734/0.006856, allocations: 195.3 kB / 277.3 MB, free: 13.37 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.00686, allocations: 7.938 kB / 277.4 MB, free: 13.36 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.006861, allocations: 0 / 277.4 MB, free: 13.36 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.006865, allocations: 0 / 277.4 MB, free: 13.36 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.0005726/0.007438, allocations: 0.5634 MB / 277.9 MB, free: 12.75 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.007476, allocations: 11.98 kB / 277.9 MB, free: 12.74 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.436e-05/0.00754, allocations: 32.73 kB / 278 MB, free: 12.71 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000277/0.007817, allocations: 231.5 kB / 278.2 MB, free: 12.46 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.906e-05/0.007836, allocations: 8.375 kB / 278.2 MB, free: 12.45 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.344e-05/0.007849, allocations: 8.375 kB / 278.2 MB, free: 12.45 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000315/0.008164, allocations: 190.7 kB / 278.4 MB, free: 12.22 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.572e-06/0.008171, allocations: 192 / 278.4 MB, free: 12.22 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.008182, allocations: 384 / 278.4 MB, free: 12.22 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.287e-06/0.008191, allocations: 7.938 kB / 278.4 MB, free: 12.21 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.092e-05/0.008242, allocations: 23.92 kB / 278.4 MB, free: 12.19 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004129/0.008655, allocations: 367 kB / 278.8 MB, free: 11.79 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001487/0.008804, allocations: 121.3 kB / 278.9 MB, free: 11.63 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.62e-05/0.00885, allocations: 43.05 kB / 278.9 MB, free: 11.57 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.746e-05/0.008867, allocations: 3.938 kB / 278.9 MB, free: 11.57 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001081/0.008976, allocations: 80.97 kB / 279 MB, free: 11.48 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.523e-06/0.008977, allocations: 0 / 279 MB, free: 11.48 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002352/0.009212, allocations: 121.7 kB / 279.1 MB, free: 11.35 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.382e-05/0.009276, allocations: 140.5 kB / 279.3 MB, free: 11.18 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002153/0.009491, allocations: 324.3 kB / 279.6 MB, free: 10.85 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.00951, allocations: 29.7 kB / 279.6 MB, free: 10.81 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.6e-05/0.009586, allocations: 178.8 kB / 279.8 MB, free: 10.63 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.191e-05/0.009608, allocations: 19.84 kB / 279.8 MB, free: 10.61 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.736e-05/0.009645, allocations: 31.36 kB / 279.9 MB, free: 10.57 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001161/0.009761, allocations: 0.5079 MB / 280.4 MB, free: 10.05 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.708e-05/0.009788, allocations: 7.938 kB / 280.4 MB, free: 10.05 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.526e-05/0.009844, allocations: 102.1 kB / 280.5 MB, free: 9.918 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.657e-05/0.0099, allocations: 47.39 kB / 280.5 MB, free: 9.863 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.145e-06/0.009902, allocations: 0 / 280.5 MB, free: 9.863 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000109/0.01001, allocations: 93.73 kB / 280.6 MB, free: 9.766 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.01003, allocations: 6.812 kB / 280.6 MB, free: 9.762 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.01003, allocations: 4 kB / 280.6 MB, free: 9.758 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.01004, allocations: 4 kB / 280.6 MB, free: 9.754 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.531e-05/0.01012, allocations: 15.98 kB / 280.6 MB, free: 9.738 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.01012, allocations: 4 kB / 280.6 MB, free: 9.734 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.827e-05/0.01016, allocations: 3.938 kB / 280.6 MB, free: 9.73 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.01017, allocations: 4 kB / 280.6 MB, free: 9.727 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 7.96e-05/0.01025, allocations: 168.5 kB / 280.8 MB, free: 9.551 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.716e-05/0.01031, allocations: 69.48 kB / 280.9 MB, free: 9.477 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001449/0.01046, allocations: 107.4 kB / 281 MB, free: 9.363 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.01046, allocations: 0 / 281 MB, free: 9.363 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.01047, allocations: 4 kB / 281 MB, free: 9.359 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.01047, allocations: 3.984 kB / 281 MB, free: 9.355 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001396/0.01061, allocations: 192.5 kB / 281.2 MB, free: 9.133 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.01061, allocations: 0 / 281.2 MB, free: 9.133 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.504e-05/0.01066, allocations: 16.06 kB / 281.2 MB, free: 9.117 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.01066, allocations: 3.938 kB / 281.2 MB, free: 9.113 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.747e-06/0.01067, allocations: 3.984 kB / 281.2 MB, free: 9.109 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.01067, allocations: 4 kB / 281.2 MB, free: 9.105 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.01067, allocations: 0 / 281.2 MB, free: 9.105 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001456/0.01082, allocations: 167.8 kB / 281.4 MB, free: 8.91 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.272e-05/0.01087, allocations: 39.72 kB / 281.4 MB, free: 8.871 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.38e-05/0.01089, allocations: 11.92 kB / 281.4 MB, free: 8.859 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.598e-05/0.01093, allocations: 4 kB / 281.4 MB, free: 8.855 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.447e-05/0.01098, allocations: 11.98 kB / 281.4 MB, free: 8.844 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.353e-05/0.01099, allocations: 8 kB / 281.4 MB, free: 8.836 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001384/0.01113, allocations: 225.1 kB / 281.7 MB, free: 8.617 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01113, allocations: 0 / 281.7 MB, free: 8.617 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001984/0.01133, allocations: 28 kB / 281.7 MB, free: 8.59 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,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 (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.0008206/0.01215, allocations: 401.7 kB / 282.1 MB, free: 8.305 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001384/0.01228, allocations: 51.59 kB / 282.1 MB, free: 8.25 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.01229, allocations: 0 / 282.1 MB, free: 8.25 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.594e-05/0.01233, allocations: 31.67 kB / 282.2 MB, free: 8.215 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002794/0.01261, allocations: 74 kB / 282.2 MB, free: 8.141 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004213/0.01303, allocations: 349.3 kB / 282.6 MB, free: 7.766 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.173e-05/0.01309, allocations: 83.97 kB / 282.7 MB, free: 7.664 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.659e-05/0.01314, allocations: 25.61 kB / 282.7 MB, free: 7.641 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.668e-05/0.01319, allocations: 20.5 kB / 282.7 MB, free: 7.621 MB / 266.7 MB Notification: Performance of SimCode: time 9.82e-07/0.01319, allocations: 0 / 282.7 MB, free: 7.621 MB / 266.7 MB Notification: Performance of Templates: time 0.004989/0.01818, allocations: 2.98 MB / 285.7 MB, free: 4.676 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SuperSample/SuperSample.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9369802959263325]