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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001394/0.001394, allocations: 111.8 kB / 17.74 MB, free: 5.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001388/0.001388, allocations: 189.6 kB / 18.67 MB, free: 4.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.434/1.434, allocations: 222.9 MB / 242.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 55.92 kB / 352 MB, free: 3.25 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2831/0.2843, allocations: 49.42 MB / 401.4 MB, free: 8.766 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock): time 0.002184/0.2866, allocations: 0.8766 MB / 402.3 MB, free: 8.031 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000324/0.2869, allocations: 111.6 kB / 402.4 MB, free: 7.922 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.422e-05/0.287, allocations: 0 / 402.4 MB, free: 7.922 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.314e-05/0.2871, allocations: 3.938 kB / 402.4 MB, free: 7.918 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001135/0.2872, allocations: 11.92 kB / 402.4 MB, free: 7.906 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002194/0.2874, allocations: 39.89 kB / 402.4 MB, free: 7.867 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.13e-05/0.2875, allocations: 35.92 kB / 402.5 MB, free: 7.832 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.2876, allocations: 31.97 kB / 402.5 MB, free: 7.801 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.769e-05/0.2876, allocations: 11.94 kB / 402.5 MB, free: 7.789 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.268e-05/0.2877, allocations: 19.86 kB / 402.5 MB, free: 7.77 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.738e-05/0.2877, allocations: 4 kB / 402.5 MB, free: 7.766 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.011e-05/0.2877, allocations: 0 / 402.5 MB, free: 7.766 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.566e-05/0.2878, allocations: 19.92 kB / 402.6 MB, free: 7.746 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.295e-05/0.2878, allocations: 23.81 kB / 402.6 MB, free: 7.723 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001032/0.2879, allocations: 55.73 kB / 402.6 MB, free: 7.668 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.2879, allocations: 0 / 402.6 MB, free: 7.668 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.2879, allocations: 0 / 402.6 MB, free: 7.668 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.999e-06/0.2879, allocations: 0 / 402.6 MB, free: 7.668 MB / 318.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.0003703/0.2883, allocations: 376.3 kB / 403 MB, free: 7.254 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.2884, allocations: 8.031 kB / 403 MB, free: 7.246 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.296e-05/0.2884, allocations: 12.75 kB / 403 MB, free: 7.234 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002153/0.2886, allocations: 192.2 kB / 403.2 MB, free: 7.008 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.898e-06/0.2887, allocations: 4.375 kB / 403.2 MB, free: 7.004 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.428e-05/0.2887, allocations: 4.375 kB / 403.2 MB, free: 7 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002451/0.2889, allocations: 135.7 kB / 403.3 MB, free: 6.855 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.2889, allocations: 192 / 403.3 MB, free: 6.855 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.289, allocations: 7.938 kB / 403.4 MB, free: 6.848 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.289, allocations: 0 / 403.4 MB, free: 6.848 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.313e-05/0.289, allocations: 19.98 kB / 403.4 MB, free: 6.828 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001501/0.2892, allocations: 177.6 kB / 403.5 MB, free: 6.605 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001418/0.2893, allocations: 66.66 kB / 403.6 MB, free: 6.531 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.569e-05/0.2894, allocations: 36.89 kB / 403.6 MB, free: 6.492 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.038e-05/0.2894, allocations: 0 / 403.6 MB, free: 6.492 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.433e-05/0.2894, allocations: 42.56 kB / 403.7 MB, free: 6.441 MB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 9.82e-07/0.2894, allocations: 0 / 403.7 MB, free: 6.441 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0001889/0.2896, allocations: 89.47 kB / 403.8 MB, free: 6.348 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.477e-05/0.2897, allocations: 55.41 kB / 403.8 MB, free: 6.281 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001072/0.2898, allocations: 137.1 kB / 404 MB, free: 6.141 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.489e-05/0.2898, allocations: 25.7 kB / 404 MB, free: 6.109 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.661e-05/0.2899, allocations: 88.12 kB / 404.1 MB, free: 6.02 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.631e-05/0.2899, allocations: 4 kB / 404.1 MB, free: 6.016 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.001e-05/0.2899, allocations: 29.72 kB / 404.1 MB, free: 5.98 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001172/0.2901, allocations: 318.8 kB / 404.4 MB, free: 5.66 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.701e-05/0.2901, allocations: 4 kB / 404.4 MB, free: 5.656 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.736e-05/0.2901, allocations: 58.86 kB / 404.5 MB, free: 5.574 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.268e-05/0.2902, allocations: 70.75 kB / 404.6 MB, free: 5.48 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.2902, allocations: 0 / 404.6 MB, free: 5.48 MB / 318.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001272/0.2904, allocations: 97.39 kB / 404.6 MB, free: 5.379 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/0.2904, allocations: 8 kB / 404.7 MB, free: 5.371 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.2904, allocations: 3.938 kB / 404.7 MB, free: 5.367 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.2904, allocations: 4 kB / 404.7 MB, free: 5.363 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.581e-05/0.2904, allocations: 4 kB / 404.7 MB, free: 5.359 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.263e-06/0.2905, allocations: 3.938 kB / 404.7 MB, free: 5.355 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.9e-05/0.2905, allocations: 12.19 kB / 404.7 MB, free: 5.344 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.314e-06/0.2905, allocations: 8.188 kB / 404.7 MB, free: 5.336 MB / 318.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 8.104e-05/0.2906, allocations: 121.8 kB / 404.8 MB, free: 5.207 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.036e-05/0.2907, allocations: 77.52 kB / 404.9 MB, free: 5.125 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.44e-05/0.2907, allocations: 16.31 kB / 404.9 MB, free: 5.109 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.2908, allocations: 4 kB / 404.9 MB, free: 5.105 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.2908, allocations: 0 / 404.9 MB, free: 5.105 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.2908, allocations: 0 / 404.9 MB, free: 5.105 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001152/0.2909, allocations: 173.6 kB / 405.1 MB, free: 4.887 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.2909, allocations: 0 / 405.1 MB, free: 4.887 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.696e-06/0.2909, allocations: 8 kB / 405.1 MB, free: 4.879 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.2909, allocations: 0 / 405.1 MB, free: 4.879 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.757e-06/0.2909, allocations: 7.875 kB / 405.1 MB, free: 4.871 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.2909, allocations: 0 / 405.1 MB, free: 4.871 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2909, allocations: 0 / 405.1 MB, free: 4.871 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001119/0.2911, allocations: 97.42 kB / 405.2 MB, free: 4.758 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.849e-05/0.2911, allocations: 93 kB / 405.3 MB, free: 4.648 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.791e-05/0.2912, allocations: 7.938 kB / 405.3 MB, free: 4.641 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.556e-05/0.2912, allocations: 4 kB / 405.3 MB, free: 4.637 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.16e-06/0.2912, allocations: 3.984 kB / 405.3 MB, free: 4.633 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.2912, allocations: 0 / 405.3 MB, free: 4.633 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.109e-05/0.2913, allocations: 107.2 kB / 405.4 MB, free: 4.527 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2913, allocations: 0 / 405.4 MB, free: 4.527 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002004/0.2915, allocations: 12 kB / 405.4 MB, free: 4.516 MB / 318.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.0001035/0.2916, allocations: 99.98 kB / 405.5 MB, free: 4.41 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000124/0.2917, allocations: 47.92 kB / 405.6 MB, free: 4.363 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.2917, allocations: 0 / 405.6 MB, free: 4.363 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.7e-07/0.2917, allocations: 0 / 405.6 MB, free: 4.363 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002916/0.292, allocations: 47.95 kB / 405.6 MB, free: 4.316 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002948/0.2923, allocations: 187.3 kB / 405.8 MB, free: 4.102 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000258/0.2926, allocations: 0.7039 MB / 406.5 MB, free: 3.371 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.418e-05/0.2926, allocations: 11.94 kB / 406.5 MB, free: 3.359 MB / 318.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2926, allocations: 4 kB / 406.5 MB, free: 3.355 MB / 318.1 MB Notification: Performance of Templates: time 0.001986/0.2946, allocations: 0.7909 MB / 407.3 MB, free: 2.566 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.makefile (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) 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) Reference file matches