Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001698/0.001698, allocations: 116.9 kB / 18.41 MB, free: 4.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001963/0.001964, allocations: 186.9 kB / 21.34 MB, free: 1.59 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.524/1.524, allocations: 222.9 MB / 247.1 MB, free: 4.199 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001533/0.001533, allocations: 47.92 kB / 358.7 MB, free: 8.324 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09743/0.09898, allocations: 49.44 MB / 408.1 MB, free: 6.844 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock): time 0.002287/0.1013, allocations: 0.8633 MB / 409 MB, free: 5.984 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003449/0.1017, allocations: 111.6 kB / 409.1 MB, free: 5.875 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.298e-05/0.1018, allocations: 8 kB / 409.1 MB, free: 5.867 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.522e-05/0.1018, allocations: 7.922 kB / 409.1 MB, free: 5.859 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001187/0.102, allocations: 7.938 kB / 409.1 MB, free: 5.852 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002213/0.1022, allocations: 31.91 kB / 409.1 MB, free: 5.82 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001004/0.1023, allocations: 43.84 kB / 409.2 MB, free: 5.777 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.1024, allocations: 27.92 kB / 409.2 MB, free: 5.75 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.743e-05/0.1024, allocations: 11.94 kB / 409.2 MB, free: 5.738 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.452e-05/0.1025, allocations: 15.92 kB / 409.2 MB, free: 5.723 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.803e-05/0.1025, allocations: 8 kB / 409.2 MB, free: 5.715 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.307e-05/0.1025, allocations: 4 kB / 409.2 MB, free: 5.711 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.208e-05/0.1026, allocations: 15.92 kB / 409.2 MB, free: 5.695 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.215e-05/0.1026, allocations: 27.8 kB / 409.3 MB, free: 5.668 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001218/0.1028, allocations: 47.75 kB / 409.3 MB, free: 5.621 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.1028, allocations: 7.938 kB / 409.3 MB, free: 5.613 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1028, allocations: 0 / 409.3 MB, free: 5.613 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.1028, allocations: 0 / 409.3 MB, free: 5.613 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.0004492/0.1032, allocations: 371.1 kB / 409.7 MB, free: 5.199 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.1033, allocations: 8.031 kB / 409.7 MB, free: 5.191 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.734e-05/0.1033, allocations: 16.88 kB / 409.7 MB, free: 5.176 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002623/0.1036, allocations: 188.3 kB / 409.9 MB, free: 4.953 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.063e-05/0.1036, allocations: 384 / 409.9 MB, free: 4.953 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.498e-05/0.1037, allocations: 8.375 kB / 409.9 MB, free: 4.945 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002878/0.1039, allocations: 143.7 kB / 410 MB, free: 4.793 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.104, allocations: 8.172 kB / 410.1 MB, free: 4.785 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.104, allocations: 3.938 kB / 410.1 MB, free: 4.781 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.104, allocations: 0 / 410.1 MB, free: 4.781 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.068e-05/0.104, allocations: 12 kB / 410.1 MB, free: 4.77 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001978/0.1042, allocations: 181.5 kB / 410.2 MB, free: 4.543 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001532/0.1044, allocations: 66.66 kB / 410.3 MB, free: 4.469 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.007e-05/0.1045, allocations: 44.89 kB / 410.4 MB, free: 4.422 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.885e-06/0.1045, allocations: 0 / 410.4 MB, free: 4.422 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.817e-05/0.1045, allocations: 34.56 kB / 410.4 MB, free: 4.379 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 9.12e-07/0.1045, allocations: 0 / 410.4 MB, free: 4.379 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.000206/0.1047, allocations: 89.52 kB / 410.5 MB, free: 4.285 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.89e-05/0.1048, allocations: 59.66 kB / 410.5 MB, free: 4.215 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001312/0.105, allocations: 133.8 kB / 410.7 MB, free: 4.074 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.764e-05/0.105, allocations: 29.7 kB / 410.7 MB, free: 4.039 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.082e-05/0.105, allocations: 84.14 kB / 410.8 MB, free: 3.953 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.758e-05/0.1051, allocations: 8 kB / 410.8 MB, free: 3.945 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.755e-05/0.1051, allocations: 33.66 kB / 410.8 MB, free: 3.906 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.1053, allocations: 314.8 kB / 411.1 MB, free: 3.59 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.982e-05/0.1053, allocations: 4 kB / 411.1 MB, free: 3.586 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.904e-05/0.1054, allocations: 66.86 kB / 411.2 MB, free: 3.496 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.273e-05/0.1055, allocations: 70.75 kB / 411.3 MB, free: 3.402 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.1055, allocations: 0 / 411.3 MB, free: 3.402 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001295/0.1056, allocations: 89.48 kB / 411.4 MB, free: 3.309 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.1056, allocations: 4 kB / 411.4 MB, free: 3.305 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.1057, allocations: 7.938 kB / 411.4 MB, free: 3.297 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.1057, allocations: 256 / 411.4 MB, free: 3.297 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.125e-05/0.1057, allocations: 12 kB / 411.4 MB, free: 3.285 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.1057, allocations: 7.984 kB / 411.4 MB, free: 3.277 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.718e-05/0.1058, allocations: 3.953 kB / 411.4 MB, free: 3.273 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.298e-05/0.1058, allocations: 11.92 kB / 411.4 MB, free: 3.262 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 9.863e-05/0.1059, allocations: 124.3 kB / 411.5 MB, free: 3.133 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001025/0.106, allocations: 73.62 kB / 411.6 MB, free: 3.055 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.545e-05/0.106, allocations: 16.31 kB / 411.6 MB, free: 3.039 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.106, allocations: 0 / 411.6 MB, free: 3.039 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.1061, allocations: 4 kB / 411.6 MB, free: 3.035 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.1061, allocations: 0 / 411.6 MB, free: 3.035 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001351/0.1062, allocations: 173.6 kB / 411.8 MB, free: 2.816 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1062, allocations: 0 / 411.8 MB, free: 2.816 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.204e-05/0.1062, allocations: 3.938 kB / 411.8 MB, free: 2.812 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.1062, allocations: 0 / 411.8 MB, free: 2.812 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.909e-06/0.1062, allocations: 7.938 kB / 411.8 MB, free: 2.805 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.1063, allocations: 0 / 411.8 MB, free: 2.805 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.051e-06/0.1063, allocations: 4 kB / 411.8 MB, free: 2.801 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00012/0.1064, allocations: 93.08 kB / 411.9 MB, free: 2.691 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.268e-05/0.1065, allocations: 101 kB / 412 MB, free: 2.574 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.672e-05/0.1065, allocations: 3.938 kB / 412 MB, free: 2.57 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.316e-05/0.1065, allocations: 8.172 kB / 412 MB, free: 2.562 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.494e-06/0.1065, allocations: 0 / 412 MB, free: 2.562 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.256e-06/0.1066, allocations: 11.94 kB / 412 MB, free: 2.551 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.681e-05/0.1066, allocations: 95.27 kB / 412.1 MB, free: 2.457 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1066, allocations: 0 / 412.1 MB, free: 2.457 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002042/0.1068, allocations: 12 kB / 412.1 MB, free: 2.445 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.0001308/0.107, allocations: 107.7 kB / 412.2 MB, free: 2.332 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000131/0.1071, allocations: 43.92 kB / 412.3 MB, free: 2.289 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.1071, allocations: 0 / 412.3 MB, free: 2.289 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.71e-07/0.1071, allocations: 0 / 412.3 MB, free: 2.289 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003115/0.1074, allocations: 43.94 kB / 412.3 MB, free: 2.246 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003216/0.1078, allocations: 183.8 kB / 412.5 MB, free: 2.035 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003523/0.1081, allocations: 0.7078 MB / 413.2 MB, free: 1.301 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.598e-05/0.1082, allocations: 11.44 kB / 413.2 MB, free: 1.289 MB / 334.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1082, allocations: 0 / 413.2 MB, free: 1.289 MB / 334.1 MB Notification: Performance of Templates: time 0.002438/0.1106, allocations: 0.797 MB / 414 MB, free: 0.4961 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/AssignClock/AssignClock.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 6.671017279033549]