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.001578/0.001578, allocations: 196.6 kB / 17.05 MB, free: 5.102 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.341/1.341, allocations: 226.6 MB / 244.3 MB, free: 6.496 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000766/0.0007662, allocations: 93.61 kB / 296.4 MB, free: 6.781 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002013/0.0002013, allocations: 8 kB / 356.2 MB, free: 10.97 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2068/0.207, allocations: 51.29 MB / 407.5 MB, free: 27.8 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.001076/0.2081, allocations: 0.6454 MB / 408.1 MB, free: 27.16 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000296/0.2085, allocations: 123.7 kB / 408.3 MB, free: 27.04 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001105/0.2086, allocations: 6.719 kB / 408.3 MB, free: 27.04 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.051e-05/0.2086, allocations: 0 / 408.3 MB, free: 27.04 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001105/0.2088, allocations: 7.938 kB / 408.3 MB, free: 27.03 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002176/0.209, allocations: 35.89 kB / 408.3 MB, free: 27 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.963e-05/0.2091, allocations: 31.92 kB / 408.3 MB, free: 26.96 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.873e-05/0.2092, allocations: 24.89 kB / 408.4 MB, free: 26.94 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.328e-05/0.2092, allocations: 13.53 kB / 408.4 MB, free: 26.93 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.26e-05/0.2092, allocations: 23.86 kB / 408.4 MB, free: 26.9 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.531e-05/0.2093, allocations: 0 / 408.4 MB, free: 26.9 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.015e-05/0.2093, allocations: 0 / 408.4 MB, free: 26.9 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.176e-05/0.2093, allocations: 7.938 kB / 408.4 MB, free: 26.89 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.646e-05/0.2094, allocations: 35.05 kB / 408.4 MB, free: 26.86 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 7.224e-05/0.2094, allocations: 39.91 kB / 408.5 MB, free: 26.82 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.2094, allocations: 4 kB / 408.5 MB, free: 26.81 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2095, allocations: 1.219 kB / 408.5 MB, free: 26.81 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.458e-06/0.2095, allocations: 0 / 408.5 MB, free: 26.81 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.0003155/0.2098, allocations: 360.6 kB / 408.8 MB, free: 26.41 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.166e-05/0.2098, allocations: 8.031 kB / 408.9 MB, free: 26.41 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.976e-05/0.2099, allocations: 12.5 kB / 408.9 MB, free: 26.39 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001329/0.21, allocations: 187.6 kB / 409 MB, free: 26.17 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.131e-05/0.21, allocations: 4 kB / 409.1 MB, free: 26.17 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.18e-05/0.21, allocations: 4.938 kB / 409.1 MB, free: 26.16 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002199/0.2103, allocations: 138.9 kB / 409.2 MB, free: 26.02 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.643e-06/0.2103, allocations: 2.062 kB / 409.2 MB, free: 26.02 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.2103, allocations: 3.938 kB / 409.2 MB, free: 26.02 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.2103, allocations: 0 / 409.2 MB, free: 26.02 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.381e-05/0.2103, allocations: 16 kB / 409.2 MB, free: 26 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001048/0.2104, allocations: 173.6 kB / 409.4 MB, free: 25.78 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001117/0.2106, allocations: 65.81 kB / 409.4 MB, free: 25.71 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.14e-05/0.2106, allocations: 40.88 kB / 409.5 MB, free: 25.67 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.006e-05/0.2106, allocations: 7.953 kB / 409.5 MB, free: 25.66 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.181e-05/0.2107, allocations: 34.56 kB / 409.5 MB, free: 25.62 MB / 298.7 MB Notification: Performance of pre-optimization done (n=8): time 1.403e-06/0.2107, allocations: 0 / 409.5 MB, free: 25.62 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001632/0.2108, allocations: 85.73 kB / 409.6 MB, free: 25.53 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.725e-05/0.2109, allocations: 59.41 kB / 409.7 MB, free: 25.46 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.027e-05/0.211, allocations: 136.8 kB / 409.8 MB, free: 25.32 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.406e-06/0.211, allocations: 29.7 kB / 409.8 MB, free: 25.28 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.566e-05/0.211, allocations: 88.12 kB / 409.9 MB, free: 25.19 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.023e-05/0.211, allocations: 0 / 409.9 MB, free: 25.19 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.777e-06/0.211, allocations: 8 kB / 409.9 MB, free: 25.18 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.5e-05/0.2111, allocations: 318.8 kB / 410.2 MB, free: 24.86 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.533e-05/0.2111, allocations: 8 kB / 410.2 MB, free: 24.86 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.963e-05/0.2111, allocations: 54.86 kB / 410.3 MB, free: 24.78 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.819e-05/0.2112, allocations: 23.94 kB / 410.3 MB, free: 24.75 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.2112, allocations: 0 / 410.3 MB, free: 24.75 MB / 298.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 9.637e-05/0.2113, allocations: 85.47 kB / 410.4 MB, free: 24.66 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.2113, allocations: 7.953 kB / 410.4 MB, free: 24.66 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.2113, allocations: 8.25 kB / 410.4 MB, free: 24.65 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.2113, allocations: 7.938 kB / 410.4 MB, free: 24.64 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.492e-05/0.2114, allocations: 19.92 kB / 410.4 MB, free: 24.62 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.2114, allocations: 0 / 410.4 MB, free: 24.62 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.148e-05/0.2115, allocations: 7.938 kB / 410.5 MB, free: 24.61 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.2115, allocations: 8 kB / 410.5 MB, free: 24.61 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 5.928e-05/0.2115, allocations: 121.8 kB / 410.6 MB, free: 24.48 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.43e-05/0.2116, allocations: 69.55 kB / 410.7 MB, free: 24.4 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.842e-05/0.2116, allocations: 20.66 kB / 410.7 MB, free: 24.38 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.2116, allocations: 4 kB / 410.7 MB, free: 24.38 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.2116, allocations: 0 / 410.7 MB, free: 24.38 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.2117, allocations: 0 / 410.7 MB, free: 24.38 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.037e-05/0.2117, allocations: 169.6 kB / 410.8 MB, free: 24.16 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.2117, allocations: 4.188 kB / 410.8 MB, free: 24.16 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.21e-05/0.2118, allocations: 15.98 kB / 410.9 MB, free: 24.14 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.2118, allocations: 3.938 kB / 410.9 MB, free: 24.14 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.2118, allocations: 8 kB / 410.9 MB, free: 24.13 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.2118, allocations: 3.953 kB / 410.9 MB, free: 24.12 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.2118, allocations: 0 / 410.9 MB, free: 24.12 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.265e-05/0.2119, allocations: 105 kB / 411 MB, free: 24 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.809e-05/0.212, allocations: 96.94 kB / 411.1 MB, free: 23.89 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.396e-05/0.212, allocations: 0 / 411.1 MB, free: 23.89 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.96e-05/0.212, allocations: 8 kB / 411.1 MB, free: 23.88 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.827e-06/0.212, allocations: 7.938 kB / 411.1 MB, free: 23.88 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.967e-06/0.212, allocations: 3.984 kB / 411.1 MB, free: 23.87 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.431e-05/0.2121, allocations: 103.3 kB / 411.2 MB, free: 23.77 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2121, allocations: 0 / 411.2 MB, free: 23.77 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001823/0.2123, allocations: 12 kB / 411.2 MB, free: 23.76 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.886e-05/0.2123, allocations: 91.25 kB / 411.3 MB, free: 23.66 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.954e-05/0.2124, allocations: 47.86 kB / 411.3 MB, free: 23.61 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.2125, allocations: 0 / 411.3 MB, free: 23.61 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.4e-07/0.2125, allocations: 0 / 411.3 MB, free: 23.61 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002889/0.2128, allocations: 38.67 kB / 411.4 MB, free: 23.58 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002466/0.213, allocations: 213.5 kB / 411.6 MB, free: 23.33 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000109/0.2131, allocations: 0.6965 MB / 412.3 MB, free: 22.61 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.383e-05/0.2132, allocations: 11.44 kB / 412.3 MB, free: 22.6 MB / 298.7 MB Notification: Performance of SimCode: time 2.4e-07/0.2132, allocations: 0 / 412.3 MB, free: 22.6 MB / 298.7 MB Notification: Performance of Templates: time 0.001655/0.2148, allocations: 0.799 MB / 413.1 MB, free: 21.8 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