Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001251/0.001251, allocations: 118.5 kB / 18.46 MB, free: 4.617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001247/0.001247, allocations: 194.6 kB / 21.4 MB, free: 1.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.374/1.374, allocations: 225.6 MB / 249.8 MB, free: 3.766 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001472/0.001472, allocations: 47.92 kB / 366.8 MB, free: 408 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08944/0.09092, allocations: 52.14 MB / 418.9 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample): time 0.003556/0.09447, allocations: 2.005 MB / 420.9 MB, free: 10.15 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001879/0.09635, allocations: 1.11 MB / 422.1 MB, free: 9.031 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001272/0.09648, allocations: 11.94 kB / 422.1 MB, free: 9.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006052/0.09708, allocations: 155.5 kB / 422.2 MB, free: 8.867 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003184/0.0974, allocations: 115.5 kB / 422.3 MB, free: 8.754 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000675/0.09808, allocations: 242.2 kB / 422.6 MB, free: 8.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002828/0.09836, allocations: 219.5 kB / 422.8 MB, free: 8.305 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001207/0.09848, allocations: 44.23 kB / 422.8 MB, free: 8.258 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001338/0.09861, allocations: 95.61 kB / 422.9 MB, free: 8.164 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001335/0.09875, allocations: 95.53 kB / 423 MB, free: 8.07 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.248e-05/0.09878, allocations: 16 kB / 423 MB, free: 8.055 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001461/0.09893, allocations: 55.91 kB / 423.1 MB, free: 8 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.911e-05/0.099, allocations: 51.83 kB / 423.1 MB, free: 7.949 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.691e-05/0.0991, allocations: 91.41 kB / 423.2 MB, free: 7.859 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003667/0.09947, allocations: 258.9 kB / 423.5 MB, free: 7.605 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.09947, allocations: 0 / 423.5 MB, free: 7.605 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.09947, allocations: 0 / 423.5 MB, free: 7.605 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.229e-06/0.09948, allocations: 7.938 kB / 423.5 MB, free: 7.598 MB / 350.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.000816/0.1003, allocations: 0.5505 MB / 424 MB, free: 6.992 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.113e-05/0.1003, allocations: 11.89 kB / 424 MB, free: 6.98 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.464e-05/0.1004, allocations: 24.8 kB / 424.1 MB, free: 6.957 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003805/0.1008, allocations: 290.8 kB / 424.4 MB, free: 6.637 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.717e-05/0.1008, allocations: 16.31 kB / 424.4 MB, free: 6.621 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.84e-05/0.1008, allocations: 20.12 kB / 424.4 MB, free: 6.602 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005374/0.1014, allocations: 291 kB / 424.7 MB, free: 6.293 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.1014, allocations: 0 / 424.7 MB, free: 6.293 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.697e-05/0.1014, allocations: 4 kB / 424.7 MB, free: 6.289 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/0.1014, allocations: 4 kB / 424.7 MB, free: 6.285 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001506/0.1015, allocations: 59.91 kB / 424.7 MB, free: 6.227 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005095/0.102, allocations: 390.3 kB / 425.1 MB, free: 5.789 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003416/0.1024, allocations: 160 kB / 425.3 MB, free: 5.605 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001453/0.1025, allocations: 86.55 kB / 425.4 MB, free: 5.512 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.147e-05/0.1026, allocations: 8.047 kB / 425.4 MB, free: 5.504 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001641/0.1027, allocations: 83.31 kB / 425.4 MB, free: 5.41 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.673e-06/0.1027, allocations: 0 / 425.4 MB, free: 5.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.0005277/0.1033, allocations: 225.4 kB / 425.7 MB, free: 5.184 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001007/0.1034, allocations: 144.5 kB / 425.8 MB, free: 5.012 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002961/0.1037, allocations: 273 kB / 426.1 MB, free: 4.73 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.578e-05/0.1037, allocations: 29.7 kB / 426.1 MB, free: 4.695 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.047e-05/0.1038, allocations: 112.7 kB / 426.2 MB, free: 4.582 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.399e-05/0.1038, allocations: 43.75 kB / 426.3 MB, free: 4.539 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.08e-05/0.1039, allocations: 49.89 kB / 426.3 MB, free: 4.484 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.104, allocations: 346.8 kB / 426.6 MB, free: 4.137 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.601e-05/0.1041, allocations: 32.45 kB / 426.7 MB, free: 4.105 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001864/0.1043, allocations: 174.7 kB / 426.8 MB, free: 3.875 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002618/0.1046, allocations: 199.2 kB / 427 MB, free: 3.625 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.1046, allocations: 3.938 kB / 427 MB, free: 3.621 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003651/0.1049, allocations: 225.2 kB / 427.3 MB, free: 3.395 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.1049, allocations: 8 kB / 427.3 MB, free: 3.387 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/0.1049, allocations: 4.375 kB / 427.3 MB, free: 3.383 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.105, allocations: 4 kB / 427.3 MB, free: 3.379 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.797e-05/0.1051, allocations: 27.92 kB / 427.3 MB, free: 3.352 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.1051, allocations: 4 kB / 427.3 MB, free: 3.348 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001146/0.1052, allocations: 28.33 kB / 427.3 MB, free: 3.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.647e-05/0.1052, allocations: 12 kB / 427.4 MB, free: 3.309 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 26 ($PRE.table1.combiTimeTable.nextTimeEvent,$whenCondition1,table1.combiTimeTable.nextTimeEventScaled,$PRE.table1.combiTimeTable.nextTimeEventScaled,table1.combiTimeTable.nextTimeEvent,table1.y,and1.y,and1.u2,and1.u1,upSample2.u_super,$CLKPRE.upSample2.b_super,upSample2.b_super,upSample2.y,upSample1.u_super,$CLKPRE.upSample1.b_super,upSample1.b_super,upSample1.y,$CLKPRE.upSample2.b,upSample2.b,upSample2.dummy,upSample2.u,$CLKPRE.upSample1.b,upSample1.b,upSample1.dummy,upSample1.u,sample1.y) * 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 (28): * Single equations (assignments): 28 * 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.0001558/0.1054, allocations: 164.6 kB / 427.5 MB, free: 3.141 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001931/0.1056, allocations: 129.5 kB / 427.6 MB, free: 3.008 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.345e-05/0.1056, allocations: 33.64 kB / 427.7 MB, free: 2.973 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.1056, allocations: 4 kB / 427.7 MB, free: 2.969 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.1056, allocations: 0 / 427.7 MB, free: 2.969 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.1056, allocations: 3.938 kB / 427.7 MB, free: 2.965 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002358/0.1059, allocations: 257.4 kB / 427.9 MB, free: 2.664 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1059, allocations: 0 / 427.9 MB, free: 2.664 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.657e-05/0.1059, allocations: 4 kB / 427.9 MB, free: 2.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.1059, allocations: 4 kB / 427.9 MB, free: 2.656 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.797e-05/0.1059, allocations: 7.984 kB / 427.9 MB, free: 2.648 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.1059, allocations: 4 kB / 428 MB, free: 2.645 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.1059, allocations: 0 / 428 MB, free: 2.645 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003638/0.1063, allocations: 229.3 kB / 428.2 MB, free: 2.398 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001088/0.1064, allocations: 116.9 kB / 428.3 MB, free: 2.266 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.84e-05/0.1064, allocations: 8 kB / 428.3 MB, free: 2.258 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.194e-05/0.1065, allocations: 8 kB / 428.3 MB, free: 2.25 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.815e-05/0.1066, allocations: 3.984 kB / 428.3 MB, free: 2.246 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.294e-05/0.1066, allocations: 8 kB / 428.3 MB, free: 2.238 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002087/0.1068, allocations: 200.5 kB / 428.5 MB, free: 2.043 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1068, allocations: 0 / 428.5 MB, free: 2.043 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003032/0.1071, allocations: 47.88 kB / 428.6 MB, free: 1.996 MB / 350.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.nextTimeEventScaled,table1.combiTimeTable.nextTimeEvent) * 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 (22): * Single equations (assignments): 20 * 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.001464/0.1086, allocations: 443.4 kB / 429 MB, free: 1.727 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003186/0.1089, allocations: 128.6 kB / 429.1 MB, free: 1.602 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1089, allocations: 256 / 429.1 MB, free: 1.602 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.348e-05/0.1089, allocations: 35.92 kB / 429.2 MB, free: 1.566 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004873/0.1094, allocations: 116 kB / 429.3 MB, free: 1.461 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000689/0.1101, allocations: 419.1 kB / 429.7 MB, free: 1.016 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003616/0.1105, allocations: 0.7556 MB / 430.4 MB, free: 236 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.486e-05/0.1105, allocations: 23.44 kB / 430.5 MB, free: 212 kB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1105, allocations: 3.938 kB / 430.5 MB, free: 208 kB / 350.1 MB Notification: Performance of Templates: time 0.005563/0.1161, allocations: 3.236 MB / 433.7 MB, free: 12.98 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/UpSample/UpSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 6.9868301949463785]