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.001377/0.001377, allocations: 79.73 kB / 21.25 MB, free: 396 kB / 14.72 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.00155/0.00155, allocations: 165.7 kB / 24.5 MB, free: 3.453 MB / 14.72 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 1.472/1.472, allocations: 177.1 MB / 204.7 MB, free: 9.027 MB / 190.1 MB " [Timeout remaining time 178] 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 0.002238/0.002238, allocations: 57.64 kB / 325.5 MB, free: 248 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.1301, allocations: 53.4 MB / 378.9 MB, free: 15.54 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample): time 0.004444/0.1345, allocations: 1.983 MB / 380.9 MB, free: 13.54 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002901/0.1374, allocations: 1.204 MB / 382.1 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003198/0.1377, allocations: 3.938 kB / 382.1 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009092/0.1386, allocations: 162.9 kB / 382.3 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005364/0.1392, allocations: 159.4 kB / 382.4 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007541/0.1399, allocations: 215.4 kB / 382.6 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003626/0.1403, allocations: 227.4 kB / 382.8 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000169/0.1405, allocations: 36.52 kB / 382.9 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001625/0.1406, allocations: 99.56 kB / 383 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000172/0.1408, allocations: 91.53 kB / 383.1 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.652e-05/0.1408, allocations: 16 kB / 383.1 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000195/0.141, allocations: 63.95 kB / 383.1 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001105/0.1411, allocations: 59.77 kB / 383.2 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001024/0.1412, allocations: 67.53 kB / 383.3 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004728/0.1417, allocations: 262.9 kB / 383.5 MB, free: 10.89 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.1417, allocations: 0 / 383.5 MB, free: 10.89 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1417, allocations: 0 / 383.5 MB, free: 10.89 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.311e-05/0.1417, allocations: 0 / 383.5 MB, free: 10.89 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.001097/0.1428, allocations: 0.4906 MB / 384 MB, free: 10.37 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.868e-05/0.1429, allocations: 11.98 kB / 384 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.78e-05/0.143, allocations: 28.8 kB / 384.1 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004523/0.1434, allocations: 237.5 kB / 384.3 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.332e-05/0.1434, allocations: 12.31 kB / 384.3 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.004e-05/0.1435, allocations: 16.36 kB / 384.3 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000601/0.1441, allocations: 299.9 kB / 384.6 MB, free: 9.73 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.1441, allocations: 3.938 kB / 384.6 MB, free: 9.727 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.728e-05/0.1441, allocations: 4 kB / 384.6 MB, free: 9.723 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.818e-06/0.1441, allocations: 4 kB / 384.6 MB, free: 9.719 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001604/0.1443, allocations: 55.97 kB / 384.7 MB, free: 9.664 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005631/0.1448, allocations: 310 kB / 385 MB, free: 9.324 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003631/0.1452, allocations: 168 kB / 385.1 MB, free: 9.133 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001525/0.1454, allocations: 82.48 kB / 385.2 MB, free: 9.043 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.924e-05/0.1454, allocations: 4 kB / 385.2 MB, free: 9.039 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001845/0.1456, allocations: 87.31 kB / 385.3 MB, free: 8.941 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.894e-06/0.1456, allocations: 0 / 385.3 MB, free: 8.941 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.000552/0.1461, allocations: 225.4 kB / 385.5 MB, free: 8.715 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.986e-05/0.1462, allocations: 118.8 kB / 385.7 MB, free: 8.574 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003324/0.1466, allocations: 285.8 kB / 385.9 MB, free: 8.289 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.694e-05/0.1466, allocations: 29.7 kB / 386 MB, free: 8.254 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.311e-05/0.1467, allocations: 124.6 kB / 386.1 MB, free: 8.129 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.452e-05/0.1467, allocations: 35.78 kB / 386.1 MB, free: 8.094 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.654e-05/0.1468, allocations: 49.94 kB / 386.2 MB, free: 8.039 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001564/0.147, allocations: 334.8 kB / 386.5 MB, free: 7.703 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.557e-05/0.1471, allocations: 48.38 kB / 386.5 MB, free: 7.656 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000209/0.1473, allocations: 186.9 kB / 386.7 MB, free: 7.41 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003337/0.1476, allocations: 207.2 kB / 386.9 MB, free: 7.152 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.1476, allocations: 4 kB / 386.9 MB, free: 7.148 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003751/0.148, allocations: 221.6 kB / 387.1 MB, free: 6.926 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.148, allocations: 8.062 kB / 387.2 MB, free: 6.918 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.148, allocations: 4 kB / 387.2 MB, free: 6.914 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.473e-05/0.148, allocations: 15.92 kB / 387.2 MB, free: 6.898 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001002/0.1481, allocations: 19.92 kB / 387.2 MB, free: 6.879 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.237e-05/0.1481, allocations: 11.94 kB / 387.2 MB, free: 6.867 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001142/0.1483, allocations: 23.88 kB / 387.2 MB, free: 6.844 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.925e-05/0.1483, allocations: 12 kB / 387.2 MB, free: 6.832 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.0001918/0.1485, allocations: 159.9 kB / 387.4 MB, free: 6.668 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002035/0.1487, allocations: 137.8 kB / 387.5 MB, free: 6.527 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002694/0.1489, allocations: 115.4 kB / 387.6 MB, free: 6.406 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.1489, allocations: 4 kB / 387.6 MB, free: 6.402 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.1489, allocations: 320 / 387.6 MB, free: 6.402 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.149, allocations: 4.094 kB / 387.6 MB, free: 6.398 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002102/0.1492, allocations: 193 kB / 387.8 MB, free: 6.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.073e-06/0.1492, allocations: 3.938 kB / 387.8 MB, free: 6.176 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.309e-05/0.1492, allocations: 8 kB / 387.8 MB, free: 6.168 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.1492, allocations: 0 / 387.8 MB, free: 6.168 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.687e-05/0.1492, allocations: 8 kB / 387.9 MB, free: 6.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.1492, allocations: 4.453 kB / 387.9 MB, free: 6.156 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.1492, allocations: 8 kB / 387.9 MB, free: 6.148 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003864/0.1496, allocations: 231.2 kB / 388.1 MB, free: 5.898 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.487e-05/0.1497, allocations: 43.77 kB / 388.1 MB, free: 5.855 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.665e-05/0.1498, allocations: 8 kB / 388.1 MB, free: 5.848 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.856e-05/0.1498, allocations: 8 kB / 388.2 MB, free: 5.84 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.04e-05/0.1499, allocations: 7.984 kB / 388.2 MB, free: 5.832 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.979e-05/0.1499, allocations: 4 kB / 388.2 MB, free: 5.828 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002354/0.1502, allocations: 209.2 kB / 388.4 MB, free: 5.617 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1502, allocations: 0 / 388.4 MB, free: 5.617 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003133/0.1505, allocations: 39.98 kB / 388.4 MB, free: 5.578 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.001667/0.1521, allocations: 463.2 kB / 388.9 MB, free: 5.273 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003354/0.1525, allocations: 140.9 kB / 389 MB, free: 5.137 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.1525, allocations: 0 / 389 MB, free: 5.137 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.664e-05/0.1525, allocations: 31.98 kB / 389 MB, free: 5.105 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005048/0.1531, allocations: 120.5 kB / 389.1 MB, free: 4.988 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007849/0.1538, allocations: 405.1 kB / 389.5 MB, free: 4.562 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001599/0.154, allocations: 141.5 kB / 389.7 MB, free: 4.395 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.06e-05/0.1541, allocations: 34.66 kB / 389.7 MB, free: 4.363 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.831e-05/0.1541, allocations: 24.5 kB / 389.7 MB, free: 4.34 MB / 350.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1541, allocations: 0 / 389.7 MB, free: 4.34 MB / 350.1 MB Notification: Performance of Templates: time 0.007688/0.1618, allocations: 3.231 MB / 393 MB, free: 1.148 MB / 350.1 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 -s ida -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/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_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.511194951017387]