Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001442/0.001442, allocations: 84.92 kB / 20.68 MB, free: 1.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001497/0.001497, allocations: 165.1 kB / 23.96 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.447/1.447, allocations: 177.1 MB / 204.3 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 325.1 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.772e-05/2.913e-05, allocations: 3.594 kB / 325.1 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample): time 0.003689/0.003718, allocations: 1.997 MB / 327.1 MB, free: 15.21 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002457/0.006175, allocations: 1.2 MB / 328.3 MB, free: 14.44 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001642/0.006339, allocations: 6.375 kB / 328.3 MB, free: 14.43 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007012/0.00704, allocations: 161.1 kB / 328.4 MB, free: 14.38 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000472/0.007512, allocations: 164.1 kB / 328.6 MB, free: 14.3 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006588/0.008171, allocations: 216.8 kB / 328.8 MB, free: 14.18 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003599/0.008531, allocations: 233 kB / 329 MB, free: 14.07 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001265/0.008657, allocations: 41.59 kB / 329.1 MB, free: 14.05 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000208/0.008865, allocations: 127.9 kB / 329.2 MB, free: 13.99 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001457/0.009011, allocations: 75.23 kB / 329.3 MB, free: 13.97 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.606e-05/0.009047, allocations: 12.84 kB / 329.3 MB, free: 13.97 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001653/0.009212, allocations: 68.28 kB / 329.3 MB, free: 13.95 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.991e-05/0.009312, allocations: 58.81 kB / 329.4 MB, free: 13.92 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.467e-05/0.009397, allocations: 50.61 kB / 329.4 MB, free: 13.89 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004188/0.009816, allocations: 269.4 kB / 329.7 MB, free: 13.79 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.009821, allocations: 1.375 kB / 329.7 MB, free: 13.79 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.009822, allocations: 0 / 329.7 MB, free: 13.79 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.007e-05/0.009832, allocations: 0 / 329.7 MB, free: 13.79 MB / 302.1 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.0008731/0.0107, allocations: 484.8 kB / 330.2 MB, free: 13.37 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.01074, allocations: 10.27 kB / 330.2 MB, free: 13.37 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.474e-05/0.01082, allocations: 33.84 kB / 330.2 MB, free: 13.35 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003928/0.01121, allocations: 221.9 kB / 330.4 MB, free: 13.17 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.216e-05/0.01123, allocations: 11.25 kB / 330.5 MB, free: 13.16 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.241e-05/0.01127, allocations: 13.62 kB / 330.5 MB, free: 13.16 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005713/0.01184, allocations: 304.8 kB / 330.8 MB, free: 12.96 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.01185, allocations: 3.938 kB / 330.8 MB, free: 12.95 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.523e-05/0.01186, allocations: 5.469 kB / 330.8 MB, free: 12.95 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.01187, allocations: 2.906 kB / 330.8 MB, free: 12.95 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001614/0.01203, allocations: 64.44 kB / 330.8 MB, free: 12.92 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005155/0.01255, allocations: 313.7 kB / 331.1 MB, free: 12.62 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003601/0.01291, allocations: 171.3 kB / 331.3 MB, free: 12.49 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001527/0.01306, allocations: 83.38 kB / 331.4 MB, free: 12.43 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.699e-05/0.01309, allocations: 3.281 kB / 331.4 MB, free: 12.43 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000157/0.01325, allocations: 78.55 kB / 331.5 MB, free: 12.36 MB / 302.1 MB Notification: Performance of pre-optimization done (n=22): time 1.914e-06/0.01325, allocations: 4 kB / 331.5 MB, free: 12.36 MB / 302.1 MB Notification: Performance of matching and sorting (n=22): time 0.0005402/0.01379, allocations: 231.7 kB / 331.7 MB, free: 12.23 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.056e-05/0.01388, allocations: 121.5 kB / 331.8 MB, free: 12.09 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003427/0.01422, allocations: 281 kB / 332.1 MB, free: 11.9 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.897e-05/0.01425, allocations: 31.92 kB / 332.1 MB, free: 11.87 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001019/0.01435, allocations: 124.5 kB / 332.3 MB, free: 11.75 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.158e-05/0.01438, allocations: 28.38 kB / 332.3 MB, free: 11.73 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.251e-05/0.01445, allocations: 34.7 kB / 332.3 MB, free: 11.7 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.0146, allocations: 336.8 kB / 332.6 MB, free: 11.37 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.898e-05/0.01468, allocations: 27.14 kB / 332.7 MB, free: 11.36 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001333/0.01481, allocations: 107.4 kB / 332.8 MB, free: 11.25 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001703/0.01498, allocations: 103.5 kB / 332.9 MB, free: 11.16 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.01499, allocations: 0 / 332.9 MB, free: 11.16 MB / 302.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002892/0.01528, allocations: 148.4 kB / 333 MB, free: 11.07 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.0153, allocations: 6.219 kB / 333 MB, free: 11.07 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.0153, allocations: 1.406 kB / 333 MB, free: 11.07 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.245e-05/0.01533, allocations: 2.281 kB / 333 MB, free: 11.07 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.846e-05/0.01542, allocations: 15.3 kB / 333 MB, free: 11.07 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.824e-06/0.01543, allocations: 2.188 kB / 333 MB, free: 11.07 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.357e-05/0.01552, allocations: 12.44 kB / 333.1 MB, free: 11.06 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.394e-05/0.01553, allocations: 8.625 kB / 333.1 MB, free: 11.05 MB / 302.1 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 0.0001867/0.01572, allocations: 153.6 kB / 333.2 MB, free: 10.91 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002811/0.016, allocations: 130.7 kB / 333.3 MB, free: 10.83 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003157/0.01631, allocations: 126.9 kB / 333.5 MB, free: 10.75 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.944e-06/0.01632, allocations: 3.281 kB / 333.5 MB, free: 10.75 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.193e-05/0.01633, allocations: 9.078 kB / 333.5 MB, free: 10.74 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.7e-06/0.01634, allocations: 0 / 333.5 MB, free: 10.74 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002306/0.01657, allocations: 181.6 kB / 333.7 MB, free: 10.56 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.01657, allocations: 1.062 kB / 333.7 MB, free: 10.56 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.741e-05/0.01662, allocations: 11.64 kB / 333.7 MB, free: 10.56 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.01662, allocations: 1.531 kB / 333.7 MB, free: 10.56 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.776e-05/0.01664, allocations: 6.688 kB / 333.7 MB, free: 10.55 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.115e-06/0.01664, allocations: 2.531 kB / 333.7 MB, free: 10.55 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.01665, allocations: 7.938 kB / 333.7 MB, free: 10.55 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003855/0.01703, allocations: 228.7 kB / 333.9 MB, free: 10.39 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.397e-05/0.01712, allocations: 45.81 kB / 334 MB, free: 10.36 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.134e-05/0.01717, allocations: 6.125 kB / 334 MB, free: 10.36 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.952e-05/0.01725, allocations: 11.17 kB / 334 MB, free: 10.35 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.654e-05/0.01729, allocations: 2.844 kB / 334 MB, free: 10.35 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.73e-05/0.01732, allocations: 14.58 kB / 334 MB, free: 10.34 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002129/0.01753, allocations: 205.5 kB / 334.2 MB, free: 10.21 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.01753, allocations: 0 / 334.2 MB, free: 10.21 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002839/0.01782, allocations: 41.31 kB / 334.2 MB, free: 10.2 MB / 302.1 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.001698/0.01951, allocations: 472.3 kB / 334.7 MB, free: 9.977 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003068/0.01982, allocations: 105.2 kB / 334.8 MB, free: 9.934 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.01982, allocations: 0 / 334.8 MB, free: 9.934 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.361e-05/0.01991, allocations: 27.73 kB / 334.8 MB, free: 9.922 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005075/0.02041, allocations: 117 kB / 334.9 MB, free: 9.871 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007184/0.02113, allocations: 406.5 kB / 335.3 MB, free: 9.574 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00015/0.02128, allocations: 142.3 kB / 335.5 MB, free: 9.461 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.711e-05/0.02136, allocations: 31.91 kB / 335.5 MB, free: 9.441 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.398e-05/0.02142, allocations: 26.97 kB / 335.5 MB, free: 9.426 MB / 302.1 MB Notification: Performance of SimCode: time 3.21e-07/0.02142, allocations: 0 / 335.5 MB, free: 9.426 MB / 302.1 MB Notification: Performance of Templates: time 0.007637/0.02906, allocations: 3.114 MB / 338.6 MB, free: 7.395 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.301996190100908]