Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001117/0.001118, allocations: 200.2 kB / 17.38 MB, free: 4.43 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.414/1.414, allocations: 226.6 MB / 244.7 MB, free: 6.457 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007874/0.0007877, allocations: 102.3 kB / 296.8 MB, free: 6.652 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002551/0.0002556, allocations: 4 kB / 356.8 MB, free: 10.67 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2745/0.2747, allocations: 51.29 MB / 408 MB, free: 27.66 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.001055/0.2758, allocations: 0.654 MB / 408.7 MB, free: 27.02 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002401/0.2761, allocations: 99.72 kB / 408.8 MB, free: 26.92 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.123e-05/0.2762, allocations: 9.719 kB / 408.8 MB, free: 26.91 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.728e-05/0.2762, allocations: 3.984 kB / 408.8 MB, free: 26.91 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001142/0.2763, allocations: 7.938 kB / 408.8 MB, free: 26.9 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002087/0.2766, allocations: 35.66 kB / 408.9 MB, free: 26.87 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.71e-05/0.2766, allocations: 31.92 kB / 408.9 MB, free: 26.84 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.2767, allocations: 22.05 kB / 408.9 MB, free: 26.81 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.518e-05/0.2768, allocations: 13.92 kB / 408.9 MB, free: 26.8 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.747e-05/0.2768, allocations: 19.86 kB / 408.9 MB, free: 26.78 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.801e-05/0.2769, allocations: 3.938 kB / 408.9 MB, free: 26.78 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.036e-05/0.2769, allocations: 4 kB / 408.9 MB, free: 26.77 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.632e-05/0.2769, allocations: 11.92 kB / 409 MB, free: 26.76 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.657e-05/0.277, allocations: 45.58 kB / 409 MB, free: 26.71 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 6.336e-05/0.277, allocations: 33.36 kB / 409 MB, free: 26.68 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.277, allocations: 8 kB / 409 MB, free: 26.67 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2771, allocations: 0 / 409 MB, free: 26.67 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.457e-06/0.2771, allocations: 1.344 kB / 409 MB, free: 26.67 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.0003014/0.2774, allocations: 356.3 kB / 409.4 MB, free: 26.28 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.2774, allocations: 13 kB / 409.4 MB, free: 26.27 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.937e-05/0.2774, allocations: 12.75 kB / 409.4 MB, free: 26.25 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001317/0.2776, allocations: 192.2 kB / 409.6 MB, free: 26.03 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.2776, allocations: 5.062 kB / 409.6 MB, free: 26.02 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.228e-05/0.2776, allocations: 8.375 kB / 409.6 MB, free: 26.02 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002202/0.2778, allocations: 128.6 kB / 409.7 MB, free: 25.88 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.625e-06/0.2779, allocations: 8.562 kB / 409.8 MB, free: 25.88 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.2779, allocations: 4 kB / 409.8 MB, free: 25.87 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.2779, allocations: 0.8438 kB / 409.8 MB, free: 25.87 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.468e-05/0.2779, allocations: 15.98 kB / 409.8 MB, free: 25.86 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001055/0.278, allocations: 181.2 kB / 409.9 MB, free: 25.63 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001084/0.2782, allocations: 62.72 kB / 410 MB, free: 25.56 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.86e-05/0.2782, allocations: 40.81 kB / 410.1 MB, free: 25.52 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.006e-05/0.2782, allocations: 0 / 410.1 MB, free: 25.52 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.646e-05/0.2783, allocations: 40.19 kB / 410.1 MB, free: 25.47 MB / 298.7 MB Notification: Performance of pre-optimization done (n=8): time 8.32e-07/0.2783, allocations: 0 / 410.1 MB, free: 25.47 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001568/0.2784, allocations: 93.66 kB / 410.2 MB, free: 25.38 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.443e-05/0.2785, allocations: 55.41 kB / 410.2 MB, free: 25.31 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.297e-05/0.2786, allocations: 136.8 kB / 410.4 MB, free: 25.17 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.434e-06/0.2786, allocations: 25.7 kB / 410.4 MB, free: 25.14 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.115e-05/0.2786, allocations: 88.14 kB / 410.5 MB, free: 25.05 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.203e-05/0.2786, allocations: 7.984 kB / 410.5 MB, free: 25.04 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.465e-06/0.2786, allocations: 3.938 kB / 410.5 MB, free: 25.04 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.499e-05/0.2787, allocations: 318.8 kB / 410.8 MB, free: 24.71 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.443e-05/0.2787, allocations: 4 kB / 410.8 MB, free: 24.71 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.161e-05/0.2787, allocations: 62.86 kB / 410.9 MB, free: 24.62 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.15e-05/0.2788, allocations: 74.75 kB / 410.9 MB, free: 24.53 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.2788, allocations: 0 / 410.9 MB, free: 24.53 MB / 298.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 9.506e-05/0.2789, allocations: 85.45 kB / 411 MB, free: 24.44 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.2789, allocations: 12.12 kB / 411 MB, free: 24.43 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.2789, allocations: 8 kB / 411 MB, free: 24.42 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.2789, allocations: 4 kB / 411 MB, free: 24.41 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.342e-05/0.279, allocations: 15.98 kB / 411.1 MB, free: 24.4 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.279, allocations: 3.938 kB / 411.1 MB, free: 24.39 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.484e-05/0.2791, allocations: 11.94 kB / 411.1 MB, free: 24.38 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.024e-06/0.2791, allocations: 4 kB / 411.1 MB, free: 24.38 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: 0 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.297e-05/0.2791, allocations: 121.8 kB / 411.2 MB, free: 24.25 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.528e-05/0.2792, allocations: 73.53 kB / 411.3 MB, free: 24.17 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.675e-05/0.2792, allocations: 16.72 kB / 411.3 MB, free: 24.15 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.2792, allocations: 192 / 411.3 MB, free: 24.15 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.2793, allocations: 0 / 411.3 MB, free: 24.15 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.2793, allocations: 7.922 kB / 411.3 MB, free: 24.14 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.642e-05/0.2793, allocations: 169.6 kB / 411.5 MB, free: 23.93 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.2793, allocations: 0 / 411.5 MB, free: 23.93 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.917e-05/0.2794, allocations: 19.98 kB / 411.5 MB, free: 23.91 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.2794, allocations: 3.938 kB / 411.5 MB, free: 23.91 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.2794, allocations: 4 kB / 411.5 MB, free: 23.9 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.2794, allocations: 3.938 kB / 411.5 MB, free: 23.9 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.2794, allocations: 0 / 411.5 MB, free: 23.9 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.509e-05/0.2795, allocations: 105 kB / 411.6 MB, free: 23.78 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.717e-05/0.2796, allocations: 96.88 kB / 411.7 MB, free: 23.66 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.485e-05/0.2796, allocations: 4 kB / 411.7 MB, free: 23.66 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.69e-05/0.2796, allocations: 0 / 411.7 MB, free: 23.66 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.766e-06/0.2796, allocations: 4 kB / 411.7 MB, free: 23.66 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.117e-06/0.2796, allocations: 4 kB / 411.7 MB, free: 23.65 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.438e-05/0.2797, allocations: 107.2 kB / 411.8 MB, free: 23.55 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2797, allocations: 0 / 411.8 MB, free: 23.55 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001789/0.2799, allocations: 8 kB / 411.8 MB, free: 23.54 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: 0 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.605e-05/0.28, allocations: 99.25 kB / 411.9 MB, free: 23.43 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.297e-05/0.28, allocations: 47.86 kB / 412 MB, free: 23.39 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.2801, allocations: 0 / 412 MB, free: 23.39 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.71e-07/0.2801, allocations: 0 / 412 MB, free: 23.39 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002812/0.2803, allocations: 34.92 kB / 412 MB, free: 23.36 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002613/0.2806, allocations: 213 kB / 412.2 MB, free: 23.11 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001502/0.2808, allocations: 0.7042 MB / 412.9 MB, free: 22.38 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.33e-05/0.2808, allocations: 11.44 kB / 412.9 MB, free: 22.37 MB / 298.7 MB Notification: Performance of SimCode: time 2.1e-07/0.2808, allocations: 0 / 412.9 MB, free: 22.37 MB / 298.7 MB Notification: Performance of Templates: time 0.002028/0.2829, allocations: 0.7896 MB / 413.7 MB, free: 21.58 MB / 298.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.makefile (rm -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe >> ../files/Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.sim & ./Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/AssignClock/AssignClock.csv","../files/Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches