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.001005/0.001005, allocations: 80.92 kB / 21.49 MB, free: 2.996 MB / 18.57 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.0009195/0.0009195, allocations: 169.9 kB / 24.91 MB, free: 8.723 MB / 18.57 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 0.9352/0.9352, allocations: 177.1 MB / 205.3 MB, free: 5.098 MB / 186.7 MB " [Timeout remaining time 179] 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 1.293e-06/1.293e-06, allocations: 0 / 273.5 MB, free: 1.145 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.838e-06/1.113e-05, allocations: 6.312 kB / 273.5 MB, free: 1.137 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock): time 0.001378/0.001389, allocations: 0.9467 MB / 274.4 MB, free: 200 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002609/0.00165, allocations: 119.5 kB / 274.5 MB, free: 80 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.743e-05/0.001717, allocations: 7.938 kB / 274.6 MB, free: 72 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.213e-05/0.00176, allocations: 7.922 kB / 274.6 MB, free: 64 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001186/0.001878, allocations: 4 kB / 274.6 MB, free: 60 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000163/0.002041, allocations: 43.83 kB / 274.6 MB, free: 16 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.596e-05/0.002137, allocations: 39.98 kB / 274.7 MB, free: 15.97 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.435e-05/0.002212, allocations: 15.97 kB / 274.7 MB, free: 15.96 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.442e-05/0.002256, allocations: 19.98 kB / 274.7 MB, free: 15.94 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.823e-05/0.002284, allocations: 15.92 kB / 274.7 MB, free: 15.92 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.559e-05/0.0023, allocations: 4 kB / 274.7 MB, free: 15.92 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.337e-06/0.002309, allocations: 4 kB / 274.7 MB, free: 15.91 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.896e-05/0.002348, allocations: 19.91 kB / 274.7 MB, free: 15.89 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.871e-05/0.002367, allocations: 7.938 kB / 274.7 MB, free: 15.89 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 8.682e-05/0.002454, allocations: 43.77 kB / 274.8 MB, free: 15.84 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.904e-06/0.002456, allocations: 0 / 274.8 MB, free: 15.84 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.71e-07/0.002456, allocations: 4 kB / 274.8 MB, free: 15.84 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.286e-06/0.002459, allocations: 0 / 274.8 MB, free: 15.84 MB / 266.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.0002334/0.002693, allocations: 268.7 kB / 275 MB, free: 15.55 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.803e-05/0.002721, allocations: 8.031 kB / 275.1 MB, free: 15.54 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.693e-05/0.002748, allocations: 8.922 kB / 275.1 MB, free: 15.54 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001367/0.002884, allocations: 137.7 kB / 275.2 MB, free: 15.38 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.745e-06/0.002892, allocations: 4.375 kB / 275.2 MB, free: 15.37 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.107e-06/0.002901, allocations: 4.359 kB / 275.2 MB, free: 15.37 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001378/0.003039, allocations: 119.7 kB / 275.3 MB, free: 15.24 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.622e-06/0.003046, allocations: 192 / 275.3 MB, free: 15.24 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.761e-06/0.003051, allocations: 384 / 275.3 MB, free: 15.24 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.003056, allocations: 384 / 275.3 MB, free: 15.24 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.622e-05/0.003072, allocations: 15.92 kB / 275.3 MB, free: 15.22 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.132e-05/0.003133, allocations: 68.97 kB / 275.4 MB, free: 15.14 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.768e-05/0.003211, allocations: 42.5 kB / 275.4 MB, free: 15.09 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.311e-05/0.003234, allocations: 28.83 kB / 275.5 MB, free: 15.06 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.003e-06/0.003241, allocations: 8 kB / 275.5 MB, free: 15.05 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.013e-05/0.003261, allocations: 30.56 kB / 275.5 MB, free: 15.01 MB / 266.7 MB Notification: Performance of pre-optimization done (n=8): time 6.21e-07/0.003262, allocations: 0 / 275.5 MB, free: 15.01 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 8.712e-05/0.003349, allocations: 57.62 kB / 275.6 MB, free: 14.95 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001266/0.003476, allocations: 59.41 kB / 275.6 MB, free: 14.88 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.009e-05/0.003546, allocations: 126.7 kB / 275.8 MB, free: 14.74 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.204e-06/0.003553, allocations: 25.7 kB / 275.8 MB, free: 14.71 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.659e-05/0.003579, allocations: 88.12 kB / 275.9 MB, free: 14.62 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.947e-06/0.003588, allocations: 3.953 kB / 275.9 MB, free: 14.62 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.218e-05/0.003611, allocations: 21.7 kB / 275.9 MB, free: 14.59 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.81e-05/0.003679, allocations: 326.8 kB / 276.2 MB, free: 14.26 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.579e-06/0.003683, allocations: 0 / 276.2 MB, free: 14.26 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.717e-06/0.003687, allocations: 0 / 276.2 MB, free: 14.26 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.287e-05/0.00371, allocations: 12.84 kB / 276.2 MB, free: 14.25 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.003712, allocations: 0 / 276.2 MB, free: 14.25 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.382e-05/0.003745, allocations: 37.64 kB / 276.3 MB, free: 14.2 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.618e-06/0.003755, allocations: 4 kB / 276.3 MB, free: 14.2 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.003759, allocations: 3.938 kB / 276.3 MB, free: 14.2 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.00377, allocations: 4 kB / 276.3 MB, free: 14.19 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.856e-06/0.003779, allocations: 4.094 kB / 276.3 MB, free: 14.19 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.445e-06/0.003781, allocations: 0 / 276.3 MB, free: 14.19 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.356e-06/0.00379, allocations: 0 / 276.3 MB, free: 14.19 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.197e-06/0.003794, allocations: 0 / 276.3 MB, free: 14.19 MB / 266.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 5.429e-05/0.003848, allocations: 128.6 kB / 276.4 MB, free: 14.05 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.892e-05/0.003877, allocations: 45.69 kB / 276.4 MB, free: 14 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.741e-05/0.003904, allocations: 12.44 kB / 276.5 MB, free: 13.98 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.003906, allocations: 0 / 276.5 MB, free: 13.98 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/0.003907, allocations: 0 / 276.5 MB, free: 13.98 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.00391, allocations: 0 / 276.5 MB, free: 13.98 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.395e-05/0.003954, allocations: 81.75 kB / 276.5 MB, free: 13.89 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.71e-07/0.003954, allocations: 4 kB / 276.5 MB, free: 13.88 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.202e-06/0.003961, allocations: 4 kB / 276.5 MB, free: 13.88 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.003962, allocations: 7.984 kB / 276.5 MB, free: 13.87 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.697e-06/0.003966, allocations: 0 / 276.5 MB, free: 13.87 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.91e-07/0.003966, allocations: 0 / 276.5 MB, free: 13.87 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.003967, allocations: 0 / 276.5 MB, free: 13.87 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.043e-05/0.003998, allocations: 53.08 kB / 276.6 MB, free: 13.8 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.394e-05/0.004021, allocations: 15.94 kB / 276.6 MB, free: 13.79 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.386e-05/0.004035, allocations: 4 kB / 276.6 MB, free: 13.78 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.884e-06/0.004043, allocations: 0 / 276.6 MB, free: 13.78 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.785e-06/0.004046, allocations: 4 kB / 276.6 MB, free: 13.78 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-06/0.004048, allocations: 4 kB / 276.6 MB, free: 13.77 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.138e-05/0.004069, allocations: 31.66 kB / 276.7 MB, free: 13.74 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00407, allocations: 0 / 276.7 MB, free: 13.74 MB / 266.7 MB Notification: Performance of remove unused functions: time 8.537e-05/0.004155, allocations: 12 kB / 276.7 MB, free: 13.73 MB / 266.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 5.18e-05/0.004207, allocations: 76.42 kB / 276.7 MB, free: 13.65 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 4.925e-05/0.004256, allocations: 16.86 kB / 276.8 MB, free: 13.63 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.004258, allocations: 0 / 276.8 MB, free: 13.63 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.71e-07/0.004258, allocations: 0 / 276.8 MB, free: 13.63 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001347/0.004393, allocations: 43.11 kB / 276.8 MB, free: 13.59 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001716/0.004565, allocations: 160.5 kB / 277 MB, free: 13.4 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.844e-05/0.004593, allocations: 63.34 kB / 277 MB, free: 13.32 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.687e-05/0.00461, allocations: 7.922 kB / 277 MB, free: 13.31 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.486e-05/0.004655, allocations: 59.36 kB / 277.1 MB, free: 13.25 MB / 266.7 MB Notification: Performance of SimCode: time 5.71e-07/0.004655, allocations: 0 / 277.1 MB, free: 13.25 MB / 266.7 MB Notification: Performance of Templates: time 0.001941/0.006596, allocations: 0.6645 MB / 277.8 MB, free: 12.6 MB / 266.7 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.519454888999462]