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.001358/0.001358, allocations: 88.91 kB / 20.68 MB, free: 1.023 MB / 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.001467/0.001467, allocations: 159.1 kB / 23.95 MB, free: 4.152 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.457/1.457, allocations: 177 MB / 204.1 MB, free: 9.152 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.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.413e-06/1.413e-06, allocations: 0 / 325 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.497e-05/2.638e-05, allocations: 7.375 kB / 325 MB, free: 500 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock): time 0.001971/0.001997, allocations: 0.8706 MB / 325.9 MB, free: 15.97 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.000356/0.002353, allocations: 118.8 kB / 326 MB, free: 15.89 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.82e-05/0.002431, allocations: 6.25 kB / 326 MB, free: 15.89 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.418e-05/0.002486, allocations: 9.109 kB / 326 MB, free: 15.88 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001124/0.002598, allocations: 7.859 kB / 326 MB, free: 15.88 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002356/0.002834, allocations: 37.19 kB / 326.1 MB, free: 15.86 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001072/0.002941, allocations: 37.22 kB / 326.1 MB, free: 15.84 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.003046, allocations: 16.3 kB / 326.1 MB, free: 15.83 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.949e-05/0.003105, allocations: 21.2 kB / 326.1 MB, free: 15.82 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.37e-05/0.003139, allocations: 19.25 kB / 326.2 MB, free: 15.81 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.973e-05/0.003158, allocations: 3.25 kB / 326.2 MB, free: 15.81 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.243e-05/0.003171, allocations: 3.469 kB / 326.2 MB, free: 15.81 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.839e-05/0.003219, allocations: 14.72 kB / 326.2 MB, free: 15.8 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.41e-05/0.003253, allocations: 14.5 kB / 326.2 MB, free: 15.8 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000125/0.003378, allocations: 54.17 kB / 326.2 MB, free: 15.77 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.003381, allocations: 0 / 326.2 MB, free: 15.77 MB / 302.1 MB Notification: Performance of FrontEnd: time 5.31e-07/0.003381, allocations: 0 / 326.2 MB, free: 15.77 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.947e-06/0.003385, allocations: 1.062 kB / 326.2 MB, free: 15.77 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.0004645/0.00385, allocations: 292.1 kB / 326.5 MB, free: 15.48 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.003887, allocations: 14.02 kB / 326.5 MB, free: 15.48 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.027e-05/0.003927, allocations: 9.109 kB / 326.6 MB, free: 15.47 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002635/0.004191, allocations: 138.8 kB / 326.7 MB, free: 15.33 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.004203, allocations: 6.656 kB / 326.7 MB, free: 15.32 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.644e-05/0.00422, allocations: 15.67 kB / 326.7 MB, free: 15.31 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003252/0.004545, allocations: 122.9 kB / 326.8 MB, free: 15.24 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.004556, allocations: 1.844 kB / 326.8 MB, free: 15.24 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.004566, allocations: 4.312 kB / 326.8 MB, free: 15.23 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.004572, allocations: 1.469 kB / 326.8 MB, free: 15.23 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.056e-05/0.004623, allocations: 18.77 kB / 326.9 MB, free: 15.23 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002163/0.004839, allocations: 122.3 kB / 327 MB, free: 15.09 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000155/0.004994, allocations: 64.61 kB / 327 MB, free: 15.05 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.27e-05/0.005067, allocations: 37.67 kB / 327.1 MB, free: 15.03 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.229e-05/0.005079, allocations: 1.125 kB / 327.1 MB, free: 15.03 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.202e-05/0.005111, allocations: 31.72 kB / 327.1 MB, free: 14.99 MB / 302.1 MB Notification: Performance of pre-optimization done (n=8): time 1.262e-06/0.005112, allocations: 0 / 327.1 MB, free: 14.99 MB / 302.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002183/0.005331, allocations: 96.08 kB / 327.2 MB, free: 14.93 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.226e-05/0.005403, allocations: 55.03 kB / 327.3 MB, free: 14.86 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001278/0.005531, allocations: 135.5 kB / 327.4 MB, free: 14.75 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.644e-05/0.005547, allocations: 25.7 kB / 327.4 MB, free: 14.72 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.886e-05/0.005606, allocations: 87.27 kB / 327.5 MB, free: 14.63 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.224e-05/0.005618, allocations: 9.219 kB / 327.5 MB, free: 14.62 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.604e-05/0.005654, allocations: 24.23 kB / 327.5 MB, free: 14.6 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001534/0.005808, allocations: 312.1 kB / 327.8 MB, free: 14.29 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.21e-05/0.00582, allocations: 6.672 kB / 327.8 MB, free: 14.29 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.432e-06/0.005826, allocations: 3.688 kB / 327.8 MB, free: 14.29 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.579e-05/0.005852, allocations: 11.55 kB / 327.9 MB, free: 14.27 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.005853, allocations: 1.531 kB / 327.9 MB, free: 14.27 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.343e-05/0.005917, allocations: 40.53 kB / 327.9 MB, free: 14.24 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.005929, allocations: 4.406 kB / 327.9 MB, free: 14.24 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.005933, allocations: 5.469 kB / 327.9 MB, free: 14.23 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.005946, allocations: 0 / 327.9 MB, free: 14.23 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.132e-05/0.005958, allocations: 0.5625 kB / 327.9 MB, free: 14.23 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.459e-06/0.005962, allocations: 1 kB / 327.9 MB, free: 14.23 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.698e-05/0.005979, allocations: 4.641 kB / 327.9 MB, free: 14.23 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.957e-06/0.005983, allocations: 1 kB / 327.9 MB, free: 14.23 MB / 302.1 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 0.0001028/0.006086, allocations: 117.2 kB / 328 MB, free: 14.11 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.637e-05/0.006182, allocations: 73 kB / 328.1 MB, free: 14.06 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.37e-05/0.006226, allocations: 12.34 kB / 328.1 MB, free: 14.05 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.006228, allocations: 1 kB / 328.1 MB, free: 14.05 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.006233, allocations: 5.312 kB / 328.1 MB, free: 14.05 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/0.006239, allocations: 4.688 kB / 328.1 MB, free: 14.05 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001042/0.006343, allocations: 114.2 kB / 328.2 MB, free: 13.92 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.006344, allocations: 0 / 328.2 MB, free: 13.92 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.441e-05/0.006358, allocations: 6.156 kB / 328.2 MB, free: 13.91 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.00636, allocations: 0.7031 kB / 328.2 MB, free: 13.91 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.552e-06/0.006367, allocations: 1.094 kB / 328.2 MB, free: 13.91 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.006369, allocations: 1.25 kB / 328.2 MB, free: 13.91 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.006369, allocations: 0 / 328.2 MB, free: 13.91 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001316/0.006501, allocations: 105.8 kB / 328.3 MB, free: 13.82 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.373e-05/0.006545, allocations: 21.64 kB / 328.4 MB, free: 13.81 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.626e-05/0.006561, allocations: 6 kB / 328.4 MB, free: 13.81 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.767e-05/0.006579, allocations: 4 kB / 328.4 MB, free: 13.8 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.056e-06/0.006582, allocations: 0.9375 kB / 328.4 MB, free: 13.8 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.713e-06/0.006588, allocations: 6.531 kB / 328.4 MB, free: 13.8 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.294e-05/0.006661, allocations: 101.4 kB / 328.5 MB, free: 13.72 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.006661, allocations: 0 / 328.5 MB, free: 13.72 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000208/0.006869, allocations: 8.406 kB / 328.5 MB, free: 13.72 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.0001065/0.006976, allocations: 107.6 kB / 328.6 MB, free: 13.62 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 9.715e-05/0.007073, allocations: 24.5 kB / 328.6 MB, free: 13.61 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.007075, allocations: 0 / 328.6 MB, free: 13.61 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.71e-07/0.007076, allocations: 1.344 kB / 328.6 MB, free: 13.61 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002909/0.007366, allocations: 47.53 kB / 328.7 MB, free: 13.59 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002928/0.007659, allocations: 153.5 kB / 328.8 MB, free: 13.46 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.003e-05/0.007739, allocations: 88.84 kB / 328.9 MB, free: 13.38 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.506e-05/0.007754, allocations: 1.625 kB / 328.9 MB, free: 13.38 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.807e-05/0.007782, allocations: 14.64 kB / 328.9 MB, free: 13.37 MB / 302.1 MB Notification: Performance of SimCode: time 2.9e-07/0.007783, allocations: 1.156 kB / 328.9 MB, free: 13.37 MB / 302.1 MB Notification: Performance of Templates: time 0.00304/0.01082, allocations: 0.6088 MB / 329.5 MB, free: 13.27 MB / 302.1 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.302182510495186]