Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y|unitDelay1.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y|unitDelay1.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009321/0.000932, allocations: 173.5 kB / 16.8 MB, free: 5.008 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.281/1.281, allocations: 205.4 MB / 223 MB, free: 8.934 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007771/0.0007772, allocations: 90.28 kB / 271.3 MB, free: 8.227 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06859/0.06859, allocations: 12.59 MB / 332.2 MB, free: 11.23 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003824/0.0003825, allocations: 16 kB / 393.3 MB, free: 65.85 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08243/0.08283, allocations: 50.37 MB / 443.7 MB, free: 15.42 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock): time 0.001121/0.08401, allocations: 0.6705 MB / 444.4 MB, free: 14.75 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002836/0.0843, allocations: 107.7 kB / 444.5 MB, free: 14.64 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.626e-05/0.08439, allocations: 7.938 kB / 444.5 MB, free: 14.64 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.118e-05/0.08443, allocations: 3.984 kB / 444.5 MB, free: 14.63 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001194/0.08456, allocations: 3.938 kB / 444.5 MB, free: 14.63 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002243/0.08479, allocations: 39.91 kB / 444.5 MB, free: 14.59 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.829e-05/0.08488, allocations: 35.86 kB / 444.6 MB, free: 14.55 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.08499, allocations: 20.17 kB / 444.6 MB, free: 14.53 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.604e-05/0.08502, allocations: 7.938 kB / 444.6 MB, free: 14.52 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.969e-05/0.08507, allocations: 19.86 kB / 444.6 MB, free: 14.5 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.001e-05/0.08509, allocations: 7.984 kB / 444.6 MB, free: 14.5 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.095e-05/0.08511, allocations: 0 / 444.6 MB, free: 14.5 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.751e-05/0.08516, allocations: 11.94 kB / 444.6 MB, free: 14.48 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.663e-05/0.08522, allocations: 57.5 kB / 444.7 MB, free: 14.42 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 6.844e-05/0.08529, allocations: 27.94 kB / 444.7 MB, free: 14.39 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.0853, allocations: 4 kB / 444.7 MB, free: 14.39 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.08531, allocations: 0 / 444.7 MB, free: 14.39 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.007e-06/0.08532, allocations: 0 / 444.7 MB, free: 14.39 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.0003431/0.08567, allocations: 367.5 kB / 445.1 MB, free: 13.98 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.08571, allocations: 8.031 kB / 445.1 MB, free: 13.98 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.168e-05/0.08575, allocations: 8.844 kB / 445.1 MB, free: 13.97 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000156/0.08591, allocations: 212.6 kB / 445.3 MB, free: 13.72 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.656e-06/0.08593, allocations: 384 / 445.3 MB, free: 13.72 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.35e-05/0.08595, allocations: 4.375 kB / 445.3 MB, free: 13.72 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002412/0.0862, allocations: 127.8 kB / 445.4 MB, free: 13.58 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.08622, allocations: 3.938 kB / 445.4 MB, free: 13.58 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.08624, allocations: 4 kB / 445.4 MB, free: 13.57 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.08625, allocations: 4 kB / 445.4 MB, free: 13.57 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.182e-05/0.08629, allocations: 19.94 kB / 445.5 MB, free: 13.55 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001238/0.08643, allocations: 169.6 kB / 445.6 MB, free: 13.34 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000113/0.08655, allocations: 62.72 kB / 445.7 MB, free: 13.27 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.275e-05/0.08661, allocations: 36.89 kB / 445.7 MB, free: 13.23 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.212e-05/0.08663, allocations: 0 / 445.7 MB, free: 13.23 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.883e-05/0.08665, allocations: 42.5 kB / 445.8 MB, free: 13.18 MB / 298.7 MB Notification: Performance of pre-optimization done (n=8): time 8.62e-07/0.08666, allocations: 0 / 445.8 MB, free: 13.18 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001689/0.08683, allocations: 93.67 kB / 445.9 MB, free: 13.08 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.512e-05/0.08689, allocations: 55.41 kB / 445.9 MB, free: 13.01 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.634e-05/0.08698, allocations: 131.7 kB / 446 MB, free: 12.88 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.983e-06/0.08699, allocations: 29.64 kB / 446.1 MB, free: 12.84 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.233e-05/0.08702, allocations: 92.12 kB / 446.2 MB, free: 12.75 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.431e-05/0.08704, allocations: 7.906 kB / 446.2 MB, free: 12.74 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.855e-06/0.08705, allocations: 4 kB / 446.2 MB, free: 12.73 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.777e-05/0.08714, allocations: 318.8 kB / 446.5 MB, free: 12.41 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.709e-05/0.08716, allocations: 7.984 kB / 446.5 MB, free: 12.41 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.21e-05/0.0872, allocations: 58.81 kB / 446.5 MB, free: 12.32 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.809e-05/0.08726, allocations: 78.73 kB / 446.6 MB, free: 12.22 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.08727, allocations: 0 / 446.6 MB, free: 12.22 MB / 298.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001064/0.08738, allocations: 81.56 kB / 446.7 MB, free: 12.14 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.0874, allocations: 11.94 kB / 446.7 MB, free: 12.12 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.08741, allocations: 0 / 446.7 MB, free: 12.12 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.08743, allocations: 4 kB / 446.7 MB, free: 12.12 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.774e-05/0.08751, allocations: 19.92 kB / 446.7 MB, free: 12.1 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.08752, allocations: 4 kB / 446.7 MB, free: 12.1 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.562e-05/0.08756, allocations: 7.906 kB / 446.7 MB, free: 12.09 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.08757, allocations: 8.25 kB / 446.8 MB, free: 12.08 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.563e-05/0.08764, allocations: 126.6 kB / 446.9 MB, free: 11.95 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.161e-05/0.08772, allocations: 73.48 kB / 447 MB, free: 11.87 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.277e-05/0.08776, allocations: 16.7 kB / 447 MB, free: 11.86 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.08777, allocations: 0 / 447 MB, free: 11.86 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.08778, allocations: 0 / 447 MB, free: 11.86 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.08779, allocations: 4.188 kB / 447 MB, free: 11.85 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.425e-05/0.08786, allocations: 169.7 kB / 447.1 MB, free: 11.64 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.08787, allocations: 7.922 kB / 447.1 MB, free: 11.63 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.314e-05/0.08793, allocations: 20 kB / 447.2 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.08793, allocations: 3.938 kB / 447.2 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.723e-06/0.08795, allocations: 0 / 447.2 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.08795, allocations: 0 / 447.2 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.08796, allocations: 0 / 447.2 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.442e-05/0.08806, allocations: 105.3 kB / 447.3 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.948e-05/0.0881, allocations: 92.94 kB / 447.4 MB, free: 11.38 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.647e-05/0.08813, allocations: 8 kB / 447.4 MB, free: 11.37 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.063e-05/0.08815, allocations: 7.984 kB / 447.4 MB, free: 11.36 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.645e-06/0.08816, allocations: 0 / 447.4 MB, free: 11.36 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.971e-06/0.08817, allocations: 0 / 447.4 MB, free: 11.36 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.475e-05/0.08822, allocations: 109.9 kB / 447.5 MB, free: 11.25 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.08823, allocations: 0 / 447.5 MB, free: 11.25 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001949/0.08843, allocations: 8 kB / 447.5 MB, free: 11.25 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 (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.347e-05/0.08852, allocations: 95.25 kB / 447.6 MB, free: 11.14 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.996e-05/0.08862, allocations: 52.38 kB / 447.6 MB, free: 11.09 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.08863, allocations: 0 / 447.6 MB, free: 11.09 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.11e-07/0.08864, allocations: 0 / 447.6 MB, free: 11.09 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000316/0.08896, allocations: 40 kB / 447.7 MB, free: 11.05 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002748/0.08925, allocations: 213.1 kB / 447.9 MB, free: 10.8 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001236/0.08938, allocations: 0.7043 MB / 448.6 MB, free: 10.07 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.32e-05/0.08941, allocations: 11.44 kB / 448.6 MB, free: 10.07 MB / 298.7 MB Notification: Performance of SimCode: time 3.6e-07/0.08942, allocations: 0 / 448.6 MB, free: 10.07 MB / 298.7 MB Notification: Performance of Templates: time 0.001946/0.09137, allocations: 0.7888 MB / 449.4 MB, free: 9.277 MB / 298.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches