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.001834/0.001834, allocations: 91.61 kB / 20.97 MB, free: 3.434 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.001916/0.001916, allocations: 156.9 kB / 24.27 MB, free: 140 kB / 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.568/1.568, allocations: 177 MB / 204.4 MB, free: 5.652 MB / 186.7 MB " [Timeout remaining time 178] 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.934e-06/1.934e-06, allocations: 0 / 272.2 MB, free: 1.848 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.707e-05/2.9e-05, allocations: 2.312 kB / 272.2 MB, free: 1.844 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.003702/0.003731, allocations: 1.901 MB / 274.1 MB, free: 15.92 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002655/0.006386, allocations: 1.261 MB / 275.4 MB, free: 14.65 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001093/0.006495, allocations: 3.938 kB / 275.4 MB, free: 14.65 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003305/0.006826, allocations: 67.61 kB / 275.4 MB, free: 14.58 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003919/0.007217, allocations: 143.3 kB / 275.6 MB, free: 14.44 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006801/0.007898, allocations: 231.1 kB / 275.8 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002874/0.008185, allocations: 183.5 kB / 276 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.008295, allocations: 17.8 kB / 276 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001882/0.008483, allocations: 103.7 kB / 276.1 MB, free: 13.92 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001373/0.008621, allocations: 67.86 kB / 276.2 MB, free: 13.85 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.043e-05/0.008651, allocations: 11.94 kB / 276.2 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001767/0.008828, allocations: 71.88 kB / 276.2 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.566e-05/0.008923, allocations: 51.83 kB / 276.3 MB, free: 13.72 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.326e-05/0.009007, allocations: 51.78 kB / 276.3 MB, free: 13.67 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004055/0.009412, allocations: 239.2 kB / 276.6 MB, free: 13.43 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.009415, allocations: 0 / 276.6 MB, free: 13.43 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.009416, allocations: 4 kB / 276.6 MB, free: 13.43 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.009422, allocations: 0 / 276.6 MB, free: 13.43 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.0009/0.01032, allocations: 0.5824 MB / 277.2 MB, free: 12.8 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.01036, allocations: 15.98 kB / 277.2 MB, free: 12.79 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.436e-05/0.01046, allocations: 28.8 kB / 277.2 MB, free: 12.76 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004124/0.01087, allocations: 231.6 kB / 277.4 MB, free: 12.51 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.94e-05/0.01089, allocations: 8.375 kB / 277.4 MB, free: 12.5 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.628e-05/0.01091, allocations: 4.375 kB / 277.4 MB, free: 12.5 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006917/0.0116, allocations: 201.9 kB / 277.6 MB, free: 12.27 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-06/0.01161, allocations: 192 / 277.6 MB, free: 12.27 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.71e-05/0.01162, allocations: 8.312 kB / 277.6 MB, free: 12.26 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.333e-06/0.01163, allocations: 3.938 kB / 277.6 MB, free: 12.25 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001155/0.01175, allocations: 31.98 kB / 277.7 MB, free: 12.22 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006518/0.0124, allocations: 399 kB / 278.1 MB, free: 11.79 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000276/0.01268, allocations: 133.3 kB / 278.2 MB, free: 11.62 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001116/0.01279, allocations: 51.05 kB / 278.2 MB, free: 11.56 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.638e-05/0.01281, allocations: 3.938 kB / 278.3 MB, free: 11.55 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001847/0.013, allocations: 89.03 kB / 278.3 MB, free: 11.45 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.363e-06/0.013, allocations: 0 / 278.3 MB, free: 11.45 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004091/0.01341, allocations: 141.5 kB / 278.5 MB, free: 11.31 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001145/0.01352, allocations: 136.7 kB / 278.6 MB, free: 11.14 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004274/0.01395, allocations: 376.3 kB / 279 MB, free: 10.76 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.906e-05/0.01398, allocations: 29.7 kB / 279 MB, free: 10.73 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001756/0.01416, allocations: 198.8 kB / 279.2 MB, free: 10.53 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.734e-05/0.01418, allocations: 15.91 kB / 279.2 MB, free: 10.51 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.523e-05/0.01426, allocations: 31.36 kB / 279.2 MB, free: 10.47 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003093/0.01457, allocations: 0.5196 MB / 279.8 MB, free: 9.941 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.259e-05/0.01463, allocations: 15.98 kB / 279.8 MB, free: 9.926 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001352/0.01476, allocations: 110.1 kB / 279.9 MB, free: 9.789 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001269/0.01489, allocations: 55.3 kB / 279.9 MB, free: 9.727 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.0149, allocations: 8.031 kB / 280 MB, free: 9.719 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002068/0.0151, allocations: 97.48 kB / 280 MB, free: 9.617 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.01512, allocations: 8 kB / 280.1 MB, free: 9.609 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.01512, allocations: 320 / 280.1 MB, free: 9.609 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.01513, allocations: 0 / 280.1 MB, free: 9.609 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001086/0.01524, allocations: 19.92 kB / 280.1 MB, free: 9.59 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.01525, allocations: 4 kB / 280.1 MB, free: 9.586 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.734e-05/0.01532, allocations: 7.938 kB / 280.1 MB, free: 9.578 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.114e-05/0.01533, allocations: 4 kB / 280.1 MB, free: 9.574 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.000152/0.01548, allocations: 168.6 kB / 280.3 MB, free: 9.398 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001151/0.0156, allocations: 81.45 kB / 280.3 MB, free: 9.312 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002741/0.01587, allocations: 107.4 kB / 280.4 MB, free: 9.195 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.01587, allocations: 3.938 kB / 280.4 MB, free: 9.191 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.01588, allocations: 3.984 kB / 280.4 MB, free: 9.188 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.01589, allocations: 4 kB / 280.5 MB, free: 9.184 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002731/0.01616, allocations: 216.5 kB / 280.7 MB, free: 8.938 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.01616, allocations: 0 / 280.7 MB, free: 8.938 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.926e-05/0.01624, allocations: 23.92 kB / 280.7 MB, free: 8.914 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.173e-06/0.01625, allocations: 3.938 kB / 280.7 MB, free: 8.91 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.01626, allocations: 4.062 kB / 280.7 MB, free: 8.906 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.529e-06/0.01626, allocations: 4 kB / 280.7 MB, free: 8.902 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.01626, allocations: 0 / 280.7 MB, free: 8.902 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000316/0.01658, allocations: 183.5 kB / 280.9 MB, free: 8.691 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.714e-05/0.01668, allocations: 43.72 kB / 280.9 MB, free: 8.648 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.334e-05/0.01671, allocations: 4 kB / 280.9 MB, free: 8.645 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.096e-05/0.01677, allocations: 4 kB / 280.9 MB, free: 8.641 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.533e-05/0.01683, allocations: 11.98 kB / 280.9 MB, free: 8.629 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.195e-05/0.01685, allocations: 7.984 kB / 280.9 MB, free: 8.621 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002788/0.01713, allocations: 245.1 kB / 281.2 MB, free: 8.383 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01713, allocations: 0 / 281.2 MB, free: 8.383 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002582/0.01739, allocations: 32 kB / 281.2 MB, free: 8.352 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.003006/0.02039, allocations: 455.7 kB / 281.7 MB, free: 8.055 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000243/0.02063, allocations: 71.58 kB / 281.7 MB, free: 7.98 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.02064, allocations: 0 / 281.7 MB, free: 7.98 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.806e-05/0.02073, allocations: 35.61 kB / 281.8 MB, free: 7.941 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004585/0.02119, allocations: 67.98 kB / 281.8 MB, free: 7.871 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007084/0.0219, allocations: 369.3 kB / 282.2 MB, free: 7.477 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001635/0.02206, allocations: 123.9 kB / 282.3 MB, free: 7.336 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.275e-05/0.02214, allocations: 17.48 kB / 282.3 MB, free: 7.32 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.473e-05/0.0222, allocations: 28.48 kB / 282.4 MB, free: 7.293 MB / 266.7 MB Notification: Performance of SimCode: time 7.01e-07/0.0222, allocations: 4 kB / 282.4 MB, free: 7.289 MB / 266.7 MB Notification: Performance of Templates: time 0.008199/0.0304, allocations: 2.961 MB / 285.3 MB, free: 4.359 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 4.585999327944592]