Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.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.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001609/0.001608, allocations: 114.1 kB / 17.33 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001849/0.001849, allocations: 205.8 kB / 18.27 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.553/1.553, allocations: 227.4 MB / 246.4 MB, free: 10.76 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001229, allocations: 68.34 kB / 306.4 MB, free: 0.9414 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1341, allocations: 50.53 MB / 357 MB, free: 14.41 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.003749/0.1379, allocations: 1.566 MB / 358.5 MB, free: 12.83 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.000429/0.1384, allocations: 139.6 kB / 358.7 MB, free: 12.7 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001014/0.1385, allocations: 0 / 358.7 MB, free: 12.7 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 7.403e-05/0.1386, allocations: 7.922 kB / 358.7 MB, free: 12.69 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001436/0.1387, allocations: 0 / 358.7 MB, free: 12.69 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002991/0.139, allocations: 43.91 kB / 358.7 MB, free: 12.64 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001203/0.1392, allocations: 35.86 kB / 358.8 MB, free: 12.61 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001513/0.1393, allocations: 8 kB / 358.8 MB, free: 12.6 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.637e-05/0.1394, allocations: 19.91 kB / 358.8 MB, free: 12.58 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.538e-05/0.1394, allocations: 19.86 kB / 358.8 MB, free: 12.56 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.175e-05/0.1395, allocations: 4 kB / 358.8 MB, free: 12.56 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.545e-05/0.1395, allocations: 4 kB / 358.8 MB, free: 12.55 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.989e-05/0.1396, allocations: 8 kB / 358.8 MB, free: 12.55 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.181e-05/0.1396, allocations: 23.81 kB / 358.8 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001334/0.1397, allocations: 43.8 kB / 358.9 MB, free: 12.48 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.333e-06/0.1398, allocations: 0 / 358.9 MB, free: 12.48 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1398, allocations: 4 kB / 358.9 MB, free: 12.48 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.224e-06/0.1398, allocations: 0 / 358.9 MB, free: 12.48 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005512/0.1403, allocations: 359.5 kB / 359.2 MB, free: 12.07 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/0.1404, allocations: 8.031 kB / 359.3 MB, free: 12.07 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.585e-05/0.1404, allocations: 8.844 kB / 359.3 MB, free: 12.06 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002278/0.1407, allocations: 192.1 kB / 359.4 MB, free: 11.83 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.065e-05/0.1407, allocations: 8.375 kB / 359.5 MB, free: 11.82 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.139e-05/0.1407, allocations: 4.375 kB / 359.5 MB, free: 11.82 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002684/0.141, allocations: 105.6 kB / 359.6 MB, free: 11.7 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.804e-06/0.141, allocations: 4.188 kB / 359.6 MB, free: 11.7 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.141, allocations: 7.938 kB / 359.6 MB, free: 11.69 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.1411, allocations: 4 kB / 359.6 MB, free: 11.68 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.067e-05/0.1411, allocations: 15.92 kB / 359.6 MB, free: 11.67 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003446/0.1415, allocations: 257.7 kB / 359.8 MB, free: 11.36 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002016/0.1417, allocations: 142.2 kB / 360 MB, free: 11.19 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.392e-05/0.1418, allocations: 29.77 kB / 360 MB, free: 11.15 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.299e-05/0.1418, allocations: 0 / 360 MB, free: 11.15 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.329e-05/0.1418, allocations: 34.55 kB / 360 MB, free: 11.11 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.1418, allocations: 0 / 360 MB, free: 11.11 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002857/0.1421, allocations: 69.61 kB / 360.1 MB, free: 11.04 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.86e-05/0.1422, allocations: 85.23 kB / 360.2 MB, free: 10.93 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001405/0.1424, allocations: 136.1 kB / 360.3 MB, free: 10.79 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.98e-05/0.1424, allocations: 25.7 kB / 360.4 MB, free: 10.76 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.31e-05/0.1425, allocations: 84.14 kB / 360.4 MB, free: 10.68 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.401e-05/0.1425, allocations: 7.984 kB / 360.4 MB, free: 10.67 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.316e-05/0.1426, allocations: 21.7 kB / 360.5 MB, free: 10.64 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.1427, allocations: 318.8 kB / 360.8 MB, free: 10.32 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.575e-05/0.1428, allocations: 11.92 kB / 360.8 MB, free: 10.31 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.167e-05/0.1428, allocations: 31.44 kB / 360.8 MB, free: 10.27 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001006/0.1429, allocations: 43.36 kB / 360.9 MB, free: 10.21 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.1429, allocations: 0 / 360.9 MB, free: 10.21 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000114/0.143, allocations: 69.47 kB / 360.9 MB, free: 10.14 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.324e-05/0.1431, allocations: 8 kB / 360.9 MB, free: 10.13 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.1431, allocations: 0 / 360.9 MB, free: 10.13 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.1431, allocations: 0 / 360.9 MB, free: 10.13 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.583e-05/0.1431, allocations: 4 kB / 360.9 MB, free: 10.12 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.1432, allocations: 0 / 360.9 MB, free: 10.12 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.361e-05/0.1432, allocations: 3.938 kB / 360.9 MB, free: 10.12 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.441e-05/0.1432, allocations: 8 kB / 361 MB, free: 10.11 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (step.y,sample1.y,assignClock.y,assignClock.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.0001215/0.1433, allocations: 133.8 kB / 361.1 MB, free: 9.973 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.957e-05/0.1434, allocations: 49.59 kB / 361.1 MB, free: 9.918 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.413e-05/0.1435, allocations: 11.91 kB / 361.1 MB, free: 9.898 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.1435, allocations: 0 / 361.1 MB, free: 9.898 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-06/0.1435, allocations: 0 / 361.1 MB, free: 9.898 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.1435, allocations: 0 / 361.1 MB, free: 9.898 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001972/0.1437, allocations: 173.6 kB / 361.3 MB, free: 9.68 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1437, allocations: 0 / 361.3 MB, free: 9.68 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.554e-06/0.1437, allocations: 0 / 361.3 MB, free: 9.68 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.235e-06/0.1438, allocations: 4 kB / 361.3 MB, free: 9.676 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.1438, allocations: 4 kB / 361.3 MB, free: 9.672 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.1438, allocations: 0 / 361.3 MB, free: 9.672 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.1438, allocations: 0 / 361.3 MB, free: 9.672 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001803/0.144, allocations: 168.2 kB / 361.5 MB, free: 9.488 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.853e-05/0.144, allocations: 89.09 kB / 361.6 MB, free: 9.383 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.576e-05/0.1441, allocations: 0 / 361.6 MB, free: 9.383 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.73e-05/0.1441, allocations: 8 kB / 361.6 MB, free: 9.375 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.449e-05/0.1442, allocations: 0 / 361.6 MB, free: 9.375 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-06/0.1442, allocations: 0 / 361.6 MB, free: 9.375 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.727e-05/0.1443, allocations: 109.8 kB / 361.7 MB, free: 9.27 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.1443, allocations: 0 / 361.7 MB, free: 9.27 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002258/0.1445, allocations: 4 kB / 361.7 MB, free: 9.266 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 (step.y,assignClock.u,assignClock.y,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 Backend phase and start with SimCode phase: time 0.0001367/0.1447, allocations: 95.25 kB / 361.8 MB, free: 9.164 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001651/0.1448, allocations: 35.92 kB / 361.8 MB, free: 9.129 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.1448, allocations: 0 / 361.8 MB, free: 9.129 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.069e-05/0.1449, allocations: 11.94 kB / 361.8 MB, free: 9.117 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005064/0.1454, allocations: 35.91 kB / 361.9 MB, free: 9.086 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004764/0.1459, allocations: 170.5 kB / 362 MB, free: 8.891 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003743/0.1463, allocations: 0.6846 MB / 362.7 MB, free: 8.18 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.465e-05/0.1463, allocations: 7.984 kB / 362.7 MB, free: 8.172 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.623e-05/0.1464, allocations: 7.438 kB / 362.7 MB, free: 8.164 MB / 302.1 MB Notification: Performance of SimCode: time 7.81e-07/0.1464, allocations: 0 / 362.7 MB, free: 8.164 MB / 302.1 MB Notification: Performance of Templates: time 0.003/0.1494, allocations: 478.3 kB / 363.2 MB, free: 7.703 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Sample1/Sample1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches