Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001475/0.001475, allocations: 112.4 kB / 21.17 MB, free: 0.6172 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.001515/0.001515, allocations: 204.1 kB / 24.46 MB, free: 4.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.65/1.65, allocations: 230.5 MB / 258.1 MB, free: 8.148 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-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002191/0.002191, allocations: 63.91 kB / 378.7 MB, free: 2.941 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4193/0.4215, allocations: 53.33 MB / 432 MB, free: 7.414 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock): time 0.002804/0.4243, allocations: 0.8674 MB / 432.9 MB, free: 6.555 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003809/0.4247, allocations: 111.7 kB / 433 MB, free: 6.445 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.218e-05/0.4248, allocations: 4 kB / 433 MB, free: 6.441 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.666e-05/0.4248, allocations: 11.92 kB / 433 MB, free: 6.43 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001521/0.425, allocations: 3.938 kB / 433 MB, free: 6.426 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002509/0.4252, allocations: 35.91 kB / 433.1 MB, free: 6.391 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001314/0.4254, allocations: 47.84 kB / 433.1 MB, free: 6.344 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001253/0.4255, allocations: 11.98 kB / 433.1 MB, free: 6.332 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.627e-05/0.4255, allocations: 15.92 kB / 433.2 MB, free: 6.316 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.719e-05/0.4256, allocations: 19.92 kB / 433.2 MB, free: 6.297 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.334e-05/0.4256, allocations: 4 kB / 433.2 MB, free: 6.293 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.636e-05/0.4256, allocations: 4 kB / 433.2 MB, free: 6.289 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.933e-05/0.4257, allocations: 11.94 kB / 433.2 MB, free: 6.277 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.895e-05/0.4257, allocations: 31.8 kB / 433.2 MB, free: 6.246 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001648/0.4259, allocations: 59.47 kB / 433.3 MB, free: 6.191 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.4259, allocations: 4 kB / 433.3 MB, free: 6.188 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.4259, allocations: 0 / 433.3 MB, free: 6.188 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.031e-06/0.4259, allocations: 0 / 433.3 MB, free: 6.188 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.0005416/0.4265, allocations: 369.3 kB / 433.6 MB, free: 5.777 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.4265, allocations: 12.03 kB / 433.7 MB, free: 5.766 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.434e-05/0.4265, allocations: 12.83 kB / 433.7 MB, free: 5.754 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003309/0.4269, allocations: 196.2 kB / 433.9 MB, free: 5.523 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/0.4269, allocations: 8.375 kB / 433.9 MB, free: 5.516 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.58e-05/0.4269, allocations: 8.312 kB / 433.9 MB, free: 5.508 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002913/0.4272, allocations: 131.7 kB / 434 MB, free: 5.367 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.4272, allocations: 192 / 434 MB, free: 5.367 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/0.4272, allocations: 7.938 kB / 434 MB, free: 5.359 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.4272, allocations: 8 kB / 434 MB, free: 5.352 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.645e-05/0.4273, allocations: 15.98 kB / 434 MB, free: 5.336 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002027/0.4275, allocations: 165.7 kB / 434.2 MB, free: 5.125 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001644/0.4276, allocations: 62.66 kB / 434.3 MB, free: 5.055 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.317e-05/0.4277, allocations: 40.88 kB / 434.3 MB, free: 5.012 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.096e-05/0.4277, allocations: 4 kB / 434.3 MB, free: 5.008 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000107/0.4278, allocations: 34.56 kB / 434.3 MB, free: 4.965 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 1.112e-06/0.4278, allocations: 0 / 434.3 MB, free: 4.965 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002372/0.4281, allocations: 89.52 kB / 434.4 MB, free: 4.871 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.868e-05/0.4281, allocations: 59.41 kB / 434.5 MB, free: 4.801 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000155/0.4283, allocations: 132.9 kB / 434.6 MB, free: 4.664 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.328e-05/0.4283, allocations: 29.7 kB / 434.6 MB, free: 4.629 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.342e-05/0.4284, allocations: 88.12 kB / 434.7 MB, free: 4.539 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2e-05/0.4284, allocations: 7.953 kB / 434.7 MB, free: 4.531 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.037e-05/0.4284, allocations: 29.7 kB / 434.8 MB, free: 4.496 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000169/0.4286, allocations: 314.8 kB / 435.1 MB, free: 4.18 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.722e-05/0.4286, allocations: 15.98 kB / 435.1 MB, free: 4.164 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.863e-05/0.4287, allocations: 58.81 kB / 435.1 MB, free: 4.082 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.014e-05/0.4288, allocations: 70.8 kB / 435.2 MB, free: 3.988 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.4288, allocations: 8 kB / 435.2 MB, free: 3.98 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001325/0.429, allocations: 85.45 kB / 435.3 MB, free: 3.891 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.429, allocations: 7.125 kB / 435.3 MB, free: 3.887 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-06/0.429, allocations: 7.938 kB / 435.3 MB, free: 3.879 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.429, allocations: 0 / 435.3 MB, free: 3.879 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.493e-05/0.429, allocations: 8 kB / 435.3 MB, free: 3.871 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.182e-05/0.429, allocations: 15.86 kB / 435.3 MB, free: 3.855 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.195e-05/0.4291, allocations: 4.25 kB / 435.3 MB, free: 3.852 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.736e-06/0.4291, allocations: 4 kB / 435.4 MB, free: 3.848 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.0001094/0.4292, allocations: 125.8 kB / 435.5 MB, free: 3.715 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.557e-05/0.4293, allocations: 69.77 kB / 435.5 MB, free: 3.641 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.984e-05/0.4293, allocations: 16.31 kB / 435.6 MB, free: 3.625 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.736e-06/0.4293, allocations: 3.938 kB / 435.6 MB, free: 3.621 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.4293, allocations: 0 / 435.6 MB, free: 3.621 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.4293, allocations: 4 kB / 435.6 MB, free: 3.617 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001565/0.4295, allocations: 169.6 kB / 435.7 MB, free: 3.402 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.4295, allocations: 4 kB / 435.7 MB, free: 3.398 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.288e-05/0.4295, allocations: 4 kB / 435.7 MB, free: 3.395 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.4295, allocations: 0 / 435.7 MB, free: 3.395 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/0.4295, allocations: 7.938 kB / 435.7 MB, free: 3.387 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.4295, allocations: 0 / 435.7 MB, free: 3.387 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.4295, allocations: 0 / 435.7 MB, free: 3.387 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001438/0.4297, allocations: 93.08 kB / 435.8 MB, free: 3.277 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.147e-05/0.4298, allocations: 97.03 kB / 435.9 MB, free: 3.164 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.918e-05/0.4298, allocations: 11.88 kB / 435.9 MB, free: 3.152 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.041e-05/0.4298, allocations: 4 kB / 435.9 MB, free: 3.148 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.777e-06/0.4298, allocations: 0 / 435.9 MB, free: 3.148 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.686e-06/0.4298, allocations: 8 kB / 436 MB, free: 3.141 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.793e-05/0.4299, allocations: 95.27 kB / 436 MB, free: 3.047 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4299, allocations: 0 / 436 MB, free: 3.047 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002091/0.4301, allocations: 12 kB / 436.1 MB, free: 3.035 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.0001214/0.4302, allocations: 95.25 kB / 436.2 MB, free: 2.934 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001353/0.4304, allocations: 51.91 kB / 436.2 MB, free: 2.883 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.4304, allocations: 0 / 436.2 MB, free: 2.883 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.31e-07/0.4304, allocations: 0 / 436.2 MB, free: 2.883 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003391/0.4307, allocations: 47.92 kB / 436.3 MB, free: 2.836 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003616/0.4311, allocations: 161.5 kB / 436.4 MB, free: 2.648 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003408/0.4314, allocations: 0.6967 MB / 437.1 MB, free: 1.926 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.961e-05/0.4314, allocations: 7.953 kB / 437.1 MB, free: 1.918 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.038e-05/0.4314, allocations: 11.44 kB / 437.1 MB, free: 1.906 MB / 334.1 MB Notification: Performance of SimCode: time 4.01e-07/0.4314, allocations: 0 / 437.1 MB, free: 1.906 MB / 334.1 MB Notification: Performance of Templates: time 0.003473/0.4349, allocations: 0.6471 MB / 437.8 MB, free: 1.266 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/AssignClock/AssignClock.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.924771113321185]