Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.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.RealSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007015/0.0007016, allocations: 94.02 kB / 17.31 MB, free: 6.535 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.0007579/0.0007579, allocations: 180.1 kB / 18.21 MB, free: 5.684 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.261/1.261, allocations: 223.3 MB / 242.3 MB, free: 208 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002355/0.0002355, allocations: 7.938 kB / 302.1 MB, free: 6.125 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07114/0.07139, allocations: 50.41 MB / 352.5 MB, free: 3.707 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.001017/0.07242, allocations: 0.6687 MB / 353.2 MB, free: 3.035 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002656/0.0727, allocations: 119.6 kB / 353.3 MB, free: 2.918 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.577e-05/0.07278, allocations: 3.938 kB / 353.3 MB, free: 2.914 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.401e-05/0.07281, allocations: 0 / 353.3 MB, free: 2.914 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001004/0.07292, allocations: 15.91 kB / 353.3 MB, free: 2.898 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001903/0.07312, allocations: 27.17 kB / 353.3 MB, free: 2.875 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 7.327e-05/0.0732, allocations: 39.86 kB / 353.4 MB, free: 2.836 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.951e-05/0.07331, allocations: 28.16 kB / 353.4 MB, free: 2.805 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.264e-05/0.07334, allocations: 11.94 kB / 353.4 MB, free: 2.793 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.763e-05/0.07338, allocations: 15.86 kB / 353.4 MB, free: 2.777 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.515e-05/0.0734, allocations: 0 / 353.4 MB, free: 2.777 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.717e-06/0.07342, allocations: 0 / 353.4 MB, free: 2.777 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.369e-05/0.07347, allocations: 15.94 kB / 353.4 MB, free: 2.762 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.342e-05/0.07352, allocations: 53.5 kB / 353.5 MB, free: 2.703 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 6.361e-05/0.07358, allocations: 35.92 kB / 353.5 MB, free: 2.668 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.794e-06/0.07359, allocations: 0 / 353.5 MB, free: 2.668 MB / 286.1 MB Notification: Performance of FrontEnd: time 6.92e-07/0.0736, allocations: 0 / 353.5 MB, free: 2.668 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.565e-06/0.0736, allocations: 0 / 353.5 MB, free: 2.668 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.0003242/0.07393, allocations: 372.5 kB / 353.9 MB, free: 2.258 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.184e-05/0.07397, allocations: 12.03 kB / 353.9 MB, free: 2.246 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.769e-05/0.074, allocations: 8.844 kB / 353.9 MB, free: 2.238 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001486/0.07416, allocations: 184.2 kB / 354.1 MB, free: 2.02 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.07418, allocations: 8.375 kB / 354.1 MB, free: 2.012 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.202e-05/0.07419, allocations: 8.297 kB / 354.1 MB, free: 2.004 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002365/0.07444, allocations: 131.8 kB / 354.2 MB, free: 1.863 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/0.07445, allocations: 3.938 kB / 354.2 MB, free: 1.859 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.734e-06/0.07447, allocations: 0 / 354.2 MB, free: 1.859 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.07447, allocations: 0 / 354.2 MB, free: 1.859 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.107e-05/0.07452, allocations: 19.98 kB / 354.3 MB, free: 1.84 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001246/0.07465, allocations: 181.4 kB / 354.4 MB, free: 1.613 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001241/0.07478, allocations: 70.7 kB / 354.5 MB, free: 1.535 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.56e-05/0.07485, allocations: 36.89 kB / 354.5 MB, free: 1.496 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.697e-06/0.07486, allocations: 0 / 354.5 MB, free: 1.496 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.93e-05/0.07489, allocations: 34.56 kB / 354.6 MB, free: 1.453 MB / 286.1 MB Notification: Performance of pre-optimization done (n=8): time 9.12e-07/0.07489, allocations: 0 / 354.6 MB, free: 1.453 MB / 286.1 MB Notification: Performance of matching and sorting (n=8): time 0.0001713/0.07507, allocations: 89.47 kB / 354.7 MB, free: 1.359 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.145e-05/0.07512, allocations: 59.41 kB / 354.7 MB, free: 1.289 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000106/0.07523, allocations: 144.3 kB / 354.9 MB, free: 1.141 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.036e-05/0.07525, allocations: 29.7 kB / 354.9 MB, free: 1.105 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.278e-05/0.07529, allocations: 84.14 kB / 355 MB, free: 1.02 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.272e-05/0.07531, allocations: 4 kB / 355 MB, free: 1.016 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.353e-05/0.07533, allocations: 13.72 kB / 355 MB, free: 0.9961 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 8.744e-05/0.07543, allocations: 326.8 kB / 355.3 MB, free: 0.668 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.764e-05/0.07545, allocations: 4 kB / 355.3 MB, free: 0.6641 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.645e-05/0.0755, allocations: 70.73 kB / 355.4 MB, free: 0.5703 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.771e-05/0.07558, allocations: 70.81 kB / 355.4 MB, free: 488 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.07559, allocations: 0 / 355.4 MB, free: 488 kB / 286.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001228/0.07571, allocations: 89.39 kB / 355.5 MB, free: 392 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.07574, allocations: 11.94 kB / 355.5 MB, free: 380 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/0.07574, allocations: 256 / 355.5 MB, free: 380 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.07576, allocations: 8 kB / 355.5 MB, free: 372 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.591e-05/0.07583, allocations: 15.94 kB / 355.6 MB, free: 356 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.07585, allocations: 7.984 kB / 355.6 MB, free: 348 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.361e-05/0.07589, allocations: 4 kB / 355.6 MB, free: 344 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.753e-06/0.0759, allocations: 4 kB / 355.6 MB, free: 340 kB / 286.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: 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.332e-05/0.07598, allocations: 117.8 kB / 355.7 MB, free: 212 kB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.957e-05/0.07607, allocations: 81.61 kB / 355.8 MB, free: 124 kB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.956e-05/0.07611, allocations: 12.72 kB / 355.8 MB, free: 108 kB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.07612, allocations: 0 / 355.8 MB, free: 108 kB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.015e-06/0.07613, allocations: 4 kB / 355.8 MB, free: 104 kB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.07613, allocations: 0 / 355.8 MB, free: 104 kB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001056/0.07624, allocations: 185.5 kB / 356 MB, free: 15.87 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.07625, allocations: 0 / 356 MB, free: 15.87 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.585e-05/0.07631, allocations: 12 kB / 356 MB, free: 15.86 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.286e-06/0.07633, allocations: 11.92 kB / 356 MB, free: 15.85 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.701e-06/0.07634, allocations: 0 / 356 MB, free: 15.85 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.07634, allocations: 0 / 356 MB, free: 15.85 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.07635, allocations: 0 / 356 MB, free: 15.85 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001157/0.07647, allocations: 105 kB / 356.1 MB, free: 15.73 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.109e-05/0.07653, allocations: 92.94 kB / 356.2 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.786e-05/0.07655, allocations: 8 kB / 356.2 MB, free: 15.61 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.835e-05/0.07658, allocations: 0 / 356.2 MB, free: 15.61 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.054e-06/0.07658, allocations: 0 / 356.2 MB, free: 15.61 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.556e-06/0.07659, allocations: 0 / 356.2 MB, free: 15.61 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.394e-05/0.07666, allocations: 107.2 kB / 356.3 MB, free: 15.5 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.07667, allocations: 0 / 356.3 MB, free: 15.5 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000208/0.07688, allocations: 8 kB / 356.3 MB, free: 15.5 MB / 302.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: 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 6.832e-05/0.07695, allocations: 107.2 kB / 356.4 MB, free: 15.38 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 9.452e-05/0.07705, allocations: 40.11 kB / 356.5 MB, free: 15.34 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/0.07707, allocations: 4 kB / 356.5 MB, free: 15.34 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.643e-06/0.07708, allocations: 7.875 kB / 356.5 MB, free: 15.33 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002874/0.07737, allocations: 39.95 kB / 356.5 MB, free: 15.29 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002817/0.07766, allocations: 218.3 kB / 356.7 MB, free: 15.04 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002032/0.07788, allocations: 0.6965 MB / 357.4 MB, free: 14.32 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.209e-05/0.07791, allocations: 15.42 kB / 357.4 MB, free: 14.3 MB / 302.1 MB Notification: Performance of SimCode: time 3.41e-07/0.07791, allocations: 0 / 357.4 MB, free: 14.3 MB / 302.1 MB Notification: Performance of Templates: time 0.001926/0.07984, allocations: 0.7858 MB / 358.2 MB, free: 13.52 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/AssignClock/AssignClock.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches