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.001317/0.001317, allocations: 71.91 kB / 21.24 MB, free: 0.5469 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.001293/0.001293, allocations: 152 kB / 24.49 MB, free: 3.73 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.416/1.416, allocations: 173.4 MB / 201.1 MB, free: 12.7 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.001557/0.001557, allocations: 50.48 kB / 319.4 MB, free: 3.27 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09414/0.09569, allocations: 52.16 MB / 371.6 MB, free: 7.352 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock): time 0.002337/0.09803, allocations: 0.8847 MB / 372.5 MB, free: 6.469 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003473/0.09838, allocations: 123.5 kB / 372.6 MB, free: 6.348 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.75e-05/0.09846, allocations: 0 / 372.6 MB, free: 6.348 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.836e-05/0.0985, allocations: 3.938 kB / 372.6 MB, free: 6.344 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001151/0.09862, allocations: 11.92 kB / 372.6 MB, free: 6.332 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002212/0.09884, allocations: 31.92 kB / 372.6 MB, free: 6.301 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001144/0.09896, allocations: 47.83 kB / 372.7 MB, free: 6.254 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.09907, allocations: 19.92 kB / 372.7 MB, free: 6.234 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.287e-05/0.0991, allocations: 11.94 kB / 372.7 MB, free: 6.223 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.542e-05/0.09914, allocations: 19.92 kB / 372.7 MB, free: 6.203 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.896e-05/0.09915, allocations: 4 kB / 372.7 MB, free: 6.199 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.299e-05/0.09917, allocations: 4 kB / 372.7 MB, free: 6.195 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.46e-05/0.09922, allocations: 15.92 kB / 372.7 MB, free: 6.18 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.556e-05/0.09926, allocations: 15.88 kB / 372.8 MB, free: 6.164 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001335/0.09939, allocations: 59.61 kB / 372.8 MB, free: 6.105 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.0994, allocations: 0 / 372.8 MB, free: 6.105 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.0994, allocations: 0 / 372.8 MB, free: 6.105 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.0994, allocations: 0 / 372.8 MB, free: 6.105 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.0004426/0.09984, allocations: 294.1 kB / 373.1 MB, free: 5.785 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.09989, allocations: 12.92 kB / 373.1 MB, free: 5.773 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.834e-05/0.09992, allocations: 12.89 kB / 373.1 MB, free: 5.762 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002579/0.1002, allocations: 134.4 kB / 373.3 MB, free: 5.605 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/0.1002, allocations: 4.375 kB / 373.3 MB, free: 5.602 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.466e-05/0.1002, allocations: 4.375 kB / 373.3 MB, free: 5.598 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002905/0.1005, allocations: 131.8 kB / 373.4 MB, free: 5.457 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.1005, allocations: 192 / 373.4 MB, free: 5.457 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.1005, allocations: 11.94 kB / 373.4 MB, free: 5.445 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.986e-06/0.1005, allocations: 0 / 373.4 MB, free: 5.445 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.329e-05/0.1006, allocations: 15.98 kB / 373.4 MB, free: 5.43 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000157/0.1007, allocations: 121.2 kB / 373.5 MB, free: 5.281 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001593/0.1009, allocations: 62.66 kB / 373.6 MB, free: 5.211 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.671e-05/0.101, allocations: 44.88 kB / 373.6 MB, free: 5.164 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.187e-05/0.101, allocations: 0 / 373.6 MB, free: 5.164 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.169e-05/0.101, allocations: 30.56 kB / 373.7 MB, free: 5.125 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 9.32e-07/0.101, allocations: 0 / 373.7 MB, free: 5.125 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002232/0.1012, allocations: 97.5 kB / 373.8 MB, free: 5.023 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.656e-05/0.1013, allocations: 55.41 kB / 373.8 MB, free: 4.957 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001268/0.1014, allocations: 137.8 kB / 374 MB, free: 4.812 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.569e-05/0.1015, allocations: 25.7 kB / 374 MB, free: 4.781 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.837e-05/0.1015, allocations: 88.12 kB / 374.1 MB, free: 4.691 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.378e-05/0.1015, allocations: 8 kB / 374.1 MB, free: 4.684 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.401e-05/0.1016, allocations: 29.66 kB / 374.1 MB, free: 4.648 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001511/0.1017, allocations: 314.8 kB / 374.4 MB, free: 4.332 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.831e-05/0.1017, allocations: 11.92 kB / 374.4 MB, free: 4.32 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.015e-05/0.1018, allocations: 54.88 kB / 374.5 MB, free: 4.242 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.083e-05/0.1019, allocations: 86.67 kB / 374.6 MB, free: 4.133 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.1019, allocations: 0 / 374.6 MB, free: 4.133 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001287/0.102, allocations: 85.72 kB / 374.6 MB, free: 4.043 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.102, allocations: 10.81 kB / 374.7 MB, free: 4.035 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/0.1021, allocations: 0 / 374.7 MB, free: 4.035 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.902e-05/0.1021, allocations: 7.938 kB / 374.7 MB, free: 4.027 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.649e-05/0.1021, allocations: 4 kB / 374.7 MB, free: 4.023 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.1021, allocations: 7.922 kB / 374.7 MB, free: 4.016 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.837e-05/0.1021, allocations: 11.95 kB / 374.7 MB, free: 4.004 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-06/0.1022, allocations: 4 kB / 374.7 MB, free: 4 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.272e-05/0.1022, allocations: 117.8 kB / 374.8 MB, free: 3.875 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.405e-05/0.1023, allocations: 69.64 kB / 374.9 MB, free: 3.801 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.195e-05/0.1024, allocations: 16.47 kB / 374.9 MB, free: 3.781 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.1024, allocations: 7.875 kB / 374.9 MB, free: 3.773 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.796e-06/0.1024, allocations: 0 / 374.9 MB, free: 3.773 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.1024, allocations: 0 / 374.9 MB, free: 3.773 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.587e-05/0.1025, allocations: 117.3 kB / 375 MB, free: 3.629 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1025, allocations: 0 / 375 MB, free: 3.629 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.191e-05/0.1025, allocations: 4 kB / 375 MB, free: 3.625 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.452e-06/0.1025, allocations: 0 / 375 MB, free: 3.625 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.37e-06/0.1025, allocations: 0 / 375 MB, free: 3.625 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1025, allocations: 0 / 375 MB, free: 3.625 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.1025, allocations: 3.938 kB / 375 MB, free: 3.621 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001322/0.1026, allocations: 97.08 kB / 375.1 MB, free: 3.508 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.263e-05/0.1027, allocations: 23.88 kB / 375.1 MB, free: 3.484 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.363e-05/0.1027, allocations: 0 / 375.1 MB, free: 3.484 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.732e-05/0.1027, allocations: 4 kB / 375.1 MB, free: 3.48 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.097e-06/0.1027, allocations: 7.875 kB / 375.2 MB, free: 3.473 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-06/0.1027, allocations: 4 kB / 375.2 MB, free: 3.469 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.505e-05/0.1028, allocations: 106.3 kB / 375.3 MB, free: 3.367 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1028, allocations: 0 / 375.3 MB, free: 3.367 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001989/0.103, allocations: 8 kB / 375.3 MB, free: 3.359 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.0001241/0.1031, allocations: 103.2 kB / 375.4 MB, free: 3.25 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001069/0.1032, allocations: 43.91 kB / 375.4 MB, free: 3.207 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.664e-06/0.1032, allocations: 192 / 375.4 MB, free: 3.207 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.21e-07/0.1032, allocations: 0 / 375.4 MB, free: 3.207 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002694/0.1035, allocations: 51.83 kB / 375.5 MB, free: 3.156 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00031/0.1038, allocations: 165.4 kB / 375.6 MB, free: 2.965 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.836e-05/0.1039, allocations: 83.83 kB / 375.7 MB, free: 2.863 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.17e-05/0.1039, allocations: 11.92 kB / 375.7 MB, free: 2.852 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.489e-05/0.1039, allocations: 12.5 kB / 375.7 MB, free: 2.84 MB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1039, allocations: 0 / 375.7 MB, free: 2.84 MB / 334.1 MB Notification: Performance of Templates: time 0.003033/0.107, allocations: 0.6747 MB / 376.4 MB, free: 2.18 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 -s ida -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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/AssignClock/AssignClock.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 4.171159362071194]