Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001272/0.001272, allocations: 197.6 kB / 17.43 MB, free: 4.375 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.501/1.501, allocations: 229.5 MB / 247.7 MB, free: 6.328 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009332/0.0009338, allocations: 91.16 kB / 299.8 MB, free: 5.352 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005203/0.0005203, allocations: 8 kB / 360.6 MB, free: 8.477 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2805/0.281, allocations: 51.41 MB / 412.1 MB, free: 25.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock): time 0.001247/0.2823, allocations: 0.5667 MB / 412.6 MB, free: 25.35 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000298/0.2827, allocations: 115.7 kB / 412.7 MB, free: 25.23 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.834e-05/0.2827, allocations: 0 / 412.7 MB, free: 25.23 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.264e-05/0.2828, allocations: 0.5938 kB / 412.7 MB, free: 25.23 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001256/0.2829, allocations: 11.92 kB / 412.7 MB, free: 25.22 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002316/0.2832, allocations: 26.75 kB / 412.8 MB, free: 25.2 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.299e-05/0.2833, allocations: 35.92 kB / 412.8 MB, free: 25.16 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.2834, allocations: 23.91 kB / 412.8 MB, free: 25.14 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.698e-05/0.2834, allocations: 11.94 kB / 412.8 MB, free: 25.13 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.282e-05/0.2834, allocations: 11.92 kB / 412.9 MB, free: 25.12 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.24e-05/0.2835, allocations: 8.469 kB / 412.9 MB, free: 25.11 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.147e-05/0.2835, allocations: 1.031 kB / 412.9 MB, free: 25.11 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.705e-05/0.2835, allocations: 15.92 kB / 412.9 MB, free: 25.09 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.368e-05/0.2836, allocations: 45.52 kB / 412.9 MB, free: 25.04 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 8.59e-05/0.2837, allocations: 49.2 kB / 413 MB, free: 25 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.2837, allocations: 0 / 413 MB, free: 25 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2837, allocations: 0 / 413 MB, free: 25 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.627e-06/0.2837, allocations: 0 / 413 MB, free: 25 MB / 298.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.0003165/0.284, allocations: 357.8 kB / 413.3 MB, free: 24.6 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.2841, allocations: 12.75 kB / 413.3 MB, free: 24.59 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.039e-05/0.2841, allocations: 12.84 kB / 413.3 MB, free: 24.57 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001561/0.2843, allocations: 196.1 kB / 413.5 MB, free: 24.34 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.371e-05/0.2843, allocations: 8.312 kB / 413.5 MB, free: 24.34 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.53e-05/0.2843, allocations: 4.375 kB / 413.5 MB, free: 24.33 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002469/0.2846, allocations: 127.8 kB / 413.7 MB, free: 24.2 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.2846, allocations: 4.188 kB / 413.7 MB, free: 24.19 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.2846, allocations: 3.938 kB / 413.7 MB, free: 24.19 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.2846, allocations: 4 kB / 413.7 MB, free: 24.18 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.201e-05/0.2847, allocations: 19.98 kB / 413.7 MB, free: 24.16 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001211/0.2848, allocations: 165.7 kB / 413.9 MB, free: 23.95 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001269/0.2849, allocations: 74.64 kB / 413.9 MB, free: 23.87 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.843e-05/0.285, allocations: 36.89 kB / 414 MB, free: 23.83 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.327e-05/0.285, allocations: 0 / 414 MB, free: 23.83 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.092e-05/0.285, allocations: 42.48 kB / 414 MB, free: 23.78 MB / 298.7 MB Notification: Performance of pre-optimization done (n=8): time 8.12e-07/0.285, allocations: 0 / 414 MB, free: 23.78 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001669/0.2852, allocations: 89.47 kB / 414.1 MB, free: 23.69 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.558e-05/0.2853, allocations: 59.41 kB / 414.2 MB, free: 23.62 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.218e-05/0.2854, allocations: 133.8 kB / 414.3 MB, free: 23.48 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.045e-06/0.2854, allocations: 25.7 kB / 414.3 MB, free: 23.45 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.55e-05/0.2854, allocations: 92.12 kB / 414.4 MB, free: 23.35 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.384e-05/0.2854, allocations: 7.891 kB / 414.4 MB, free: 23.34 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.885e-06/0.2854, allocations: 4 kB / 414.4 MB, free: 23.34 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.034e-05/0.2855, allocations: 318.8 kB / 414.7 MB, free: 23.02 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.552e-05/0.2855, allocations: 8 kB / 414.7 MB, free: 23.01 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.184e-05/0.2856, allocations: 54.86 kB / 414.8 MB, free: 22.93 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.627e-05/0.2856, allocations: 74.73 kB / 414.9 MB, free: 22.84 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.2856, allocations: 8 kB / 414.9 MB, free: 22.83 MB / 298.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 9.648e-05/0.2857, allocations: 85.5 kB / 415 MB, free: 22.74 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.2857, allocations: 4 kB / 415 MB, free: 22.73 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.2858, allocations: 3.938 kB / 415 MB, free: 22.73 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.2858, allocations: 4 kB / 415 MB, free: 22.73 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.633e-05/0.2858, allocations: 4 kB / 415 MB, free: 22.72 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.2858, allocations: 11.92 kB / 415 MB, free: 22.71 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.557e-05/0.2859, allocations: 8.156 kB / 415 MB, free: 22.7 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-06/0.2859, allocations: 4 kB / 415 MB, free: 22.7 MB / 298.7 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,unitDelay1.u,$CLKPRE.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 6.353e-05/0.2859, allocations: 129.7 kB / 415.1 MB, free: 22.56 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.323e-05/0.286, allocations: 61.69 kB / 415.2 MB, free: 22.5 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.526e-05/0.2861, allocations: 20.31 kB / 415.2 MB, free: 22.47 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.2861, allocations: 192 / 415.2 MB, free: 22.47 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.2861, allocations: 3.938 kB / 415.2 MB, free: 22.47 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.2861, allocations: 3.938 kB / 415.2 MB, free: 22.46 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.727e-05/0.2862, allocations: 173.5 kB / 415.4 MB, free: 22.25 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.2862, allocations: 4 kB / 415.4 MB, free: 22.24 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.227e-05/0.2862, allocations: 4 kB / 415.4 MB, free: 22.24 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.2862, allocations: 0 / 415.4 MB, free: 22.24 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.585e-06/0.2862, allocations: 3.938 kB / 415.4 MB, free: 22.23 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.2862, allocations: 0 / 415.4 MB, free: 22.23 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2862, allocations: 0 / 415.4 MB, free: 22.23 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.212e-05/0.2863, allocations: 93.03 kB / 415.5 MB, free: 22.12 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.32e-05/0.2864, allocations: 96.94 kB / 415.6 MB, free: 22.01 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.758e-05/0.2864, allocations: 15.92 kB / 415.6 MB, free: 22 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.491e-05/0.2864, allocations: 4 kB / 415.6 MB, free: 21.99 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.898e-06/0.2864, allocations: 0 / 415.6 MB, free: 21.99 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-06/0.2865, allocations: 3.938 kB / 415.6 MB, free: 21.99 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.496e-05/0.2865, allocations: 103.3 kB / 415.7 MB, free: 21.89 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2865, allocations: 0 / 415.7 MB, free: 21.89 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002081/0.2867, allocations: 4 kB / 415.7 MB, free: 21.88 MB / 298.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 8.913e-05/0.2868, allocations: 103.2 kB / 415.8 MB, free: 21.77 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001038/0.2869, allocations: 48.38 kB / 415.9 MB, free: 21.73 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.2869, allocations: 4 kB / 415.9 MB, free: 21.72 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.31e-07/0.2869, allocations: 4 kB / 415.9 MB, free: 21.72 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002978/0.2873, allocations: 40.11 kB / 415.9 MB, free: 21.68 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002488/0.2875, allocations: 183.9 kB / 416.1 MB, free: 21.47 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001272/0.2876, allocations: 0.703 MB / 416.8 MB, free: 20.75 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.253e-05/0.2877, allocations: 4 kB / 416.8 MB, free: 20.74 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.174e-05/0.2877, allocations: 11.44 kB / 416.8 MB, free: 20.73 MB / 298.7 MB Notification: Performance of SimCode: time 5.91e-07/0.2877, allocations: 0 / 416.8 MB, free: 20.73 MB / 298.7 MB Notification: Performance of Templates: time 0.002297/0.29, allocations: 0.5766 MB / 417.4 MB, free: 20.16 MB / 298.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe 2>&1) diffSimulationResults("Modelica_trunk_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","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches