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.001138/0.001138, allocations: 84.73 kB / 21.5 MB, free: 2.988 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.001111/0.001111, allocations: 163.3 kB / 24.91 MB, free: 8.762 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.016/1.016, allocations: 177 MB / 205.2 MB, free: 5.461 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.473e-06/1.473e-06, allocations: 3.938 kB / 273.4 MB, free: 1.203 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.533e-05/2.68e-05, allocations: 2.312 kB / 273.4 MB, free: 1.199 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.002591/0.002618, allocations: 1.978 MB / 275.4 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001624/0.004242, allocations: 1.273 MB / 276.7 MB, free: 13.92 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001263/0.004368, allocations: 7.938 kB / 276.7 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002816/0.00465, allocations: 71.53 kB / 276.7 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002985/0.004948, allocations: 131.4 kB / 276.9 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004843/0.005432, allocations: 231.1 kB / 277.1 MB, free: 13.49 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002034/0.005636, allocations: 183.5 kB / 277.3 MB, free: 13.31 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.86e-05/0.005714, allocations: 22.39 kB / 277.3 MB, free: 13.29 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001173/0.005832, allocations: 107.7 kB / 277.4 MB, free: 13.18 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002309/0.006063, allocations: 63.8 kB / 277.5 MB, free: 13.12 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.326e-05/0.006076, allocations: 8 kB / 277.5 MB, free: 13.11 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000122/0.006198, allocations: 71.94 kB / 277.5 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.281e-05/0.006241, allocations: 55.83 kB / 277.6 MB, free: 12.99 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.353e-05/0.006274, allocations: 39.8 kB / 277.6 MB, free: 12.95 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001903/0.006465, allocations: 187.3 kB / 277.8 MB, free: 12.77 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.412e-06/0.006466, allocations: 0 / 277.8 MB, free: 12.77 MB / 266.7 MB Notification: Performance of FrontEnd: time 5e-07/0.006466, allocations: 0 / 277.8 MB, free: 12.77 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.624e-06/0.006469, allocations: 3.938 kB / 277.8 MB, free: 12.76 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.0004029/0.006872, allocations: 453.1 kB / 278.3 MB, free: 12.29 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.077e-05/0.006903, allocations: 11.98 kB / 278.3 MB, free: 12.28 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.644e-05/0.006939, allocations: 20.91 kB / 278.3 MB, free: 12.26 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002014/0.007141, allocations: 212.7 kB / 278.5 MB, free: 12.03 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.007154, allocations: 8.375 kB / 278.5 MB, free: 12.02 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.079e-05/0.007165, allocations: 4.375 kB / 278.5 MB, free: 12.02 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001714/0.007336, allocations: 141.9 kB / 278.7 MB, free: 11.85 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.123e-06/0.007343, allocations: 4.125 kB / 278.7 MB, free: 11.85 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.404e-06/0.007351, allocations: 384 / 278.7 MB, free: 11.85 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.007357, allocations: 7.938 kB / 278.7 MB, free: 11.84 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.568e-05/0.007393, allocations: 22.81 kB / 278.7 MB, free: 11.82 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002584/0.007651, allocations: 215.5 kB / 278.9 MB, free: 11.58 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001051/0.007756, allocations: 137.4 kB / 279 MB, free: 11.42 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.74e-05/0.007784, allocations: 22.58 kB / 279.1 MB, free: 11.39 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.503e-05/0.007799, allocations: 4 kB / 279.1 MB, free: 11.38 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.807e-05/0.007887, allocations: 74.08 kB / 279.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 8.52e-07/0.007888, allocations: 4 kB / 279.1 MB, free: 11.29 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001327/0.00802, allocations: 85.59 kB / 279.2 MB, free: 11.2 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.122e-05/0.008072, allocations: 106.8 kB / 279.3 MB, free: 11.07 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001649/0.008236, allocations: 262.6 kB / 279.6 MB, free: 10.8 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.705e-05/0.008254, allocations: 25.7 kB / 279.6 MB, free: 10.77 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.175e-05/0.008295, allocations: 104.6 kB / 279.7 MB, free: 10.66 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.116e-05/0.008316, allocations: 27.81 kB / 279.7 MB, free: 10.64 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.156e-05/0.008348, allocations: 21.67 kB / 279.8 MB, free: 10.61 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.905e-05/0.008427, allocations: 339 kB / 280.1 MB, free: 10.27 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.405e-05/0.008441, allocations: 10.83 kB / 280.1 MB, free: 10.26 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.071e-05/0.008472, allocations: 56.2 kB / 280.2 MB, free: 10.19 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.203e-05/0.008514, allocations: 39.34 kB / 280.2 MB, free: 10.14 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.008516, allocations: 0 / 280.2 MB, free: 10.14 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.801e-05/0.008584, allocations: 72.44 kB / 280.3 MB, free: 10.06 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/0.008595, allocations: 7.938 kB / 280.3 MB, free: 10.05 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.0086, allocations: 0 / 280.3 MB, free: 10.05 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.008611, allocations: 0 / 280.3 MB, free: 10.05 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.604e-05/0.008667, allocations: 23.98 kB / 280.3 MB, free: 10.03 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.595e-06/0.008669, allocations: 0 / 280.3 MB, free: 10.03 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.054e-05/0.0087, allocations: 4 kB / 280.3 MB, free: 10.03 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.568e-06/0.008704, allocations: 0 / 280.3 MB, free: 10.03 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.624e-05/0.008781, allocations: 132.9 kB / 280.4 MB, free: 9.887 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.778e-05/0.008818, allocations: 49.62 kB / 280.5 MB, free: 9.832 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.769e-05/0.008916, allocations: 83.53 kB / 280.6 MB, free: 9.742 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.008918, allocations: 0 / 280.6 MB, free: 9.742 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.82e-07/0.008919, allocations: 0 / 280.6 MB, free: 9.742 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.008923, allocations: 8.062 kB / 280.6 MB, free: 9.734 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.194e-05/0.009015, allocations: 109.8 kB / 280.7 MB, free: 9.609 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.009015, allocations: 0 / 280.7 MB, free: 9.609 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.464e-05/0.00905, allocations: 15.98 kB / 280.7 MB, free: 9.594 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-06/0.009051, allocations: 0 / 280.7 MB, free: 9.594 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.009059, allocations: 8 kB / 280.7 MB, free: 9.586 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.009061, allocations: 3.938 kB / 280.7 MB, free: 9.582 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.009062, allocations: 80 / 280.7 MB, free: 9.582 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.469e-05/0.009147, allocations: 116.4 kB / 280.8 MB, free: 9.441 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.128e-05/0.009188, allocations: 35.78 kB / 280.9 MB, free: 9.406 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.664e-05/0.009205, allocations: 4 kB / 280.9 MB, free: 9.402 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.022e-05/0.009235, allocations: 11.94 kB / 280.9 MB, free: 9.391 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.122e-05/0.009266, allocations: 7.984 kB / 280.9 MB, free: 9.383 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.027e-05/0.009276, allocations: 4 kB / 280.9 MB, free: 9.379 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.529e-05/0.009352, allocations: 101.6 kB / 281 MB, free: 9.277 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009352, allocations: 0 / 281 MB, free: 9.277 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001435/0.009495, allocations: 35.92 kB / 281 MB, free: 9.242 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.001137/0.01063, allocations: 0.4997 MB / 281.5 MB, free: 8.93 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.498e-05/0.01073, allocations: 48.78 kB / 281.6 MB, free: 8.879 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.01073, allocations: 0 / 281.6 MB, free: 8.879 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.398e-05/0.01077, allocations: 28.73 kB / 281.6 MB, free: 8.848 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001903/0.01096, allocations: 65.75 kB / 281.7 MB, free: 8.777 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003657/0.01132, allocations: 335.4 kB / 282 MB, free: 8.414 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.547e-05/0.01137, allocations: 87.97 kB / 282.1 MB, free: 8.309 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.152e-05/0.01142, allocations: 29.88 kB / 282.1 MB, free: 8.281 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.41e-05/0.0115, allocations: 87.28 kB / 282.2 MB, free: 8.195 MB / 266.7 MB Notification: Performance of SimCode: time 5.31e-07/0.0115, allocations: 0 / 282.2 MB, free: 8.195 MB / 266.7 MB Notification: Performance of Templates: time 0.00462/0.01612, allocations: 3.126 MB / 285.3 MB, free: 5.129 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 -s gbode -gbm=radauIIA3 -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.8177605690434575]