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.001817/0.001817, allocations: 69.64 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.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.002183/0.002183, allocations: 151.6 kB / 24.49 MB, free: 3.855 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.403/1.403, allocations: 173.4 MB / 201.1 MB, free: 12.7 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.00157/0.00157, allocations: 47.14 kB / 319.4 MB, free: 3.273 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08992/0.09149, allocations: 52.16 MB / 371.6 MB, free: 7.359 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample): time 0.003438/0.09493, allocations: 1.963 MB / 373.5 MB, free: 5.379 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001872/0.0968, allocations: 1.064 MB / 374.6 MB, free: 4.309 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001043/0.09691, allocations: 7.938 kB / 374.6 MB, free: 4.301 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000542/0.09745, allocations: 147.5 kB / 374.7 MB, free: 4.156 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002985/0.09775, allocations: 119.5 kB / 374.9 MB, free: 4.039 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00062/0.09837, allocations: 255.1 kB / 375.1 MB, free: 3.793 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002825/0.09865, allocations: 219.4 kB / 375.3 MB, free: 3.578 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.09876, allocations: 36.5 kB / 375.4 MB, free: 3.539 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001255/0.09889, allocations: 91.62 kB / 375.5 MB, free: 3.449 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001458/0.09904, allocations: 103.4 kB / 375.6 MB, free: 3.348 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.206e-05/0.09907, allocations: 12 kB / 375.6 MB, free: 3.336 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001514/0.09922, allocations: 63.95 kB / 375.6 MB, free: 3.273 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.629e-05/0.0993, allocations: 55.83 kB / 375.7 MB, free: 3.219 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.307e-05/0.09938, allocations: 67.53 kB / 375.7 MB, free: 3.152 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003405/0.09972, allocations: 250.9 kB / 376 MB, free: 2.906 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.09972, allocations: 0 / 376 MB, free: 2.906 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.09972, allocations: 0 / 376 MB, free: 2.906 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.09973, allocations: 0 / 376 MB, free: 2.906 MB / 334.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.0007488/0.1005, allocations: 0.4907 MB / 376.5 MB, free: 2.379 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.102e-05/0.1005, allocations: 8.031 kB / 376.5 MB, free: 2.371 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.898e-05/0.1006, allocations: 24.8 kB / 376.5 MB, free: 2.348 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003567/0.1009, allocations: 221.5 kB / 376.7 MB, free: 2.105 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.259e-05/0.1009, allocations: 12.38 kB / 376.7 MB, free: 2.094 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.013e-05/0.101, allocations: 16.12 kB / 376.8 MB, free: 2.078 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005273/0.1015, allocations: 293.6 kB / 377 MB, free: 1.77 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.1015, allocations: 0 / 377 MB, free: 1.77 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.474e-05/0.1015, allocations: 4 kB / 377 MB, free: 1.766 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.1015, allocations: 3.938 kB / 377.1 MB, free: 1.762 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001592/0.1017, allocations: 63.97 kB / 377.1 MB, free: 1.699 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004558/0.1021, allocations: 314 kB / 377.4 MB, free: 1.355 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000332/0.1025, allocations: 168 kB / 377.6 MB, free: 1.164 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001447/0.1026, allocations: 82.53 kB / 377.7 MB, free: 1.074 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.83e-05/0.1027, allocations: 3.984 kB / 377.7 MB, free: 1.07 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001598/0.1028, allocations: 79.33 kB / 377.7 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of pre-optimization done (n=22): time 1.613e-06/0.1028, allocations: 0 / 377.7 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of matching and sorting (n=22): time 0.0005123/0.1033, allocations: 237.4 kB / 378 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.099e-05/0.1034, allocations: 115.2 kB / 378.1 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003003/0.1037, allocations: 281.6 kB / 378.4 MB, free: 328 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.122e-05/0.1037, allocations: 25.7 kB / 378.4 MB, free: 296 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.168e-05/0.1038, allocations: 120.6 kB / 378.5 MB, free: 172 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.706e-05/0.1038, allocations: 39.77 kB / 378.5 MB, free: 132 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.286e-05/0.1039, allocations: 53.89 kB / 378.6 MB, free: 72 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000161/0.1041, allocations: 334.8 kB / 378.9 MB, free: 15.73 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.848e-05/0.1042, allocations: 36.45 kB / 379 MB, free: 15.7 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002033/0.1044, allocations: 198.8 kB / 379.2 MB, free: 15.44 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000274/0.1046, allocations: 203.2 kB / 379.4 MB, free: 15.19 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/0.1047, allocations: 4 kB / 379.4 MB, free: 15.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000363/0.105, allocations: 221.6 kB / 379.6 MB, free: 14.96 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.836e-05/0.105, allocations: 10.69 kB / 379.6 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.105, allocations: 8 kB / 379.6 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.238e-05/0.1051, allocations: 11.98 kB / 379.6 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.62e-05/0.1051, allocations: 15.94 kB / 379.6 MB, free: 14.92 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.447e-05/0.1052, allocations: 16.23 kB / 379.6 MB, free: 14.9 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001105/0.1053, allocations: 19.89 kB / 379.7 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.721e-05/0.1053, allocations: 12 kB / 379.7 MB, free: 14.87 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: 163.9 kB / 379.8 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002062/0.1057, allocations: 125.5 kB / 380 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002556/0.1059, allocations: 127.4 kB / 380.1 MB, free: 14.44 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.139e-06/0.1059, allocations: 4 kB / 380.1 MB, free: 14.44 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.1059, allocations: 0 / 380.1 MB, free: 14.44 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.1059, allocations: 0 / 380.1 MB, free: 14.44 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001789/0.1061, allocations: 177.1 kB / 380.3 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.1061, allocations: 0 / 380.3 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.979e-05/0.1062, allocations: 15.94 kB / 380.3 MB, free: 14.22 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.548e-06/0.1062, allocations: 4 kB / 380.3 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.179e-05/0.1062, allocations: 0 / 380.3 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.274e-06/0.1062, allocations: 7.984 kB / 380.3 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1062, allocations: 4 kB / 380.3 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003711/0.1065, allocations: 237 kB / 380.5 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.966e-05/0.1066, allocations: 51.75 kB / 380.6 MB, free: 13.9 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.503e-05/0.1067, allocations: 4 kB / 380.6 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.785e-05/0.1068, allocations: 4 kB / 380.6 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.91e-05/0.1068, allocations: 11.98 kB / 380.6 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.8e-05/0.1068, allocations: 4 kB / 380.6 MB, free: 13.88 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002051/0.107, allocations: 201.3 kB / 380.8 MB, free: 13.68 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.107, allocations: 3.938 kB / 380.8 MB, free: 13.68 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003032/0.1073, allocations: 40 kB / 380.8 MB, free: 13.64 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.001653/0.109, allocations: 454.8 kB / 381.3 MB, free: 13.37 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003235/0.1093, allocations: 144.7 kB / 381.4 MB, free: 13.23 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1093, allocations: 0 / 381.4 MB, free: 13.23 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.598e-05/0.1094, allocations: 27.94 kB / 381.4 MB, free: 13.2 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004724/0.1098, allocations: 127.1 kB / 381.6 MB, free: 13.08 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006514/0.1105, allocations: 401 kB / 382 MB, free: 12.66 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001522/0.1106, allocations: 140.8 kB / 382.1 MB, free: 12.5 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.421e-05/0.1107, allocations: 26.42 kB / 382.1 MB, free: 12.47 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.665e-05/0.1108, allocations: 32.48 kB / 382.2 MB, free: 12.44 MB / 350.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1108, allocations: 0 / 382.2 MB, free: 12.44 MB / 350.1 MB Notification: Performance of Templates: time 0.007084/0.1179, allocations: 3.203 MB / 385.4 MB, free: 9.277 MB / 350.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 -s ida -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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/UpSample/UpSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 4.301984052988701]