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.0007766/0.0007766, allocations: 84 kB / 21.43 MB, free: 3.133 MB / 18.57 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.003128/0.003128, allocations: 153.2 kB / 24.69 MB, free: 9.434 MB / 18.57 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 0.8005/0.8005, allocations: 173.4 MB / 201.2 MB, free: 9.418 MB / 186.7 MB " [Timeout remaining time 179] 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 1.413e-06/1.413e-06, allocations: 0 / 319.7 MB, free: 5.859 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.717e-05/1.859e-05, allocations: 2.281 kB / 319.7 MB, free: 5.855 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock): time 0.0013/0.001318, allocations: 0.8682 MB / 320.5 MB, free: 4.98 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002535/0.001572, allocations: 119.6 kB / 320.7 MB, free: 4.863 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.578e-05/0.001638, allocations: 3.938 kB / 320.7 MB, free: 4.859 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.9e-05/0.001677, allocations: 7.922 kB / 320.7 MB, free: 4.852 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001088/0.001785, allocations: 7.938 kB / 320.7 MB, free: 4.844 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001734/0.001959, allocations: 43.83 kB / 320.7 MB, free: 4.801 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 8.328e-05/0.002042, allocations: 39.86 kB / 320.8 MB, free: 4.762 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.197e-05/0.002124, allocations: 23.92 kB / 320.8 MB, free: 4.738 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.475e-05/0.002169, allocations: 31.91 kB / 320.8 MB, free: 4.707 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.577e-05/0.002194, allocations: 11.92 kB / 320.8 MB, free: 4.695 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.108e-05/0.002216, allocations: 0 / 320.8 MB, free: 4.695 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.954e-06/0.002223, allocations: 4 kB / 320.8 MB, free: 4.691 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.091e-05/0.002264, allocations: 11.98 kB / 320.8 MB, free: 4.68 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.379e-05/0.002288, allocations: 15.94 kB / 320.9 MB, free: 4.664 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 9.203e-05/0.00238, allocations: 55.73 kB / 320.9 MB, free: 4.609 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.833e-06/0.002382, allocations: 0 / 320.9 MB, free: 4.609 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.32e-07/0.002383, allocations: 0 / 320.9 MB, free: 4.609 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.807e-06/0.002387, allocations: 0 / 320.9 MB, free: 4.609 MB / 282.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.0002697/0.002656, allocations: 298 kB / 321.2 MB, free: 4.285 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.985e-05/0.002686, allocations: 12.92 kB / 321.2 MB, free: 4.273 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.721e-05/0.002713, allocations: 8.891 kB / 321.2 MB, free: 4.266 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001561/0.002869, allocations: 129.7 kB / 321.4 MB, free: 4.113 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.002881, allocations: 12.31 kB / 321.4 MB, free: 4.102 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.755e-06/0.002889, allocations: 384 / 321.4 MB, free: 4.102 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00019/0.003079, allocations: 123.9 kB / 321.5 MB, free: 3.969 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.003086, allocations: 8.172 kB / 321.5 MB, free: 3.961 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.775e-06/0.003094, allocations: 384 / 321.5 MB, free: 3.961 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.003099, allocations: 4.375 kB / 321.5 MB, free: 3.957 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.79e-05/0.003137, allocations: 23.92 kB / 321.5 MB, free: 3.934 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.931e-05/0.003226, allocations: 117.2 kB / 321.6 MB, free: 3.789 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001002/0.003326, allocations: 66.59 kB / 321.7 MB, free: 3.715 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.694e-05/0.003363, allocations: 32.89 kB / 321.7 MB, free: 3.68 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.307e-06/0.003372, allocations: 4 kB / 321.7 MB, free: 3.676 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.613e-05/0.003389, allocations: 30.56 kB / 321.8 MB, free: 3.637 MB / 282.7 MB Notification: Performance of pre-optimization done (n=8): time 6.51e-07/0.003389, allocations: 0 / 321.8 MB, free: 3.637 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001411/0.00353, allocations: 97.55 kB / 321.9 MB, free: 3.535 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.123e-05/0.003571, allocations: 63.39 kB / 321.9 MB, free: 3.461 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.559e-05/0.003647, allocations: 137.1 kB / 322.1 MB, free: 3.32 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.274e-06/0.003654, allocations: 25.7 kB / 322.1 MB, free: 3.289 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.652e-05/0.003681, allocations: 84.14 kB / 322.2 MB, free: 3.203 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.588e-06/0.00369, allocations: 4 kB / 322.2 MB, free: 3.199 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.374e-05/0.003714, allocations: 21.66 kB / 322.2 MB, free: 3.172 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.797e-05/0.003782, allocations: 318.8 kB / 322.5 MB, free: 2.852 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.143e-06/0.003789, allocations: 0 / 322.5 MB, free: 2.852 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.2e-06/0.003795, allocations: 4 kB / 322.5 MB, free: 2.848 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.871e-05/0.003813, allocations: 12.92 kB / 322.5 MB, free: 2.832 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.003815, allocations: 0 / 322.5 MB, free: 2.832 MB / 282.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.417e-05/0.003849, allocations: 45.62 kB / 322.6 MB, free: 2.781 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.658e-06/0.003859, allocations: 7.938 kB / 322.6 MB, free: 2.773 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.003862, allocations: 0 / 322.6 MB, free: 2.773 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.889e-06/0.003872, allocations: 0 / 322.6 MB, free: 2.773 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.825e-06/0.00388, allocations: 0 / 322.6 MB, free: 2.773 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.003885, allocations: 4 kB / 322.6 MB, free: 2.77 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.107e-06/0.003894, allocations: 3.938 kB / 322.6 MB, free: 2.766 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.767e-06/0.003897, allocations: 0 / 322.6 MB, free: 2.766 MB / 282.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.043e-05/0.003948, allocations: 117.9 kB / 322.7 MB, free: 2.641 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.854e-05/0.003996, allocations: 73.58 kB / 322.8 MB, free: 2.562 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.405e-05/0.00402, allocations: 16.42 kB / 322.8 MB, free: 2.543 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.004022, allocations: 0 / 322.8 MB, free: 2.543 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.004025, allocations: 0 / 322.8 MB, free: 2.543 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.004028, allocations: 3.938 kB / 322.8 MB, free: 2.539 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.52e-05/0.004073, allocations: 117.3 kB / 322.9 MB, free: 2.395 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.004075, allocations: 4 kB / 322.9 MB, free: 2.391 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.668e-06/0.00408, allocations: 0 / 322.9 MB, free: 2.391 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.02e-07/0.00408, allocations: 0 / 322.9 MB, free: 2.391 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.691e-06/0.004086, allocations: 3.938 kB / 322.9 MB, free: 2.387 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.91e-07/0.004087, allocations: 4 kB / 322.9 MB, free: 2.383 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.004088, allocations: 4 kB / 322.9 MB, free: 2.379 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.061e-05/0.004159, allocations: 105 kB / 323 MB, free: 2.258 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.532e-05/0.004184, allocations: 11.95 kB / 323 MB, free: 2.246 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.659e-06/0.004194, allocations: 3.938 kB / 323 MB, free: 2.242 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.659e-06/0.004203, allocations: 4 kB / 323 MB, free: 2.238 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.765e-06/0.004206, allocations: 7.984 kB / 323.1 MB, free: 2.23 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-06/0.004208, allocations: 0 / 323.1 MB, free: 2.23 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.818e-05/0.004246, allocations: 103.3 kB / 323.2 MB, free: 2.129 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004246, allocations: 0 / 323.2 MB, free: 2.129 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001119/0.004358, allocations: 8 kB / 323.2 MB, free: 2.121 MB / 282.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.917e-05/0.004417, allocations: 106 kB / 323.3 MB, free: 2.012 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 6.868e-05/0.004486, allocations: 27.98 kB / 323.3 MB, free: 1.984 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.263e-06/0.004487, allocations: 0 / 323.3 MB, free: 1.984 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.01e-07/0.004488, allocations: 0 / 323.3 MB, free: 1.984 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001922/0.00468, allocations: 35.95 kB / 323.3 MB, free: 1.949 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001936/0.004874, allocations: 182.6 kB / 323.5 MB, free: 1.738 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.592e-05/0.004919, allocations: 87.33 kB / 323.6 MB, free: 1.633 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.843e-05/0.004938, allocations: 8.5 kB / 323.6 MB, free: 1.625 MB / 282.7 MB Notification: Performance of SimCode: time 2.61e-07/0.004938, allocations: 0 / 323.6 MB, free: 1.625 MB / 282.7 MB Notification: Performance of Templates: time 0.001316/0.006254, allocations: 0.7533 MB / 324.4 MB, free: 0.875 MB / 282.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/AssignClock/AssignClock.csv","/var/lib/jenkins/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: 3.7722479617223144]