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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|upSample1.y|upSample2.y|and1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001697/0.001697, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00232/0.00232, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.564/1.564, allocations: 227.4 MB / 246.8 MB, free: 10.64 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001396/0.001396, allocations: 60.09 kB / 306.9 MB, free: 0.6602 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1258, allocations: 50.53 MB / 357.5 MB, free: 14.13 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample): time 0.004248/0.13, allocations: 1.994 MB / 359.5 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002524/0.1326, allocations: 1.255 MB / 360.7 MB, free: 10.86 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004086/0.1331, allocations: 7.938 kB / 360.7 MB, free: 10.85 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001073/0.1342, allocations: 155.5 kB / 360.9 MB, free: 10.7 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007287/0.1349, allocations: 155.3 kB / 361 MB, free: 10.54 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009749/0.1359, allocations: 226.8 kB / 361.3 MB, free: 10.32 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005027/0.1364, allocations: 227.4 kB / 361.5 MB, free: 10.1 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002139/0.1367, allocations: 48.28 kB / 361.5 MB, free: 10.06 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002492/0.1369, allocations: 91.62 kB / 361.6 MB, free: 9.969 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002403/0.1372, allocations: 103.5 kB / 361.7 MB, free: 9.867 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.197e-05/0.1372, allocations: 12 kB / 361.7 MB, free: 9.855 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002439/0.1375, allocations: 55.97 kB / 361.8 MB, free: 9.801 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001246/0.1376, allocations: 55.83 kB / 361.8 MB, free: 9.746 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001438/0.1378, allocations: 91.36 kB / 361.9 MB, free: 9.656 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004792/0.1382, allocations: 259.4 kB / 362.2 MB, free: 9.402 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.265e-06/0.1383, allocations: 4 kB / 362.2 MB, free: 9.398 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.1383, allocations: 0 / 362.2 MB, free: 9.398 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.007e-06/0.1383, allocations: 4 kB / 362.2 MB, free: 9.395 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.000955/0.1392, allocations: 0.5429 MB / 362.7 MB, free: 8.797 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.018e-05/0.1393, allocations: 12.03 kB / 362.7 MB, free: 8.785 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.193e-05/0.1394, allocations: 28.56 kB / 362.8 MB, free: 8.758 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004767/0.1399, allocations: 278.7 kB / 363 MB, free: 8.441 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.624e-05/0.1399, allocations: 12.38 kB / 363.1 MB, free: 8.43 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.724e-05/0.14, allocations: 20.06 kB / 363.1 MB, free: 8.41 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005886/0.1406, allocations: 309.5 kB / 363.4 MB, free: 8.086 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.1406, allocations: 0 / 363.4 MB, free: 8.086 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.132e-05/0.1406, allocations: 8 kB / 363.4 MB, free: 8.078 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.1406, allocations: 0 / 363.4 MB, free: 8.078 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001546/0.1408, allocations: 59.91 kB / 363.4 MB, free: 8.02 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006175/0.1414, allocations: 398.2 kB / 363.8 MB, free: 7.574 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003385/0.1417, allocations: 172.1 kB / 364 MB, free: 7.379 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001439/0.1419, allocations: 82.55 kB / 364.1 MB, free: 7.289 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.201e-05/0.1419, allocations: 8 kB / 364.1 MB, free: 7.281 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001999/0.1422, allocations: 75.33 kB / 364.2 MB, free: 7.195 MB / 302.1 MB Notification: Performance of pre-optimization done (n=22): time 2.124e-06/0.1422, allocations: 0 / 364.2 MB, free: 7.195 MB / 302.1 MB Notification: Performance of matching and sorting (n=22): time 0.0005657/0.1427, allocations: 225.2 kB / 364.4 MB, free: 6.969 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001738/0.1429, allocations: 148.5 kB / 364.5 MB, free: 6.793 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003587/0.1433, allocations: 276.9 kB / 364.8 MB, free: 6.516 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.984e-05/0.1433, allocations: 33.7 kB / 364.8 MB, free: 6.477 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001871/0.1435, allocations: 124.7 kB / 364.9 MB, free: 6.348 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.958e-05/0.1436, allocations: 31.64 kB / 365 MB, free: 6.316 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.615e-05/0.1437, allocations: 49.94 kB / 365 MB, free: 6.262 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.1438, allocations: 342.7 kB / 365.4 MB, free: 5.918 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001034/0.1439, allocations: 36.45 kB / 365.4 MB, free: 5.883 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001949/0.1442, allocations: 175.7 kB / 365.6 MB, free: 5.652 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002632/0.1444, allocations: 203.2 kB / 365.8 MB, free: 5.398 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.1444, allocations: 0 / 365.8 MB, free: 5.398 MB / 302.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003705/0.1448, allocations: 225.3 kB / 366 MB, free: 5.172 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.1448, allocations: 10.97 kB / 366 MB, free: 5.164 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.1449, allocations: 4 kB / 366 MB, free: 5.16 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.122e-05/0.1449, allocations: 4.375 kB / 366 MB, free: 5.156 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.199e-05/0.145, allocations: 27.92 kB / 366 MB, free: 5.129 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/0.145, allocations: 4 kB / 366 MB, free: 5.125 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001202/0.1451, allocations: 23.83 kB / 366.1 MB, free: 5.102 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.028e-05/0.1452, allocations: 15.94 kB / 366.1 MB, free: 5.086 MB / 302.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.0001584/0.1453, allocations: 176 kB / 366.2 MB, free: 4.906 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001794/0.1455, allocations: 117.3 kB / 366.4 MB, free: 4.785 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.278e-05/0.1456, allocations: 29.7 kB / 366.4 MB, free: 4.754 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.1456, allocations: 4 kB / 366.4 MB, free: 4.75 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.1456, allocations: 3.984 kB / 366.4 MB, free: 4.746 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/0.1456, allocations: 7.922 kB / 366.4 MB, free: 4.738 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002078/0.1458, allocations: 253.4 kB / 366.7 MB, free: 4.441 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.1458, allocations: 4.297 kB / 366.7 MB, free: 4.438 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.051e-05/0.1459, allocations: 12 kB / 366.7 MB, free: 4.426 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.1459, allocations: 0 / 366.7 MB, free: 4.426 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.725e-05/0.1459, allocations: 12 kB / 366.7 MB, free: 4.414 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.1459, allocations: 3.938 kB / 366.7 MB, free: 4.41 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.1459, allocations: 4 kB / 366.7 MB, free: 4.406 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003573/0.1463, allocations: 226 kB / 366.9 MB, free: 4.164 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.613e-05/0.1464, allocations: 116.8 kB / 367 MB, free: 4.031 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.96e-05/0.1465, allocations: 7.984 kB / 367 MB, free: 4.023 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.681e-05/0.1465, allocations: 8 kB / 367 MB, free: 4.016 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.895e-05/0.1466, allocations: 4 kB / 367 MB, free: 4.012 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.308e-05/0.1466, allocations: 15.98 kB / 367.1 MB, free: 3.996 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002342/0.1468, allocations: 200.5 kB / 367.3 MB, free: 3.801 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1468, allocations: 0 / 367.3 MB, free: 3.801 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000313/0.1472, allocations: 47.94 kB / 367.3 MB, free: 3.754 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.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.0009696/0.1481, allocations: 424.8 kB / 367.7 MB, free: 3.469 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004408/0.1486, allocations: 143.7 kB / 367.9 MB, free: 3.328 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.1486, allocations: 1.062 kB / 367.9 MB, free: 3.328 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.334e-05/0.1487, allocations: 35.91 kB / 367.9 MB, free: 3.293 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005039/0.1492, allocations: 113.5 kB / 368 MB, free: 3.184 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007587/0.15, allocations: 408.4 kB / 368.4 MB, free: 2.75 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004169/0.1504, allocations: 0.7597 MB / 369.2 MB, free: 1.961 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001033/0.1505, allocations: 22.3 kB / 369.2 MB, free: 1.941 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.985e-05/0.1506, allocations: 23.42 kB / 369.2 MB, free: 1.918 MB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1506, allocations: 4 kB / 369.2 MB, free: 1.914 MB / 302.1 MB Notification: Performance of Templates: time 0.1957/0.3463, allocations: 3.017 MB / 372.2 MB, free: 19.91 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.makefile (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 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/UpSample/UpSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches