Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.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.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001016/0.001016, allocations: 96.48 kB / 17.35 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001631/0.001631, allocations: 205.5 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.606/1.606, allocations: 227.7 MB / 246.8 MB, free: 11.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003049/0.0003053, allocations: 8 kB / 307.7 MB, free: 0.8359 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.1419, allocations: 51.52 MB / 359.2 MB, free: 13.3 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock): time 0.001457/0.1433, allocations: 0.5706 MB / 359.8 MB, free: 12.74 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004486/0.1438, allocations: 115.7 kB / 359.9 MB, free: 12.62 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.949e-05/0.144, allocations: 4 kB / 359.9 MB, free: 12.62 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.441e-05/0.144, allocations: 3.938 kB / 359.9 MB, free: 12.62 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000117/0.1441, allocations: 0 / 359.9 MB, free: 12.62 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002646/0.1444, allocations: 35.89 kB / 360 MB, free: 12.58 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.914e-05/0.1445, allocations: 35.98 kB / 360 MB, free: 12.55 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001458/0.1447, allocations: 27.91 kB / 360 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.356e-05/0.1447, allocations: 11.88 kB / 360 MB, free: 12.51 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.639e-05/0.1447, allocations: 15.92 kB / 360.1 MB, free: 12.49 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.804e-05/0.1448, allocations: 3.938 kB / 360.1 MB, free: 12.49 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.052e-05/0.1448, allocations: 0 / 360.1 MB, free: 12.49 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.444e-05/0.1449, allocations: 15.92 kB / 360.1 MB, free: 12.47 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.982e-05/0.1449, allocations: 49.5 kB / 360.1 MB, free: 12.42 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001088/0.145, allocations: 43.81 kB / 360.2 MB, free: 12.38 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.299e-06/0.1451, allocations: 0 / 360.2 MB, free: 12.38 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.636e-06/0.1451, allocations: 4 kB / 360.2 MB, free: 12.37 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.92e-06/0.1451, allocations: 0 / 360.2 MB, free: 12.37 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004484/0.1455, allocations: 355.6 kB / 360.5 MB, free: 11.97 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.1456, allocations: 8.031 kB / 360.5 MB, free: 11.96 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.917e-05/0.1456, allocations: 8.844 kB / 360.5 MB, free: 11.96 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002257/0.1459, allocations: 200 kB / 360.7 MB, free: 11.72 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.566e-06/0.1459, allocations: 4.375 kB / 360.7 MB, free: 11.72 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.668e-05/0.1459, allocations: 8.375 kB / 360.7 MB, free: 11.71 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003007/0.1462, allocations: 131.8 kB / 360.9 MB, free: 11.57 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.1462, allocations: 192 / 360.9 MB, free: 11.57 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.494e-05/0.1463, allocations: 11.94 kB / 360.9 MB, free: 11.56 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.1463, allocations: 0 / 360.9 MB, free: 11.56 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.589e-05/0.1463, allocations: 15.98 kB / 360.9 MB, free: 11.54 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002079/0.1465, allocations: 169.7 kB / 361.1 MB, free: 11.33 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001413/0.1467, allocations: 70.64 kB / 361.1 MB, free: 11.25 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.3e-05/0.1468, allocations: 36.89 kB / 361.2 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.16e-05/0.1468, allocations: 0 / 361.2 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.083e-05/0.1468, allocations: 34.56 kB / 361.2 MB, free: 11.17 MB / 302.1 MB Notification: Performance of pre-optimization done (n=8): time 9.92e-07/0.1468, allocations: 0 / 361.2 MB, free: 11.17 MB / 302.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002403/0.1471, allocations: 101.5 kB / 361.3 MB, free: 11.06 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.336e-05/0.1471, allocations: 55.34 kB / 361.4 MB, free: 11 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001558/0.1473, allocations: 148.5 kB / 361.5 MB, free: 10.84 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.911e-05/0.1473, allocations: 25.7 kB / 361.5 MB, free: 10.81 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.26e-05/0.1474, allocations: 84.14 kB / 361.6 MB, free: 10.73 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.778e-05/0.1474, allocations: 0 / 361.6 MB, free: 10.73 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.052e-05/0.1475, allocations: 21.7 kB / 361.6 MB, free: 10.7 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.00017/0.1476, allocations: 318.8 kB / 361.9 MB, free: 10.38 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.958e-05/0.1477, allocations: 8 kB / 362 MB, free: 10.37 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.97e-05/0.1477, allocations: 62.8 kB / 362 MB, free: 10.29 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.982e-05/0.1478, allocations: 70.81 kB / 362.1 MB, free: 10.19 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.1478, allocations: 192 / 362.1 MB, free: 10.19 MB / 302.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001504/0.148, allocations: 93.55 kB / 362.2 MB, free: 10.09 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.148, allocations: 11.94 kB / 362.2 MB, free: 10.08 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.148, allocations: 3.938 kB / 362.2 MB, free: 10.08 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.148, allocations: 4 kB / 362.2 MB, free: 10.07 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.163e-05/0.1481, allocations: 7.938 kB / 362.2 MB, free: 10.07 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.189e-06/0.1481, allocations: 0 / 362.2 MB, free: 10.07 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.019e-05/0.1481, allocations: 15.89 kB / 362.2 MB, free: 10.05 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.364e-06/0.1481, allocations: 4 kB / 362.2 MB, free: 10.05 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 9 (integerConstant.y,xor.y,xor.u2,xor.u1,unitDelay1.y,$CLKPRE.unitDelay1.u,unitDelay1.u,assignClock1.y,assignClock1.u) * Number of discrete states: 0 () * Number of clocked states: 1 (unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.0001088/0.1483, allocations: 126 kB / 362.3 MB, free: 9.914 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.846e-05/0.1484, allocations: 73.53 kB / 362.4 MB, free: 9.836 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.648e-05/0.1484, allocations: 12.31 kB / 362.4 MB, free: 9.824 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.1484, allocations: 4 kB / 362.4 MB, free: 9.82 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.1484, allocations: 0 / 362.4 MB, free: 9.82 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.1484, allocations: 0 / 362.4 MB, free: 9.82 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00013/0.1486, allocations: 169.6 kB / 362.6 MB, free: 9.605 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.1486, allocations: 0 / 362.6 MB, free: 9.605 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.277e-05/0.1486, allocations: 4 kB / 362.6 MB, free: 9.602 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.1486, allocations: 0 / 362.6 MB, free: 9.602 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/0.1486, allocations: 11.94 kB / 362.6 MB, free: 9.59 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.1486, allocations: 0 / 362.6 MB, free: 9.59 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.1486, allocations: 0 / 362.6 MB, free: 9.59 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001496/0.1488, allocations: 101.3 kB / 362.7 MB, free: 9.473 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.559e-05/0.1489, allocations: 96.94 kB / 362.8 MB, free: 9.359 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.949e-05/0.1489, allocations: 7.922 kB / 362.8 MB, free: 9.352 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.801e-05/0.1489, allocations: 4 kB / 362.8 MB, free: 9.348 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.595e-06/0.1489, allocations: 3.938 kB / 362.8 MB, free: 9.344 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.843e-06/0.149, allocations: 8 kB / 362.8 MB, free: 9.336 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.55e-05/0.149, allocations: 99.27 kB / 362.9 MB, free: 9.238 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1491, allocations: 0 / 362.9 MB, free: 9.238 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002052/0.1493, allocations: 8 kB / 362.9 MB, free: 9.23 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (assignClock1.u,assignClock1.y,unitDelay1.u,unitDelay1.y,xor.u1,xor.u2,xor.y,integerConstant.y) * Number of discrete states: 0 () * Number of clocked states: 1 (unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0001432/0.1494, allocations: 99.25 kB / 363 MB, free: 9.121 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000107/0.1495, allocations: 40.36 kB / 363.1 MB, free: 9.082 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 7.003e-06/0.1495, allocations: 4.062 kB / 363.1 MB, free: 9.078 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.52e-07/0.1495, allocations: 0 / 363.1 MB, free: 9.078 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002985/0.1499, allocations: 50.59 kB / 363.1 MB, free: 9.031 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002939/0.1502, allocations: 173.8 kB / 363.3 MB, free: 8.828 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003278/0.1505, allocations: 0.6976 MB / 364 MB, free: 8.105 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.102e-05/0.1505, allocations: 11.95 kB / 364 MB, free: 8.094 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.947e-05/0.1506, allocations: 7.438 kB / 364 MB, free: 8.09 MB / 302.1 MB Notification: Performance of SimCode: time 7.81e-07/0.1506, allocations: 4 kB / 364 MB, free: 8.086 MB / 302.1 MB Notification: Performance of Templates: time 0.002918/0.1535, allocations: 0.5627 MB / 364.6 MB, free: 7.523 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/AssignClock/AssignClock.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches