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.0008144/0.0008144, allocations: 88.73 kB / 21.5 MB, free: 2.98 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.001015/0.001015, allocations: 166.2 kB / 24.91 MB, free: 8.758 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 0.9834/0.9834, allocations: 177 MB / 205.2 MB, free: 4.969 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.513e-06/1.513e-06, allocations: 0 / 273.4 MB, free: 1.086 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.486e-05/1.637e-05, allocations: 5.266 kB / 273.4 MB, free: 1.082 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.002498/0.002515, allocations: 1.932 MB / 275.3 MB, free: 15.13 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001556/0.00407, allocations: 1.277 MB / 276.6 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001061/0.004177, allocations: 7.938 kB / 276.6 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002574/0.004434, allocations: 63.59 kB / 276.7 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002823/0.004716, allocations: 135.4 kB / 276.8 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004529/0.005169, allocations: 239 kB / 277 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002276/0.005397, allocations: 179.5 kB / 277.2 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.005498, allocations: 30.39 kB / 277.2 MB, free: 13.2 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001344/0.005632, allocations: 103.7 kB / 277.3 MB, free: 13.1 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.44e-05/0.005727, allocations: 59.86 kB / 277.4 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.936e-05/0.005746, allocations: 8 kB / 277.4 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001169/0.005863, allocations: 67.94 kB / 277.5 MB, free: 12.97 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.976e-05/0.005933, allocations: 55.78 kB / 277.5 MB, free: 12.91 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.011e-05/0.005983, allocations: 35.84 kB / 277.5 MB, free: 12.88 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002247/0.006208, allocations: 195.2 kB / 277.7 MB, free: 12.69 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.006209, allocations: 7.938 kB / 277.7 MB, free: 12.68 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.00621, allocations: 0 / 277.7 MB, free: 12.68 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.006215, allocations: 0 / 277.7 MB, free: 12.68 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.0004364/0.006652, allocations: 441.1 kB / 278.2 MB, free: 12.22 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.961e-05/0.006681, allocations: 19.97 kB / 278.2 MB, free: 12.2 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.437e-05/0.006716, allocations: 20.92 kB / 278.2 MB, free: 12.18 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000198/0.006914, allocations: 212.7 kB / 278.4 MB, free: 11.95 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.006928, allocations: 4.375 kB / 278.4 MB, free: 11.95 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.335e-05/0.006942, allocations: 12.38 kB / 278.4 MB, free: 11.93 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001715/0.007113, allocations: 149.8 kB / 278.6 MB, free: 11.77 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.402e-06/0.007119, allocations: 192 / 278.6 MB, free: 11.77 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.743e-06/0.007126, allocations: 4.312 kB / 278.6 MB, free: 11.76 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.199e-06/0.007131, allocations: 3.938 kB / 278.6 MB, free: 11.76 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.373e-05/0.007165, allocations: 22.75 kB / 278.6 MB, free: 11.73 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002255/0.007391, allocations: 203.6 kB / 278.8 MB, free: 11.51 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001085/0.007499, allocations: 145.4 kB / 279 MB, free: 11.34 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.654e-05/0.007526, allocations: 26.58 kB / 279 MB, free: 11.3 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.433e-05/0.00754, allocations: 4 kB / 279 MB, free: 11.3 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.404e-05/0.007614, allocations: 70.08 kB / 279.1 MB, free: 11.22 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.403e-06/0.007615, allocations: 0 / 279.1 MB, free: 11.22 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001307/0.007746, allocations: 85.81 kB / 279.1 MB, free: 11.13 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.847e-05/0.007795, allocations: 118.8 kB / 279.3 MB, free: 10.99 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001681/0.007963, allocations: 258.6 kB / 279.5 MB, free: 10.72 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.863e-05/0.007981, allocations: 29.7 kB / 279.5 MB, free: 10.68 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.05e-05/0.008022, allocations: 104.6 kB / 279.6 MB, free: 10.58 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.814e-05/0.00804, allocations: 15.83 kB / 279.7 MB, free: 10.56 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.201e-05/0.008072, allocations: 29.66 kB / 279.7 MB, free: 10.53 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.734e-05/0.008149, allocations: 338.8 kB / 280 MB, free: 10.19 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.395e-05/0.008163, allocations: 6.828 kB / 280 MB, free: 10.18 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.058e-05/0.008194, allocations: 52.27 kB / 280.1 MB, free: 10.11 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.171e-05/0.008236, allocations: 43.39 kB / 280.1 MB, free: 10.06 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.008237, allocations: 0 / 280.1 MB, free: 10.06 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.598e-05/0.008303, allocations: 68.44 kB / 280.2 MB, free: 9.988 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.065e-05/0.008314, allocations: 7.938 kB / 280.2 MB, free: 9.98 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.396e-06/0.008317, allocations: 0 / 280.2 MB, free: 9.98 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.377e-06/0.008326, allocations: 3.984 kB / 280.2 MB, free: 9.977 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.342e-05/0.00838, allocations: 12 kB / 280.2 MB, free: 9.965 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.605e-06/0.008382, allocations: 4.25 kB / 280.2 MB, free: 9.961 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.248e-05/0.008415, allocations: 8 kB / 280.2 MB, free: 9.953 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.189e-06/0.00842, allocations: 8.031 kB / 280.2 MB, free: 9.945 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 6.287e-05/0.008483, allocations: 120.6 kB / 280.3 MB, free: 9.816 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.604e-05/0.008519, allocations: 57.56 kB / 280.4 MB, free: 9.754 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.987e-05/0.008609, allocations: 75.44 kB / 280.5 MB, free: 9.672 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.008612, allocations: 7.938 kB / 280.5 MB, free: 9.664 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.008614, allocations: 0 / 280.5 MB, free: 9.664 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.008618, allocations: 0 / 280.5 MB, free: 9.664 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.855e-05/0.008706, allocations: 117.8 kB / 280.6 MB, free: 9.531 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.008707, allocations: 0 / 280.6 MB, free: 9.531 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.212e-05/0.008739, allocations: 16.05 kB / 280.6 MB, free: 9.516 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.008741, allocations: 4 kB / 280.6 MB, free: 9.512 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.32e-06/0.008747, allocations: 0 / 280.6 MB, free: 9.512 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.008749, allocations: 11.88 kB / 280.6 MB, free: 9.5 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.00875, allocations: 0 / 280.6 MB, free: 9.5 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.145e-05/0.008832, allocations: 112.7 kB / 280.7 MB, free: 9.363 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.999e-05/0.008872, allocations: 31.78 kB / 280.8 MB, free: 9.332 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.86e-05/0.00889, allocations: 8 kB / 280.8 MB, free: 9.324 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.65e-05/0.008917, allocations: 3.938 kB / 280.8 MB, free: 9.32 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.073e-05/0.008947, allocations: 11.98 kB / 280.8 MB, free: 9.309 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.398e-06/0.008957, allocations: 8 kB / 280.8 MB, free: 9.301 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.942e-05/0.009026, allocations: 101.6 kB / 280.9 MB, free: 9.199 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009026, allocations: 0 / 280.9 MB, free: 9.199 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001314/0.009158, allocations: 35.92 kB / 280.9 MB, free: 9.164 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.001005/0.01016, allocations: 0.4933 MB / 281.4 MB, free: 8.855 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.963e-05/0.01025, allocations: 48.75 kB / 281.5 MB, free: 8.805 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.01026, allocations: 4 kB / 281.5 MB, free: 8.801 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.053e-05/0.01029, allocations: 20.92 kB / 281.5 MB, free: 8.777 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001808/0.01047, allocations: 69.75 kB / 281.6 MB, free: 8.703 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004687/0.01094, allocations: 339.5 kB / 281.9 MB, free: 8.336 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.101e-05/0.01098, allocations: 79.97 kB / 282 MB, free: 8.238 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.171e-05/0.01102, allocations: 21.62 kB / 282 MB, free: 8.219 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.164e-05/0.0111, allocations: 91.48 kB / 282.1 MB, free: 8.129 MB / 266.7 MB Notification: Performance of SimCode: time 7.32e-07/0.0111, allocations: 0 / 282.1 MB, free: 8.129 MB / 266.7 MB Notification: Performance of Templates: time 0.004232/0.01533, allocations: 3.137 MB / 285.2 MB, free: 5.047 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.6055958517827094]