Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.0009596/0.0009596, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00135/0.00231, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.0009015/0.0009015, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001232/0.002133, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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.007/1.007, allocations: 177.5 MB / 190 MB, free: 4.793 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09274/1.1, allocations: 53.87 MB / 243.9 MB, free: 14.85 MB / 250.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.BooleanSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5053,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5053,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 245.2 MB, free: 13.59 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.155e-05/2.286e-05, allocations: 6.312 kB / 245.2 MB, free: 13.58 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.005352/0.005375, allocations: 2.002 MB / 247.2 MB, free: 11.56 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002143/0.007518, allocations: 1.214 MB / 248.4 MB, free: 10.34 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001713/0.007689, allocations: 4 kB / 248.4 MB, free: 10.34 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004203/0.01189, allocations: 151.4 kB / 248.6 MB, free: 10.19 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005086/0.0124, allocations: 167.1 kB / 248.7 MB, free: 10.02 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005598/0.01296, allocations: 191.1 kB / 248.9 MB, free: 9.836 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003356/0.01632, allocations: 183.5 kB / 249.1 MB, free: 9.656 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001223/0.01644, allocations: 22.41 kB / 249.1 MB, free: 9.637 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002563/0.0167, allocations: 147.6 kB / 249.3 MB, free: 9.492 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001475/0.01684, allocations: 63.8 kB / 249.3 MB, free: 9.43 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.785e-05/0.01687, allocations: 8 kB / 249.3 MB, free: 9.422 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002105/0.01708, allocations: 67.83 kB / 249.4 MB, free: 9.355 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.721e-05/0.01716, allocations: 35.86 kB / 249.4 MB, free: 9.32 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.393e-05/0.01721, allocations: 31.88 kB / 249.5 MB, free: 9.289 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003014/0.01751, allocations: 147.4 kB / 249.6 MB, free: 9.145 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.264e-05/0.01753, allocations: 0 / 249.6 MB, free: 9.145 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.01753, allocations: 0 / 249.6 MB, free: 9.145 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.055e-05/0.01754, allocations: 0 / 249.6 MB, free: 9.145 MB / 250.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.003755/0.02129, allocations: 460.9 kB / 250.1 MB, free: 8.664 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.02133, allocations: 12.03 kB / 250.1 MB, free: 8.652 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.081e-05/0.02139, allocations: 12.92 kB / 250.1 MB, free: 8.641 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003195/0.02171, allocations: 205.6 kB / 250.3 MB, free: 8.41 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.026e-05/0.02173, allocations: 8.312 kB / 250.3 MB, free: 8.402 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.76e-05/0.02175, allocations: 8.375 kB / 250.3 MB, free: 8.395 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002422/0.02199, allocations: 133.2 kB / 250.4 MB, free: 8.242 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.022, allocations: 4.188 kB / 250.4 MB, free: 8.238 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.02201, allocations: 384 / 250.4 MB, free: 8.238 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.02202, allocations: 7.938 kB / 250.4 MB, free: 8.23 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.866e-05/0.02207, allocations: 18.75 kB / 250.5 MB, free: 8.211 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003253/0.02239, allocations: 207.5 kB / 250.7 MB, free: 7.984 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001389/0.02253, allocations: 126.6 kB / 250.8 MB, free: 7.832 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.793e-05/0.02257, allocations: 30.56 kB / 250.8 MB, free: 7.793 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.02259, allocations: 4 kB / 250.8 MB, free: 7.789 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000121/0.02271, allocations: 70.09 kB / 250.9 MB, free: 7.707 MB / 250.7 MB Notification: Performance of pre-optimization done (n=9): time 1.623e-06/0.02271, allocations: 0 / 250.9 MB, free: 7.707 MB / 250.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001866/0.02289, allocations: 81.59 kB / 251 MB, free: 7.621 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.458e-05/0.02295, allocations: 106.8 kB / 251.1 MB, free: 7.492 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001895/0.02314, allocations: 238.6 kB / 251.3 MB, free: 7.246 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.1e-05/0.02316, allocations: 29.64 kB / 251.3 MB, free: 7.211 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.941e-05/0.02321, allocations: 104.8 kB / 251.4 MB, free: 7.105 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.613e-05/0.02324, allocations: 23.89 kB / 251.5 MB, free: 7.082 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.535e-05/0.02328, allocations: 29.7 kB / 251.5 MB, free: 7.047 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.157e-05/0.02337, allocations: 330.8 kB / 251.8 MB, free: 6.715 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.144e-05/0.02339, allocations: 6.828 kB / 251.8 MB, free: 6.707 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.141e-05/0.02344, allocations: 52.27 kB / 251.9 MB, free: 6.641 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.886e-05/0.02348, allocations: 39.34 kB / 251.9 MB, free: 6.594 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.02349, allocations: 0 / 251.9 MB, free: 6.594 MB / 250.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001014/0.02359, allocations: 64.45 kB / 252 MB, free: 6.523 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.02361, allocations: 11.98 kB / 252 MB, free: 6.512 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.02361, allocations: 4 kB / 252 MB, free: 6.508 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.02363, allocations: 4 kB / 252 MB, free: 6.504 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.728e-05/0.0237, allocations: 8 kB / 252 MB, free: 6.496 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.677e-06/0.02371, allocations: 0 / 252 MB, free: 6.496 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.77e-05/0.02376, allocations: 8.25 kB / 252 MB, free: 6.488 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.098e-06/0.02376, allocations: 7.984 kB / 252 MB, free: 6.48 MB / 250.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.003195/0.02696, allocations: 124.6 kB / 252.1 MB, free: 6.348 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.318e-05/0.02705, allocations: 53.56 kB / 252.2 MB, free: 6.289 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001567/0.02721, allocations: 83.45 kB / 252.3 MB, free: 6.203 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.02721, allocations: 4 kB / 252.3 MB, free: 6.199 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.053e-06/0.02722, allocations: 0 / 252.3 MB, free: 6.199 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.02722, allocations: 0 / 252.3 MB, free: 6.199 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001317/0.02735, allocations: 101.8 kB / 252.4 MB, free: 6.082 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.02735, allocations: 0 / 252.4 MB, free: 6.082 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.195e-05/0.0274, allocations: 11.98 kB / 252.4 MB, free: 6.07 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.447e-05/0.02745, allocations: 19.91 kB / 252.4 MB, free: 6.051 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.02746, allocations: 3.984 kB / 252.4 MB, free: 6.047 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.245e-06/0.02746, allocations: 7.938 kB / 252.4 MB, free: 6.039 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.02747, allocations: 3.938 kB / 252.4 MB, free: 6.035 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.02747, allocations: 4 kB / 252.4 MB, free: 6.031 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001201/0.02759, allocations: 108.5 kB / 252.5 MB, free: 5.898 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.363e-05/0.02761, allocations: 4 kB / 252.5 MB, free: 5.895 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.607e-05/0.02767, allocations: 15.92 kB / 252.6 MB, free: 5.879 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.258e-05/0.0277, allocations: 0 / 252.6 MB, free: 5.879 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.608e-05/0.02772, allocations: 7.984 kB / 252.6 MB, free: 5.871 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001014/0.02782, allocations: 85.55 kB / 252.6 MB, free: 5.781 MB / 250.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.02782, allocations: 0 / 252.6 MB, free: 5.781 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002044/0.02802, allocations: 31.89 kB / 252.7 MB, free: 5.75 MB / 250.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.001526/0.02955, allocations: 0.5503 MB / 253.2 MB, free: 5.426 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.003183/0.03273, allocations: 32.84 kB / 253.3 MB, free: 5.391 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.772e-05/0.03275, allocations: 4 kB / 253.3 MB, free: 5.387 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 7.501e-05/0.03282, allocations: 32.72 kB / 253.3 MB, free: 5.352 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004152/0.03324, allocations: 333.1 kB / 253.6 MB, free: 4.965 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006981/0.03394, allocations: 303.8 kB / 253.9 MB, free: 4.637 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.224e-05/0.03399, allocations: 75.83 kB / 254 MB, free: 4.543 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.847e-05/0.03406, allocations: 17.48 kB / 254 MB, free: 4.527 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001073/0.03417, allocations: 83.34 kB / 254.1 MB, free: 4.445 MB / 250.7 MB Notification: Performance of SimCode: time 1.452e-06/0.03417, allocations: 0 / 254.1 MB, free: 4.445 MB / 250.7 MB Notification: Performance of Templates: time 0.009298/0.04346, allocations: 2.861 MB / 257 MB, free: 1.629 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SuperSample/SuperSample.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.497577752918005]