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.001229/0.001229, allocations: 91.5 kB / 21.19 MB, free: 3.375 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.001828/0.001828, allocations: 156.5 kB / 24.55 MB, free: 20 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.025/1.025, allocations: 177 MB / 204.8 MB, free: 5.594 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.663e-06/1.663e-06, allocations: 0 / 272.9 MB, free: 1.48 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.858e-05/3.025e-05, allocations: 2.312 kB / 272.9 MB, free: 1.477 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.002803/0.002833, allocations: 1.95 MB / 274.8 MB, free: 15.51 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001646/0.004479, allocations: 1.265 MB / 276.1 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001395/0.004618, allocations: 7.938 kB / 276.1 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003685/0.004987, allocations: 67.59 kB / 276.2 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003766/0.005364, allocations: 143.3 kB / 276.3 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006208/0.005984, allocations: 227.2 kB / 276.5 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002477/0.006232, allocations: 187.4 kB / 276.7 MB, free: 13.61 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000124/0.006356, allocations: 21.73 kB / 276.8 MB, free: 13.59 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001322/0.006488, allocations: 99.73 kB / 276.8 MB, free: 13.5 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001179/0.006606, allocations: 71.77 kB / 276.9 MB, free: 13.43 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.539e-05/0.006632, allocations: 19.94 kB / 276.9 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001507/0.006782, allocations: 67.94 kB / 277 MB, free: 13.34 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.057e-05/0.006863, allocations: 51.84 kB / 277.1 MB, free: 13.29 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.192e-05/0.006925, allocations: 39.8 kB / 277.1 MB, free: 13.25 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003136/0.007238, allocations: 191.3 kB / 277.3 MB, free: 13.06 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.007242, allocations: 0 / 277.3 MB, free: 13.06 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.007244, allocations: 3.938 kB / 277.3 MB, free: 13.06 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.191e-06/0.00725, allocations: 0 / 277.3 MB, free: 13.06 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.0006351/0.007885, allocations: 0.5634 MB / 277.8 MB, free: 12.45 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.007929, allocations: 15.98 kB / 277.9 MB, free: 12.44 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.194e-05/0.008001, allocations: 32.8 kB / 277.9 MB, free: 12.41 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003041/0.008305, allocations: 227.5 kB / 278.1 MB, free: 12.16 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.968e-05/0.008325, allocations: 12.31 kB / 278.1 MB, free: 12.15 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.763e-05/0.008342, allocations: 4.375 kB / 278.1 MB, free: 12.14 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003211/0.008663, allocations: 186.7 kB / 278.3 MB, free: 11.92 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.008673, allocations: 4.188 kB / 278.3 MB, free: 11.92 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.321e-05/0.008686, allocations: 4.375 kB / 278.3 MB, free: 11.91 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.817e-06/0.008695, allocations: 3.938 kB / 278.3 MB, free: 11.91 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.772e-05/0.008753, allocations: 31.91 kB / 278.4 MB, free: 11.88 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000445/0.009198, allocations: 367 kB / 278.7 MB, free: 11.48 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000155/0.009353, allocations: 113.3 kB / 278.8 MB, free: 11.33 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.703e-05/0.0094, allocations: 39.06 kB / 278.9 MB, free: 11.28 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.317e-05/0.009423, allocations: 7.938 kB / 278.9 MB, free: 11.27 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001146/0.009538, allocations: 81.03 kB / 279 MB, free: 11.18 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 2.194e-06/0.00954, allocations: 0 / 279 MB, free: 11.18 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002657/0.009806, allocations: 125.4 kB / 279.1 MB, free: 11.05 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.239e-05/0.009888, allocations: 132.5 kB / 279.2 MB, free: 10.89 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002384/0.01013, allocations: 324.3 kB / 279.5 MB, free: 10.55 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.689e-05/0.01014, allocations: 29.7 kB / 279.6 MB, free: 10.52 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.798e-05/0.01024, allocations: 178.8 kB / 279.7 MB, free: 10.34 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.865e-05/0.01027, allocations: 24.08 kB / 279.8 MB, free: 10.31 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.139e-05/0.01031, allocations: 31.38 kB / 279.8 MB, free: 10.27 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001495/0.01046, allocations: 0.5079 MB / 280.3 MB, free: 9.754 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.84e-05/0.01049, allocations: 11.98 kB / 280.3 MB, free: 9.742 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.397e-05/0.01055, allocations: 102.1 kB / 280.4 MB, free: 9.613 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.448e-05/0.01062, allocations: 47.61 kB / 280.4 MB, free: 9.559 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.01062, allocations: 0 / 280.4 MB, free: 9.559 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001284/0.01075, allocations: 89.42 kB / 280.5 MB, free: 9.465 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.01077, allocations: 10.81 kB / 280.5 MB, free: 9.457 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.01077, allocations: 64 / 280.5 MB, free: 9.457 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.01079, allocations: 4 kB / 280.5 MB, free: 9.453 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.91e-05/0.01088, allocations: 15.98 kB / 280.6 MB, free: 9.438 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.01089, allocations: 0 / 280.6 MB, free: 9.438 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.501e-05/0.01093, allocations: 8 kB / 280.6 MB, free: 9.43 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.01094, allocations: 3.938 kB / 280.6 MB, free: 9.426 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.0001153/0.01106, allocations: 172.5 kB / 280.7 MB, free: 9.246 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.832e-05/0.01113, allocations: 65.5 kB / 280.8 MB, free: 9.176 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001834/0.01132, allocations: 103.4 kB / 280.9 MB, free: 9.066 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.01132, allocations: 12.05 kB / 280.9 MB, free: 9.055 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.01133, allocations: 0 / 280.9 MB, free: 9.055 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.01134, allocations: 3.984 kB / 280.9 MB, free: 9.051 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001789/0.01151, allocations: 188.5 kB / 281.1 MB, free: 8.832 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.01152, allocations: 0 / 281.1 MB, free: 8.832 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.399e-05/0.01157, allocations: 15.98 kB / 281.1 MB, free: 8.816 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/0.01158, allocations: 3.938 kB / 281.1 MB, free: 8.812 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/0.01159, allocations: 4 kB / 281.1 MB, free: 8.809 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.01159, allocations: 0 / 281.1 MB, free: 8.809 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.01159, allocations: 0 / 281.1 MB, free: 8.809 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001845/0.01178, allocations: 171.8 kB / 281.3 MB, free: 8.609 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.97e-05/0.01184, allocations: 43.7 kB / 281.3 MB, free: 8.566 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.213e-05/0.01186, allocations: 12.06 kB / 281.4 MB, free: 8.555 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.11e-05/0.01189, allocations: 0 / 281.4 MB, free: 8.555 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.184e-05/0.01194, allocations: 11.98 kB / 281.4 MB, free: 8.543 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.467e-05/0.01196, allocations: 7.938 kB / 281.4 MB, free: 8.535 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001323/0.01209, allocations: 225.1 kB / 281.6 MB, free: 8.316 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01209, allocations: 0 / 281.6 MB, free: 8.316 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001831/0.01227, allocations: 35.98 kB / 281.6 MB, free: 8.281 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.0009476/0.01322, allocations: 394.5 kB / 282 MB, free: 8.004 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001571/0.01338, allocations: 51.61 kB / 282.1 MB, free: 7.949 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.01338, allocations: 0 / 282.1 MB, free: 7.949 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.574e-05/0.01342, allocations: 35.73 kB / 282.1 MB, free: 7.91 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002885/0.01371, allocations: 66.06 kB / 282.2 MB, free: 7.844 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004584/0.01417, allocations: 341.1 kB / 282.5 MB, free: 7.477 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.828e-05/0.01423, allocations: 87.91 kB / 282.6 MB, free: 7.371 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.712e-05/0.01429, allocations: 29.61 kB / 282.6 MB, free: 7.344 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.822e-05/0.01433, allocations: 28.67 kB / 282.6 MB, free: 7.316 MB / 266.7 MB Notification: Performance of SimCode: time 1.132e-06/0.01434, allocations: 0 / 282.6 MB, free: 7.316 MB / 266.7 MB Notification: Performance of Templates: time 0.005723/0.02006, allocations: 2.988 MB / 285.6 MB, free: 4.367 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: 3.011830298230052]