Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0021/0.0021, allocations: 113.1 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002531/0.002531, allocations: 213.2 kB / 23.74 MB, free: 4.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.682/1.682, allocations: 230.6 MB / 257.5 MB, free: 7.969 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001712/0.001712, allocations: 47.92 kB / 378.3 MB, free: 2.613 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3584/0.3601, allocations: 53.36 MB / 431.6 MB, free: 6.898 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock): time 0.002979/0.3631, allocations: 0.887 MB / 432.5 MB, free: 6.02 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003697/0.3634, allocations: 111.6 kB / 432.6 MB, free: 5.91 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.563e-05/0.3635, allocations: 0 / 432.6 MB, free: 5.91 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.842e-05/0.3636, allocations: 7.875 kB / 432.6 MB, free: 5.902 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001234/0.3637, allocations: 11.92 kB / 432.6 MB, free: 5.891 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002365/0.3639, allocations: 35.89 kB / 432.7 MB, free: 5.855 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001095/0.364, allocations: 35.98 kB / 432.7 MB, free: 5.82 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001208/0.3642, allocations: 19.92 kB / 432.7 MB, free: 5.801 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.207e-05/0.3642, allocations: 15.92 kB / 432.7 MB, free: 5.785 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.964e-05/0.3642, allocations: 23.86 kB / 432.8 MB, free: 5.762 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.959e-05/0.3643, allocations: 8 kB / 432.8 MB, free: 5.754 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.38e-05/0.3643, allocations: 4 kB / 432.8 MB, free: 5.75 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.835e-05/0.3643, allocations: 15.92 kB / 432.8 MB, free: 5.734 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.877e-05/0.3644, allocations: 19.81 kB / 432.8 MB, free: 5.715 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001433/0.3645, allocations: 59.53 kB / 432.9 MB, free: 5.66 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.3645, allocations: 4 kB / 432.9 MB, free: 5.656 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3645, allocations: 0 / 432.9 MB, free: 5.656 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.3645, allocations: 0 / 432.9 MB, free: 5.656 MB / 334.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.0004703/0.365, allocations: 287.5 kB / 433.2 MB, free: 5.348 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.365, allocations: 16.03 kB / 433.2 MB, free: 5.332 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.696e-05/0.3651, allocations: 8.891 kB / 433.2 MB, free: 5.324 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003338/0.3654, allocations: 142.3 kB / 433.3 MB, free: 5.16 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.45e-05/0.3654, allocations: 4.375 kB / 433.3 MB, free: 5.156 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.372e-05/0.3654, allocations: 4.375 kB / 433.3 MB, free: 5.152 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003293/0.3658, allocations: 131.8 kB / 433.5 MB, free: 5.012 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.978e-06/0.3658, allocations: 192 / 433.5 MB, free: 5.012 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.3658, allocations: 7.938 kB / 433.5 MB, free: 5.004 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.3658, allocations: 0 / 433.5 MB, free: 5.004 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.22e-05/0.3659, allocations: 23.92 kB / 433.5 MB, free: 4.98 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001987/0.3661, allocations: 136.7 kB / 433.6 MB, free: 4.805 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001587/0.3662, allocations: 58.72 kB / 433.7 MB, free: 4.738 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.012e-05/0.3663, allocations: 44.88 kB / 433.7 MB, free: 4.691 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.084e-05/0.3663, allocations: 0 / 433.7 MB, free: 4.691 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.352e-05/0.3663, allocations: 30.56 kB / 433.8 MB, free: 4.652 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 8.02e-07/0.3663, allocations: 0 / 433.8 MB, free: 4.652 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002378/0.3666, allocations: 101.5 kB / 433.9 MB, free: 4.547 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.57e-05/0.3666, allocations: 55.41 kB / 433.9 MB, free: 4.48 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001479/0.3668, allocations: 125.8 kB / 434 MB, free: 4.348 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.362e-05/0.3668, allocations: 37.7 kB / 434.1 MB, free: 4.305 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.296e-05/0.3669, allocations: 80.14 kB / 434.1 MB, free: 4.223 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.313e-05/0.3669, allocations: 11.94 kB / 434.2 MB, free: 4.211 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.752e-05/0.3669, allocations: 29.66 kB / 434.2 MB, free: 4.176 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001679/0.3671, allocations: 322.8 kB / 434.5 MB, free: 3.852 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.271e-05/0.3671, allocations: 8 kB / 434.5 MB, free: 3.844 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.524e-05/0.3672, allocations: 62.81 kB / 434.6 MB, free: 3.758 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001072/0.3673, allocations: 78.73 kB / 434.7 MB, free: 3.656 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.3673, allocations: 0 / 434.7 MB, free: 3.656 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000134/0.3674, allocations: 81.52 kB / 434.7 MB, free: 3.57 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.3675, allocations: 8 kB / 434.7 MB, free: 3.562 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.3675, allocations: 3.938 kB / 434.7 MB, free: 3.559 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.997e-05/0.3675, allocations: 8.25 kB / 434.8 MB, free: 3.551 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.459e-05/0.3675, allocations: 11.92 kB / 434.8 MB, free: 3.539 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.3675, allocations: 4 kB / 434.8 MB, free: 3.535 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.499e-05/0.3675, allocations: 4 kB / 434.8 MB, free: 3.531 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.766e-06/0.3676, allocations: 4 kB / 434.8 MB, free: 3.527 MB / 334.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.0001354/0.3677, allocations: 127.6 kB / 434.9 MB, free: 3.395 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001055/0.3678, allocations: 73.56 kB / 435 MB, free: 3.316 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.986e-05/0.3678, allocations: 24.22 kB / 435 MB, free: 3.289 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.3679, allocations: 8 kB / 435 MB, free: 3.281 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.3679, allocations: 0 / 435 MB, free: 3.281 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.3679, allocations: 0 / 435 MB, free: 3.281 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001304/0.368, allocations: 136.7 kB / 435.1 MB, free: 3.105 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.368, allocations: 0 / 435.1 MB, free: 3.105 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.349e-05/0.368, allocations: 8 kB / 435.1 MB, free: 3.098 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.368, allocations: 0 / 435.1 MB, free: 3.098 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.368, allocations: 3.938 kB / 435.1 MB, free: 3.094 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.368, allocations: 3.984 kB / 435.2 MB, free: 3.09 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.368, allocations: 0 / 435.2 MB, free: 3.09 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001416/0.3682, allocations: 101 kB / 435.3 MB, free: 2.973 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.751e-05/0.3682, allocations: 19.94 kB / 435.3 MB, free: 2.953 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.945e-05/0.3682, allocations: 3.938 kB / 435.3 MB, free: 2.949 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.771e-05/0.3683, allocations: 4 kB / 435.3 MB, free: 2.945 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.495e-06/0.3683, allocations: 0 / 435.3 MB, free: 2.945 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.977e-06/0.3683, allocations: 0 / 435.3 MB, free: 2.945 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.511e-05/0.3683, allocations: 99.27 kB / 435.4 MB, free: 2.848 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3683, allocations: 0 / 435.4 MB, free: 2.848 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002065/0.3685, allocations: 12 kB / 435.4 MB, free: 2.836 MB / 334.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.000116/0.3687, allocations: 99.44 kB / 435.5 MB, free: 2.73 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001475/0.3688, allocations: 43.86 kB / 435.5 MB, free: 2.688 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/0.3688, allocations: 7.938 kB / 435.5 MB, free: 2.68 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.31e-07/0.3688, allocations: 0 / 435.5 MB, free: 2.68 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003142/0.3691, allocations: 36 kB / 435.6 MB, free: 2.645 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003496/0.3695, allocations: 164.8 kB / 435.7 MB, free: 2.457 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003934/0.3699, allocations: 0.6963 MB / 436.4 MB, free: 1.734 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.875e-05/0.3699, allocations: 7.953 kB / 436.4 MB, free: 1.727 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.046e-05/0.3699, allocations: 11.44 kB / 436.4 MB, free: 1.715 MB / 334.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3699, allocations: 0 / 436.4 MB, free: 1.715 MB / 334.1 MB Notification: Performance of Templates: time 0.003613/0.3735, allocations: 0.6731 MB / 437.1 MB, free: 1.051 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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: 5.178969259839505]