Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.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.0008387/0.0008387, allocations: 88.28 kB / 21.43 MB, free: 3.133 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.004271/0.004271, allocations: 160.1 kB / 24.7 MB, free: 9.418 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.8659/0.8659, allocations: 177 MB / 204.9 MB, free: 5.715 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.BooleanSignals.UpSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5030,variableFilter="time|upSample1.y|upSample2.y|and1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5030,variableFilter="time|upSample1.y|upSample2.y|and1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 325.8 MB, free: 15.37 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.275e-05/2.486e-05, allocations: 3.266 kB / 325.8 MB, free: 15.37 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample): time 0.002499/0.002524, allocations: 1.986 MB / 327.8 MB, free: 13.36 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001928/0.004451, allocations: 1.195 MB / 329 MB, free: 12.16 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000153/0.004604, allocations: 7.938 kB / 329 MB, free: 12.15 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006078/0.005212, allocations: 163.3 kB / 329.1 MB, free: 11.99 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003506/0.005563, allocations: 163.3 kB / 329.3 MB, free: 11.83 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004802/0.006043, allocations: 226.4 kB / 329.5 MB, free: 11.61 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002801/0.006323, allocations: 227.4 kB / 329.7 MB, free: 11.39 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001212/0.006444, allocations: 32.56 kB / 329.8 MB, free: 11.36 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001393/0.006583, allocations: 123.6 kB / 329.9 MB, free: 11.24 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001167/0.0067, allocations: 83.77 kB / 330 MB, free: 11.16 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.728e-05/0.006727, allocations: 16 kB / 330 MB, free: 11.14 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001301/0.006857, allocations: 59.91 kB / 330 MB, free: 11.08 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.031e-05/0.006928, allocations: 63.77 kB / 330.1 MB, free: 11.02 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.686e-05/0.006985, allocations: 51.77 kB / 330.2 MB, free: 10.97 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003025/0.007287, allocations: 271.1 kB / 330.4 MB, free: 10.7 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.00729, allocations: 0 / 330.4 MB, free: 10.7 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.007292, allocations: 0 / 330.4 MB, free: 10.7 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.007297, allocations: 0 / 330.4 MB, free: 10.7 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0006339/0.007931, allocations: 486.5 kB / 330.9 MB, free: 10.19 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.007969, allocations: 15.98 kB / 330.9 MB, free: 10.18 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.398e-05/0.008023, allocations: 32.75 kB / 330.9 MB, free: 10.14 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002727/0.008296, allocations: 224.8 kB / 331.2 MB, free: 9.902 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.71e-05/0.008313, allocations: 16.3 kB / 331.2 MB, free: 9.887 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.732e-05/0.00833, allocations: 12.38 kB / 331.2 MB, free: 9.875 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003895/0.00872, allocations: 290.8 kB / 331.5 MB, free: 9.57 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.008731, allocations: 4.125 kB / 331.5 MB, free: 9.566 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.441e-05/0.008746, allocations: 8.359 kB / 331.5 MB, free: 9.559 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.008752, allocations: 7.938 kB / 331.5 MB, free: 9.551 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001038/0.008856, allocations: 59.97 kB / 331.6 MB, free: 9.492 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003727/0.009229, allocations: 314 kB / 331.9 MB, free: 9.148 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002078/0.009437, allocations: 168 kB / 332 MB, free: 8.957 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.572e-05/0.009523, allocations: 74.55 kB / 332.1 MB, free: 8.875 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.387e-05/0.009546, allocations: 15.86 kB / 332.1 MB, free: 8.859 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001208/0.009667, allocations: 83.39 kB / 332.2 MB, free: 8.766 MB / 298.7 MB Notification: Performance of pre-optimization done (n=22): time 1.483e-06/0.009669, allocations: 0 / 332.2 MB, free: 8.766 MB / 298.7 MB Notification: Performance of matching and sorting (n=22): time 0.0003458/0.01001, allocations: 229.3 kB / 332.4 MB, free: 8.535 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.632e-05/0.01008, allocations: 119.1 kB / 332.5 MB, free: 8.395 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002038/0.01028, allocations: 285.8 kB / 332.8 MB, free: 8.105 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.684e-05/0.0103, allocations: 29.7 kB / 332.8 MB, free: 8.07 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.559e-05/0.01037, allocations: 116.6 kB / 333 MB, free: 7.953 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.677e-05/0.01039, allocations: 35.78 kB / 333 MB, free: 7.918 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.155e-05/0.01044, allocations: 37.7 kB / 333 MB, free: 7.875 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.044e-05/0.01053, allocations: 330.8 kB / 333.4 MB, free: 7.543 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.35e-05/0.01057, allocations: 27.98 kB / 333.4 MB, free: 7.516 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.76e-05/0.01065, allocations: 111.2 kB / 333.5 MB, free: 7.383 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.778e-05/0.01074, allocations: 105.1 kB / 333.6 MB, free: 7.262 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.01075, allocations: 0 / 333.6 MB, free: 7.262 MB / 298.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001497/0.0109, allocations: 149.7 kB / 333.7 MB, free: 7.109 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.01091, allocations: 4 kB / 333.7 MB, free: 7.105 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.01091, allocations: 0 / 333.7 MB, free: 7.105 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.01093, allocations: 12.14 kB / 333.8 MB, free: 7.094 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.118e-05/0.01099, allocations: 23.92 kB / 333.8 MB, free: 7.07 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.011, allocations: 3.984 kB / 333.8 MB, free: 7.066 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.018e-05/0.01104, allocations: 7.938 kB / 333.8 MB, free: 7.059 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.017e-05/0.01105, allocations: 12 kB / 333.8 MB, free: 7.047 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 14 ($PRE.table1.combiTimeTable.nextTimeEvent,$whenCondition1,table1.combiTimeTable.nextTimeEventScaled,$PRE.table1.combiTimeTable.nextTimeEventScaled,table1.combiTimeTable.nextTimeEvent,table1.y,$CLKPRE.upSample2.b_super,upSample2.b_super,$CLKPRE.upSample1.b_super,upSample1.b_super,$CLKPRE.upSample2.b,upSample2.b,$CLKPRE.upSample1.b,upSample1.b) * Number of discrete states: 0 () * Number of clocked states: 4 (upSample2.b_super,upSample1.b_super,upSample2.b,upSample1.b) * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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 9.507e-05/0.01114, allocations: 141.8 kB / 333.9 MB, free: 6.898 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001132/0.01126, allocations: 133.3 kB / 334.1 MB, free: 6.762 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001494/0.0114, allocations: 115.4 kB / 334.2 MB, free: 6.645 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.01141, allocations: 0 / 334.2 MB, free: 6.645 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.01141, allocations: 8 kB / 334.2 MB, free: 6.637 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.01142, allocations: 3.984 kB / 334.2 MB, free: 6.633 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001185/0.01154, allocations: 177.6 kB / 334.4 MB, free: 6.43 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.01154, allocations: 0 / 334.4 MB, free: 6.43 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.657e-05/0.01156, allocations: 15.92 kB / 334.4 MB, free: 6.414 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.01157, allocations: 3.938 kB / 334.4 MB, free: 6.41 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.592e-05/0.01158, allocations: 8 kB / 334.4 MB, free: 6.402 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.01158, allocations: 3.938 kB / 334.4 MB, free: 6.398 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.01159, allocations: 4 kB / 334.4 MB, free: 6.395 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002051/0.01179, allocations: 230.4 kB / 334.6 MB, free: 6.145 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.754e-05/0.01185, allocations: 51.72 kB / 334.7 MB, free: 6.094 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.353e-05/0.01187, allocations: 8 kB / 334.7 MB, free: 6.086 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.249e-05/0.01191, allocations: 11.98 kB / 334.7 MB, free: 6.074 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.442e-05/0.01195, allocations: 4 kB / 334.7 MB, free: 6.07 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.632e-05/0.01196, allocations: 7.984 kB / 334.7 MB, free: 6.062 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001323/0.0121, allocations: 205.2 kB / 334.9 MB, free: 5.863 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0121, allocations: 0 / 334.9 MB, free: 5.863 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000187/0.01228, allocations: 43.94 kB / 334.9 MB, free: 5.82 MB / 298.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: 20 ($whenCondition1,table1.y,table1.combiTimeTable.nextTimeEvent,table1.combiTimeTable.nextTimeEventScaled,upSample1.y,upSample1.b_super,upSample1.u_super,upSample2.y,upSample2.b_super,upSample2.u_super,and1.u1,and1.u2,and1.y,sample1.y,upSample1.u,upSample1.dummy,upSample1.b,upSample2.u,upSample2.dummy,upSample2.b) * Number of discrete states: 2 (table1.combiTimeTable.nextTimeEvent,table1.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 4 (upSample1.b_super,upSample2.b_super,upSample1.b,upSample2.b) * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 21 * 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.0007784/0.01306, allocations: 450.7 kB / 335.4 MB, free: 5.523 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001925/0.01326, allocations: 107.8 kB / 335.5 MB, free: 5.418 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.01326, allocations: 0 / 335.5 MB, free: 5.418 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.221e-05/0.0133, allocations: 23.94 kB / 335.5 MB, free: 5.395 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002987/0.0136, allocations: 104.8 kB / 335.6 MB, free: 5.293 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005123/0.01411, allocations: 442.7 kB / 336.1 MB, free: 4.82 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001039/0.01421, allocations: 146.1 kB / 336.2 MB, free: 4.652 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.571e-05/0.01426, allocations: 32.47 kB / 336.2 MB, free: 4.617 MB / 298.7 MB Notification: Performance of SimCode: time 4.91e-07/0.01426, allocations: 3.938 kB / 336.2 MB, free: 4.613 MB / 298.7 MB Notification: Performance of Templates: time 0.003821/0.01808, allocations: 3.237 MB / 339.5 MB, free: 1.375 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/UpSample/UpSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.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.741363278590143]