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.001332/0.001332, allocations: 73.72 kB / 21.24 MB, free: 0.5547 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.001474/0.001474, allocations: 160.8 kB / 24.5 MB, free: 3.715 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.477/1.477, allocations: 177.2 MB / 204.9 MB, free: 8.992 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 0.002191/0.002191, allocations: 50.48 kB / 325.6 MB, free: 472 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09918/0.1014, allocations: 53.33 MB / 378.9 MB, free: 15.8 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample): time 0.003534/0.1049, allocations: 1.983 MB / 380.9 MB, free: 13.81 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002209/0.1071, allocations: 1.192 MB / 382.1 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001168/0.1072, allocations: 3.938 kB / 382.1 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006381/0.1079, allocations: 167.4 kB / 382.2 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004213/0.1083, allocations: 167.4 kB / 382.4 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005982/0.1089, allocations: 211 kB / 382.6 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003098/0.1092, allocations: 227.4 kB / 382.8 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001289/0.1093, allocations: 40.52 kB / 382.9 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001464/0.1095, allocations: 103.6 kB / 383 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001514/0.1096, allocations: 95.47 kB / 383.1 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.11e-05/0.1097, allocations: 16 kB / 383.1 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001579/0.1098, allocations: 59.95 kB / 383.1 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.665e-05/0.1099, allocations: 59.77 kB / 383.2 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.082e-05/0.11, allocations: 67.48 kB / 383.3 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000364/0.1104, allocations: 262.9 kB / 383.5 MB, free: 11.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1104, allocations: 0 / 383.5 MB, free: 11.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1104, allocations: 0 / 383.5 MB, free: 11.16 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.1104, allocations: 0 / 383.5 MB, free: 11.16 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.0008239/0.1112, allocations: 0.4946 MB / 384 MB, free: 10.63 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.1112, allocations: 8.031 kB / 384 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.631e-05/0.1113, allocations: 36.78 kB / 384.1 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003958/0.1117, allocations: 229.5 kB / 384.3 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.167e-05/0.1117, allocations: 8.375 kB / 384.3 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.1117, allocations: 16.12 kB / 384.3 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005627/0.1123, allocations: 296.6 kB / 384.6 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.1123, allocations: 3.984 kB / 384.6 MB, free: 9.996 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.586e-05/0.1123, allocations: 4 kB / 384.6 MB, free: 9.992 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.752e-06/0.1123, allocations: 8 kB / 384.6 MB, free: 9.984 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001565/0.1125, allocations: 59.97 kB / 384.7 MB, free: 9.926 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005065/0.113, allocations: 318 kB / 385 MB, free: 9.578 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003446/0.1134, allocations: 164 kB / 385.1 MB, free: 9.391 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001496/0.1135, allocations: 74.55 kB / 385.2 MB, free: 9.309 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.588e-05/0.1135, allocations: 7.938 kB / 385.2 MB, free: 9.301 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001685/0.1137, allocations: 75.39 kB / 385.3 MB, free: 9.215 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.823e-06/0.1137, allocations: 0 / 385.3 MB, free: 9.215 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.0005369/0.1142, allocations: 229.4 kB / 385.5 MB, free: 8.984 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001/0.1143, allocations: 122.9 kB / 385.6 MB, free: 8.84 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003409/0.1147, allocations: 281.9 kB / 385.9 MB, free: 8.559 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.998e-05/0.1147, allocations: 33.69 kB / 385.9 MB, free: 8.52 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001001/0.1148, allocations: 124.6 kB / 386.1 MB, free: 8.395 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.858e-05/0.1148, allocations: 36.09 kB / 386.1 MB, free: 8.359 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.153e-05/0.1149, allocations: 49.94 kB / 386.2 MB, free: 8.305 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001599/0.1151, allocations: 338.8 kB / 386.5 MB, free: 7.965 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.396e-05/0.1152, allocations: 40.45 kB / 386.5 MB, free: 7.926 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000217/0.1154, allocations: 199.8 kB / 386.7 MB, free: 7.668 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002713/0.1157, allocations: 195.2 kB / 386.9 MB, free: 7.422 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.1157, allocations: 4 kB / 386.9 MB, free: 7.418 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003777/0.116, allocations: 229.5 kB / 387.1 MB, free: 7.188 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.1161, allocations: 4 kB / 387.1 MB, free: 7.184 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.218e-06/0.1161, allocations: 8 kB / 387.1 MB, free: 7.176 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.914e-05/0.1161, allocations: 8 kB / 387.2 MB, free: 7.168 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.656e-05/0.1162, allocations: 23.92 kB / 387.2 MB, free: 7.145 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.097e-05/0.1162, allocations: 11.94 kB / 387.2 MB, free: 7.133 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001079/0.1163, allocations: 16.42 kB / 387.2 MB, free: 7.117 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.56e-05/0.1163, allocations: 12 kB / 387.2 MB, free: 7.105 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.0001612/0.1165, allocations: 168.1 kB / 387.4 MB, free: 6.934 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002133/0.1167, allocations: 133.4 kB / 387.5 MB, free: 6.797 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002811/0.117, allocations: 127.3 kB / 387.6 MB, free: 6.664 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.117, allocations: 4 kB / 387.6 MB, free: 6.66 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.937e-06/0.117, allocations: 4 kB / 387.6 MB, free: 6.656 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.117, allocations: 3.984 kB / 387.6 MB, free: 6.652 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001962/0.1172, allocations: 173.1 kB / 387.8 MB, free: 6.453 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1172, allocations: 4 kB / 387.8 MB, free: 6.449 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.978e-05/0.1172, allocations: 15.98 kB / 387.8 MB, free: 6.434 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.1172, allocations: 3.984 kB / 387.8 MB, free: 6.43 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.615e-05/0.1173, allocations: 8 kB / 387.8 MB, free: 6.422 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.1173, allocations: 0 / 387.8 MB, free: 6.422 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/0.1173, allocations: 4 kB / 387.9 MB, free: 6.418 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003747/0.1176, allocations: 230.4 kB / 388.1 MB, free: 6.168 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.922e-05/0.1177, allocations: 43.77 kB / 388.1 MB, free: 6.125 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.604e-05/0.1178, allocations: 8 kB / 388.1 MB, free: 6.117 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.498e-05/0.1178, allocations: 7.984 kB / 388.1 MB, free: 6.109 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.631e-05/0.1179, allocations: 12 kB / 388.1 MB, free: 6.098 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.298e-05/0.1179, allocations: 7.984 kB / 388.2 MB, free: 6.09 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002188/0.1181, allocations: 205.2 kB / 388.4 MB, free: 5.887 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1181, allocations: 0 / 388.4 MB, free: 5.887 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003267/0.1184, allocations: 40 kB / 388.4 MB, free: 5.848 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.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.001665/0.1201, allocations: 473.9 kB / 388.9 MB, free: 5.566 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003245/0.1204, allocations: 147.8 kB / 389 MB, free: 5.422 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.1204, allocations: 0 / 389 MB, free: 5.422 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.371e-05/0.1205, allocations: 27.92 kB / 389 MB, free: 5.395 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004823/0.121, allocations: 116.4 kB / 389.1 MB, free: 5.285 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006884/0.1217, allocations: 401.3 kB / 389.5 MB, free: 4.863 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001705/0.1219, allocations: 154.3 kB / 389.7 MB, free: 4.684 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.58e-05/0.1219, allocations: 30.66 kB / 389.7 MB, free: 4.656 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.9e-05/0.122, allocations: 24.5 kB / 389.7 MB, free: 4.633 MB / 350.1 MB Notification: Performance of SimCode: time 3.9e-07/0.122, allocations: 0 / 389.7 MB, free: 4.633 MB / 350.1 MB Notification: Performance of Templates: time 0.007588/0.1296, allocations: 3.253 MB / 393 MB, free: 1.426 MB / 350.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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/UpSample/UpSample.csv","/var/lib/jenkins1/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.465701956069097]