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.00129/0.00129, allocations: 81.58 kB / 20.68 MB, free: 1.023 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.001282/0.001282, allocations: 147.1 kB / 23.93 MB, free: 4.176 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.526/1.526, allocations: 173.4 MB / 200.4 MB, free: 12.86 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 1.664e-06/1.664e-06, allocations: 0 / 318.9 MB, free: 3.555 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.049e-05/2.215e-05, allocations: 2.281 kB / 318.9 MB, free: 3.551 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock): time 0.001988/0.00201, allocations: 0.8705 MB / 319.8 MB, free: 3.027 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003536/0.002364, allocations: 127.4 kB / 319.9 MB, free: 2.941 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.487e-05/0.002439, allocations: 1.281 kB / 319.9 MB, free: 2.941 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.832e-05/0.002487, allocations: 5.25 kB / 319.9 MB, free: 2.938 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001364/0.002623, allocations: 8.141 kB / 319.9 MB, free: 2.934 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002429/0.002866, allocations: 37.52 kB / 320 MB, free: 2.914 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001126/0.002979, allocations: 40.3 kB / 320 MB, free: 2.895 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.00309, allocations: 25.02 kB / 320 MB, free: 2.879 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.643e-05/0.003136, allocations: 20.5 kB / 320 MB, free: 2.871 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.392e-05/0.00317, allocations: 16.06 kB / 320.1 MB, free: 2.863 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.333e-05/0.003203, allocations: 4.531 kB / 320.1 MB, free: 2.863 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.3e-05/0.003216, allocations: 2.812 kB / 320.1 MB, free: 2.863 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.61e-05/0.003272, allocations: 14.45 kB / 320.1 MB, free: 2.855 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.163e-05/0.003304, allocations: 14.36 kB / 320.1 MB, free: 2.848 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001191/0.003423, allocations: 49.06 kB / 320.1 MB, free: 2.828 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.653e-06/0.003425, allocations: 1.062 kB / 320.1 MB, free: 2.828 MB / 286.1 MB Notification: Performance of FrontEnd: time 6.01e-07/0.003425, allocations: 0 / 320.1 MB, free: 2.828 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.034e-05/0.003436, allocations: 3.938 kB / 320.2 MB, free: 2.824 MB / 286.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.0003263/0.003762, allocations: 301.1 kB / 320.4 MB, free: 2.523 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.003803, allocations: 10.83 kB / 320.5 MB, free: 2.523 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.383e-05/0.003837, allocations: 12.83 kB / 320.5 MB, free: 2.52 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000177/0.004014, allocations: 133.7 kB / 320.6 MB, free: 2.379 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.394e-06/0.004022, allocations: 1.938 kB / 320.6 MB, free: 2.379 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.642e-05/0.004038, allocations: 7.562 kB / 320.6 MB, free: 2.375 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002554/0.004293, allocations: 129.9 kB / 320.7 MB, free: 2.293 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.004304, allocations: 192 / 320.7 MB, free: 2.293 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.197e-06/0.004313, allocations: 2.625 kB / 320.7 MB, free: 2.293 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.004318, allocations: 4.312 kB / 320.7 MB, free: 2.289 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.226e-05/0.00436, allocations: 18.81 kB / 320.8 MB, free: 2.281 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001037/0.004463, allocations: 126.1 kB / 320.9 MB, free: 2.141 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000139/0.004602, allocations: 56.81 kB / 320.9 MB, free: 2.105 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.409e-05/0.004657, allocations: 36.97 kB / 321 MB, free: 2.086 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.656e-06/0.004665, allocations: 1.25 kB / 321 MB, free: 2.086 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.819e-05/0.004683, allocations: 35.69 kB / 321 MB, free: 2.043 MB / 286.1 MB Notification: Performance of pre-optimization done (n=8): time 1.283e-06/0.004685, allocations: 5.219 kB / 321 MB, free: 2.039 MB / 286.1 MB Notification: Performance of matching and sorting (n=8): time 0.0001905/0.004875, allocations: 91.47 kB / 321.1 MB, free: 1.98 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.067e-05/0.004916, allocations: 55.22 kB / 321.2 MB, free: 1.918 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001082/0.005024, allocations: 136.8 kB / 321.3 MB, free: 1.805 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 8.115e-06/0.005032, allocations: 25.7 kB / 321.3 MB, free: 1.773 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.958e-05/0.005062, allocations: 87.14 kB / 321.4 MB, free: 1.688 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.165e-05/0.005073, allocations: 1.156 kB / 321.4 MB, free: 1.688 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.983e-05/0.005103, allocations: 23.42 kB / 321.4 MB, free: 1.664 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 5.213e-05/0.005155, allocations: 314.5 kB / 321.7 MB, free: 1.352 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.123e-05/0.005167, allocations: 5.406 kB / 321.7 MB, free: 1.348 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.382e-06/0.005173, allocations: 10.5 kB / 321.7 MB, free: 1.34 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.338e-05/0.005196, allocations: 10.28 kB / 321.8 MB, free: 1.332 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.005198, allocations: 0 / 321.8 MB, free: 1.332 MB / 286.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.802e-05/0.005246, allocations: 39.33 kB / 321.8 MB, free: 1.297 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.00526, allocations: 12.22 kB / 321.8 MB, free: 1.293 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.005264, allocations: 0 / 321.8 MB, free: 1.293 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.005279, allocations: 0.9688 kB / 321.8 MB, free: 1.293 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.222e-05/0.005291, allocations: 2.234 kB / 321.8 MB, free: 1.293 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.349e-06/0.005296, allocations: 0 / 321.8 MB, free: 1.293 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.43e-05/0.00531, allocations: 8.031 kB / 321.8 MB, free: 1.285 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.06e-06/0.005315, allocations: 1.219 kB / 321.8 MB, free: 1.285 MB / 286.1 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 6.029e-05/0.005375, allocations: 121.5 kB / 321.9 MB, free: 1.164 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.343e-05/0.005459, allocations: 69.09 kB / 322 MB, free: 1.117 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.482e-05/0.005494, allocations: 15.89 kB / 322 MB, free: 1.102 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.005496, allocations: 1.188 kB / 322 MB, free: 1.102 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.0055, allocations: 4.922 kB / 322 MB, free: 1.098 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.005504, allocations: 5.125 kB / 322 MB, free: 1.094 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.177e-05/0.005566, allocations: 109.9 kB / 322.1 MB, free: 0.9688 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.005566, allocations: 0 / 322.1 MB, free: 0.9688 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.379e-05/0.00558, allocations: 11.75 kB / 322.2 MB, free: 0.9609 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.005582, allocations: 0 / 322.2 MB, free: 0.9609 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.246e-06/0.00559, allocations: 1.188 kB / 322.2 MB, free: 0.9609 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.005591, allocations: 0 / 322.2 MB, free: 0.9609 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.005592, allocations: 0 / 322.2 MB, free: 0.9609 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001213/0.005713, allocations: 106.8 kB / 322.3 MB, free: 0.8711 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.748e-05/0.005751, allocations: 20.48 kB / 322.3 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.584e-05/0.005767, allocations: 2.328 kB / 322.3 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.533e-05/0.005782, allocations: 1.438 kB / 322.3 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.324e-06/0.005784, allocations: 0 / 322.3 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.43e-06/0.00579, allocations: 5.438 kB / 322.3 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.983e-05/0.00584, allocations: 107.9 kB / 322.4 MB, free: 0.7734 MB / 286.1 MB Notification: Performance of sort global known variables: time 7e-08/0.00584, allocations: 0 / 322.4 MB, free: 0.7734 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.00018/0.00602, allocations: 7.969 kB / 322.4 MB, free: 0.7695 MB / 286.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 7.119e-05/0.006091, allocations: 105.2 kB / 322.5 MB, free: 0.6758 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 9.512e-05/0.006186, allocations: 23.69 kB / 322.5 MB, free: 0.668 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.006187, allocations: 0 / 322.5 MB, free: 0.668 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 1.403e-06/0.006189, allocations: 1.219 kB / 322.5 MB, free: 0.668 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002823/0.006471, allocations: 43.83 kB / 322.6 MB, free: 0.6523 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002959/0.006767, allocations: 154 kB / 322.7 MB, free: 0.5195 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.561e-05/0.006843, allocations: 89.11 kB / 322.8 MB, free: 448 kB / 286.1 MB Notification: Performance of simCode: alias equations: time 1.649e-05/0.006859, allocations: 2.266 kB / 322.8 MB, free: 448 kB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.65e-05/0.006886, allocations: 11.34 kB / 322.8 MB, free: 440 kB / 286.1 MB Notification: Performance of SimCode: time 3.11e-07/0.006886, allocations: 3.938 kB / 322.8 MB, free: 436 kB / 286.1 MB Notification: Performance of Templates: time 0.00316/0.01005, allocations: 0.6204 MB / 323.4 MB, free: 328 kB / 286.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/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: 4.193446256220341]