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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0006928/0.0006928, allocations: 88.28 kB / 21.43 MB, free: 3.129 MB / 18.57 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.003416/0.003416, allocations: 154.2 kB / 24.7 MB, free: 9.418 MB / 18.57 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 0.886/0.886, allocations: 177 MB / 204.9 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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=5010,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=5010,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 325.8 MB, free: 15.39 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.9e-05/3.05e-05, allocations: 6.219 kB / 325.8 MB, free: 15.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock): time 0.001685/0.001715, allocations: 0.873 MB / 326.7 MB, free: 14.51 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002562/0.001972, allocations: 115.7 kB / 326.8 MB, free: 14.4 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.215e-05/0.002034, allocations: 7.938 kB / 326.8 MB, free: 14.39 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.556e-05/0.002069, allocations: 7.922 kB / 326.8 MB, free: 14.38 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001037/0.002173, allocations: 11.88 kB / 326.8 MB, free: 14.37 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001683/0.002341, allocations: 35.83 kB / 326.8 MB, free: 14.34 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.682e-05/0.002428, allocations: 39.92 kB / 326.9 MB, free: 14.3 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.163e-05/0.00252, allocations: 23.97 kB / 326.9 MB, free: 14.27 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.1e-05/0.002561, allocations: 19.92 kB / 326.9 MB, free: 14.25 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.692e-05/0.002588, allocations: 15.92 kB / 326.9 MB, free: 14.24 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.059e-05/0.002608, allocations: 0 / 326.9 MB, free: 14.24 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.895e-06/0.002616, allocations: 4 kB / 326.9 MB, free: 14.23 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.048e-05/0.002657, allocations: 15.92 kB / 326.9 MB, free: 14.22 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.652e-05/0.002683, allocations: 19.98 kB / 327 MB, free: 14.2 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 9.343e-05/0.002776, allocations: 47.8 kB / 327 MB, free: 14.15 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.002779, allocations: 3.984 kB / 327 MB, free: 14.15 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.00278, allocations: 3.938 kB / 327 MB, free: 14.14 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.707e-06/0.002784, allocations: 0 / 327 MB, free: 14.14 MB / 298.7 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.0002687/0.003052, allocations: 294.1 kB / 327.3 MB, free: 13.82 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.949e-05/0.003082, allocations: 11.98 kB / 327.3 MB, free: 13.81 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.449e-05/0.003106, allocations: 8.891 kB / 327.3 MB, free: 13.8 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000154/0.00326, allocations: 133.6 kB / 327.5 MB, free: 13.65 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.136e-06/0.003268, allocations: 8.375 kB / 327.5 MB, free: 13.64 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.408e-06/0.003278, allocations: 4.375 kB / 327.5 MB, free: 13.64 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002295/0.003507, allocations: 131.8 kB / 327.6 MB, free: 13.5 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.003515, allocations: 192 / 327.6 MB, free: 13.5 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.394e-06/0.003522, allocations: 384 / 327.6 MB, free: 13.5 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.003526, allocations: 384 / 327.6 MB, free: 13.5 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.947e-05/0.003566, allocations: 23.88 kB / 327.6 MB, free: 13.47 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.551e-05/0.003661, allocations: 121.2 kB / 327.7 MB, free: 13.32 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001/0.003761, allocations: 58.72 kB / 327.8 MB, free: 13.26 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.993e-05/0.003801, allocations: 36.89 kB / 327.8 MB, free: 13.22 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.684e-06/0.003809, allocations: 0 / 327.8 MB, free: 13.22 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.84e-05/0.003827, allocations: 38.5 kB / 327.9 MB, free: 13.17 MB / 298.7 MB Notification: Performance of pre-optimization done (n=8): time 5.71e-07/0.003828, allocations: 0 / 327.9 MB, free: 13.17 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001372/0.003965, allocations: 89.84 kB / 328 MB, free: 13.08 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.962e-05/0.004005, allocations: 55.48 kB / 328 MB, free: 13.01 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.645e-05/0.004081, allocations: 137.3 kB / 328.1 MB, free: 12.87 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.197e-06/0.00409, allocations: 29.64 kB / 328.2 MB, free: 12.84 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.885e-05/0.004119, allocations: 88.14 kB / 328.3 MB, free: 12.75 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.065e-05/0.00413, allocations: 7.953 kB / 328.3 MB, free: 12.74 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.38e-05/0.004154, allocations: 21.7 kB / 328.3 MB, free: 12.71 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.063e-05/0.004224, allocations: 310.8 kB / 328.6 MB, free: 12.4 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.759e-06/0.004234, allocations: 8 kB / 328.6 MB, free: 12.39 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.52e-06/0.004239, allocations: 3.938 kB / 328.6 MB, free: 12.39 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.83e-05/0.004258, allocations: 8.859 kB / 328.6 MB, free: 12.38 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.004259, allocations: 0 / 328.6 MB, free: 12.38 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.51e-05/0.004294, allocations: 45.69 kB / 328.7 MB, free: 12.32 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.468e-06/0.004304, allocations: 4 kB / 328.7 MB, free: 12.32 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.004309, allocations: 8.078 kB / 328.7 MB, free: 12.31 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.045e-06/0.004317, allocations: 0 / 328.7 MB, free: 12.31 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.995e-06/0.004325, allocations: 0 / 328.7 MB, free: 12.31 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.004329, allocations: 0 / 328.7 MB, free: 12.31 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.987e-06/0.004338, allocations: 7.938 kB / 328.7 MB, free: 12.3 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.827e-06/0.004342, allocations: 0 / 328.7 MB, free: 12.3 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($CLKPRE.unitDelay1.u,unitDelay1.u) * Number of discrete states: 0 () * Number of clocked states: 1 (unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 6.353e-05/0.004405, allocations: 121.8 kB / 328.8 MB, free: 12.18 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.846e-05/0.004454, allocations: 65.66 kB / 328.9 MB, free: 12.11 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.439e-05/0.004478, allocations: 16.42 kB / 328.9 MB, free: 12.09 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.00448, allocations: 0 / 328.9 MB, free: 12.09 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.004482, allocations: 7.938 kB / 328.9 MB, free: 12.08 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.004485, allocations: 3.938 kB / 328.9 MB, free: 12.08 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.014e-05/0.004535, allocations: 113.3 kB / 329 MB, free: 11.94 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.91e-07/0.004536, allocations: 0 / 329 MB, free: 11.94 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.64e-06/0.004542, allocations: 8 kB / 329 MB, free: 11.93 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.41e-07/0.004543, allocations: 0 / 329 MB, free: 11.93 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.029e-06/0.004548, allocations: 0 / 329 MB, free: 11.93 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.21e-07/0.004548, allocations: 0 / 329 MB, free: 11.93 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.00455, allocations: 3.984 kB / 329 MB, free: 11.93 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.003e-05/0.00462, allocations: 104.9 kB / 329.1 MB, free: 11.8 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.86e-05/0.004649, allocations: 23.94 kB / 329.1 MB, free: 11.78 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.122e-05/0.00466, allocations: 7.984 kB / 329.1 MB, free: 11.77 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.668e-06/0.00467, allocations: 0 / 329.1 MB, free: 11.77 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.466e-06/0.004673, allocations: 4 kB / 329.1 MB, free: 11.77 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.987e-06/0.004677, allocations: 4 kB / 329.2 MB, free: 11.77 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.944e-05/0.004717, allocations: 99.27 kB / 329.2 MB, free: 11.67 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004717, allocations: 0 / 329.2 MB, free: 11.67 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001135/0.00483, allocations: 8 kB / 329.3 MB, free: 11.66 MB / 298.7 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 6.131e-05/0.004891, allocations: 103.1 kB / 329.4 MB, free: 11.55 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 6.35e-05/0.004955, allocations: 23.92 kB / 329.4 MB, free: 11.52 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.004956, allocations: 4.062 kB / 329.4 MB, free: 11.52 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.01e-07/0.004957, allocations: 3.938 kB / 329.4 MB, free: 11.52 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001996/0.005156, allocations: 47.28 kB / 329.4 MB, free: 11.47 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002069/0.005363, allocations: 178.5 kB / 329.6 MB, free: 11.27 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.914e-05/0.005412, allocations: 83.02 kB / 329.7 MB, free: 11.16 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.916e-05/0.005431, allocations: 12.5 kB / 329.7 MB, free: 11.15 MB / 298.7 MB Notification: Performance of SimCode: time 4.71e-07/0.005432, allocations: 0 / 329.7 MB, free: 11.15 MB / 298.7 MB Notification: Performance of Templates: time 0.001303/0.006735, allocations: 0.7567 MB / 330.5 MB, free: 10.4 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.080473789013922]