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.001318/0.001318, allocations: 171.9 kB / 16.8 MB, free: 5.027 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.609/1.609, allocations: 205.4 MB / 223 MB, free: 9.023 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.0007987/0.0007988, allocations: 85.42 kB / 271.3 MB, free: 8.262 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.07506/0.07506, allocations: 12.6 MB / 332.2 MB, free: 11.27 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00041/0.0004101, allocations: 16 kB / 393.2 MB, free: 65.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09314/0.09356, allocations: 50.38 MB / 443.6 MB, free: 15.52 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3239/0.4175, allocations: 77.77 MB / 0.5092 GB, free: 13.47 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002147/0.4177, allocations: 84.12 kB / 0.5092 GB, free: 13.46 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002701/0.4205, allocations: 1.238 MB / 0.5104 GB, free: 13.02 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.055e-06/0.4205, allocations: 0 / 0.5104 GB, free: 13.02 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.025e-06/0.4205, allocations: 0 / 0.5104 GB, free: 13.02 MB / 330.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.0002672/0.4208, allocations: 371.7 kB / 0.5108 GB, free: 12.64 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.4208, allocations: 7.562 kB / 0.5108 GB, free: 12.64 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.068e-05/0.4208, allocations: 8.812 kB / 0.5108 GB, free: 12.63 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001328/0.421, allocations: 200.4 kB / 0.511 GB, free: 12.41 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.421, allocations: 4.125 kB / 0.511 GB, free: 12.41 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.545e-05/0.421, allocations: 6.719 kB / 0.511 GB, free: 12.41 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002219/0.4212, allocations: 118.7 kB / 0.5111 GB, free: 12.35 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.4213, allocations: 4.125 kB / 0.5111 GB, free: 12.34 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.819e-06/0.4213, allocations: 7.781 kB / 0.5111 GB, free: 12.34 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.4213, allocations: 4 kB / 0.5111 GB, free: 12.34 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.542e-05/0.4213, allocations: 22.17 kB / 0.5112 GB, free: 12.33 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001281/0.4215, allocations: 167.3 kB / 0.5113 GB, free: 12.13 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001015/0.4216, allocations: 62.56 kB / 0.5114 GB, free: 12.11 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.879e-05/0.4216, allocations: 38.42 kB / 0.5114 GB, free: 12.09 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.186e-05/0.4217, allocations: 3.812 kB / 0.5114 GB, free: 12.09 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.34e-05/0.4217, allocations: 38.5 kB / 0.5115 GB, free: 12.05 MB / 330.7 MB Notification: Performance of pre-optimization done (n=8): time 1.122e-06/0.4217, allocations: 0 / 0.5115 GB, free: 12.05 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001566/0.4218, allocations: 85.31 kB / 0.5115 GB, free: 12 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.545e-05/0.4219, allocations: 58.44 kB / 0.5116 GB, free: 11.94 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.834e-05/0.422, allocations: 137.2 kB / 0.5117 GB, free: 11.83 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.136e-06/0.422, allocations: 29.52 kB / 0.5118 GB, free: 11.8 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.719e-05/0.422, allocations: 83.98 kB / 0.5118 GB, free: 11.72 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.172e-05/0.422, allocations: 7.875 kB / 0.5119 GB, free: 11.71 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.725e-06/0.422, allocations: 0 / 0.5119 GB, free: 11.71 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.669e-05/0.4221, allocations: 322.2 kB / 0.5122 GB, free: 11.4 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.59e-05/0.4221, allocations: 11.56 kB / 0.5122 GB, free: 11.39 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.091e-05/0.4222, allocations: 57.64 kB / 0.5122 GB, free: 11.32 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.223e-05/0.4222, allocations: 76.19 kB / 0.5123 GB, free: 11.25 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.4222, allocations: 4 kB / 0.5123 GB, free: 11.25 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 9.159e-05/0.4223, allocations: 87.14 kB / 0.5124 GB, free: 11.2 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.4223, allocations: 11.59 kB / 0.5124 GB, free: 11.19 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.4223, allocations: 0 / 0.5124 GB, free: 11.19 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.4224, allocations: 3.875 kB / 0.5124 GB, free: 11.19 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.299e-05/0.4224, allocations: 15.62 kB / 0.5124 GB, free: 11.19 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.4224, allocations: 3.844 kB / 0.5124 GB, free: 11.19 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.944e-05/0.4225, allocations: 12 kB / 0.5124 GB, free: 11.18 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/0.4225, allocations: 7.828 kB / 0.5124 GB, free: 11.18 MB / 330.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.018e-05/0.4226, allocations: 129.3 kB / 0.5126 GB, free: 11.05 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.702e-05/0.4226, allocations: 78.8 kB / 0.5126 GB, free: 11.01 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.227e-05/0.4227, allocations: 10.72 kB / 0.5126 GB, free: 11 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.4227, allocations: 3.812 kB / 0.5126 GB, free: 11 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.4227, allocations: 0 / 0.5126 GB, free: 11 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.4227, allocations: 0 / 0.5126 GB, free: 11 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.773e-05/0.4228, allocations: 174.5 kB / 0.5128 GB, free: 10.8 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.4228, allocations: 7.984 kB / 0.5128 GB, free: 10.79 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.536e-05/0.4228, allocations: 11.53 kB / 0.5128 GB, free: 10.79 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.4228, allocations: 3.938 kB / 0.5128 GB, free: 10.79 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.633e-06/0.4228, allocations: 3.844 kB / 0.5128 GB, free: 10.79 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.4229, allocations: 3.75 kB / 0.5128 GB, free: 10.79 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.4229, allocations: 0 / 0.5128 GB, free: 10.79 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.375e-05/0.423, allocations: 102.3 kB / 0.5129 GB, free: 10.71 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.094e-05/0.423, allocations: 92.06 kB / 0.513 GB, free: 10.61 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.716e-05/0.423, allocations: 11.75 kB / 0.513 GB, free: 10.6 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.631e-05/0.4231, allocations: 3.5 kB / 0.513 GB, free: 10.6 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.415e-06/0.4231, allocations: 0 / 0.513 GB, free: 10.6 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.247e-06/0.4231, allocations: 0 / 0.513 GB, free: 10.6 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.451e-05/0.4231, allocations: 103.3 kB / 0.5131 GB, free: 10.52 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4231, allocations: 0 / 0.5131 GB, free: 10.52 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001845/0.4233, allocations: 10.94 kB / 0.5132 GB, free: 10.52 MB / 330.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 6.542e-05/0.4234, allocations: 102.7 kB / 0.5133 GB, free: 10.43 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 9.263e-05/0.4235, allocations: 47.52 kB / 0.5133 GB, free: 10.41 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.4235, allocations: 0 / 0.5133 GB, free: 10.41 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.31e-07/0.4235, allocations: 0 / 0.5133 GB, free: 10.41 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002549/0.4238, allocations: 42.36 kB / 0.5133 GB, free: 10.4 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002278/0.424, allocations: 183.3 kB / 0.5135 GB, free: 10.25 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001044/0.4241, allocations: 0.699 MB / 0.5142 GB, free: 9.539 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.235e-05/0.4241, allocations: 3.906 kB / 0.5142 GB, free: 9.539 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.994e-05/0.4242, allocations: 19.17 kB / 0.5142 GB, free: 9.523 MB / 330.7 MB Notification: Performance of SimCode: time 7.61e-07/0.4242, allocations: 0 / 0.5142 GB, free: 9.523 MB / 330.7 MB Notification: Performance of Templates: time 0.002149/0.4263, allocations: 0.5457 MB / 0.5147 GB, free: 9.258 MB / 330.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