Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.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.ClockSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|Time|sample1.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample") translateModel(Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|Time|sample1.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001191/0.001191, allocations: 182.1 kB / 13.23 MB, free: 2.086 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.576/1.576, allocations: 205.2 MB / 219 MB, free: 9.141 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.0008257/0.0008258, allocations: 98.05 kB / 267.1 MB, free: 9.266 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.08561/0.08561, allocations: 12.58 MB / 327.8 MB, free: 12.48 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.247e-05/3.25e-05, allocations: 0 / 386 MB, free: 69.62 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1115, allocations: 50.38 MB / 436.4 MB, free: 19.23 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3985/0.5101, allocations: 78.25 MB / 0.5026 GB, free: 11.92 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000232/0.5103, allocations: 80.08 kB / 0.5026 GB, free: 11.91 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004811/0.5152, allocations: 1.98 MB / 0.5046 GB, free: 11.49 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.5152, allocations: 4 kB / 0.5046 GB, free: 11.49 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.678e-06/0.5152, allocations: 0 / 0.5046 GB, free: 11.49 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0002702/0.5155, allocations: 350.8 kB / 0.5049 GB, free: 11.14 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.5155, allocations: 7.688 kB / 0.5049 GB, free: 11.14 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.989e-05/0.5156, allocations: 7.812 kB / 0.5049 GB, free: 11.13 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000167/0.5157, allocations: 196.5 kB / 0.5051 GB, free: 10.92 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.878e-06/0.5158, allocations: 0 / 0.5051 GB, free: 10.92 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.416e-05/0.5158, allocations: 7.438 kB / 0.5051 GB, free: 10.92 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002041/0.516, allocations: 101.6 kB / 0.5052 GB, free: 10.85 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.516, allocations: 0 / 0.5052 GB, free: 10.85 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.368e-06/0.516, allocations: 0 / 0.5052 GB, free: 10.85 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.516, allocations: 0 / 0.5052 GB, free: 10.85 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.376e-05/0.5161, allocations: 10.5 kB / 0.5052 GB, free: 10.85 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000302/0.5164, allocations: 278.6 kB / 0.5055 GB, free: 10.57 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.817e-05/0.5164, allocations: 40.97 kB / 0.5055 GB, free: 10.52 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.222e-05/0.5165, allocations: 15.72 kB / 0.5055 GB, free: 10.5 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.796e-05/0.5165, allocations: 11.81 kB / 0.5056 GB, free: 10.49 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.439e-05/0.5165, allocations: 34.56 kB / 0.5056 GB, free: 10.45 MB / 330.7 MB Notification: Performance of pre-optimization done (n=2): time 1.663e-06/0.5165, allocations: 0 / 0.5056 GB, free: 10.45 MB / 330.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001382/0.5167, allocations: 42.95 kB / 0.5056 GB, free: 10.42 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.176e-05/0.5167, allocations: 84.17 kB / 0.5057 GB, free: 10.32 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.042e-05/0.5168, allocations: 129.5 kB / 0.5058 GB, free: 10.22 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.016e-05/0.5168, allocations: 28.38 kB / 0.5059 GB, free: 10.19 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.911e-05/0.5168, allocations: 99.45 kB / 0.506 GB, free: 10.1 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.082e-05/0.5169, allocations: 0 / 0.506 GB, free: 10.1 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-06/0.5169, allocations: 3.438 kB / 0.506 GB, free: 10.1 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.376e-05/0.5169, allocations: 321.1 kB / 0.5063 GB, free: 9.781 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.293e-05/0.517, allocations: 3.438 kB / 0.5063 GB, free: 9.781 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.522e-05/0.517, allocations: 13.56 kB / 0.5063 GB, free: 9.766 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.821e-05/0.517, allocations: 11.97 kB / 0.5063 GB, free: 9.758 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.517, allocations: 0 / 0.5063 GB, free: 9.758 MB / 330.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.134e-05/0.5171, allocations: 51.38 kB / 0.5063 GB, free: 9.719 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.5171, allocations: 6.422 kB / 0.5063 GB, free: 9.719 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.5171, allocations: 0 / 0.5063 GB, free: 9.719 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.5171, allocations: 3.844 kB / 0.5064 GB, free: 9.719 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.057e-05/0.5172, allocations: 3.844 kB / 0.5064 GB, free: 9.719 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.5172, allocations: 2.625 kB / 0.5064 GB, free: 9.719 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.782e-05/0.5172, allocations: 15.09 kB / 0.5064 GB, free: 9.711 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.5173, allocations: 0.625 kB / 0.5064 GB, free: 9.711 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 4.217e-05/0.5173, allocations: 112.6 kB / 0.5065 GB, free: 9.598 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.542e-05/0.5174, allocations: 40.19 kB / 0.5065 GB, free: 9.562 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.209e-05/0.5174, allocations: 11.14 kB / 0.5065 GB, free: 9.559 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.5174, allocations: 3.875 kB / 0.5065 GB, free: 9.559 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.5174, allocations: 0 / 0.5065 GB, free: 9.559 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.5174, allocations: 0 / 0.5065 GB, free: 9.559 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001185/0.5175, allocations: 171.8 kB / 0.5067 GB, free: 9.363 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.5176, allocations: 10.53 kB / 0.5067 GB, free: 9.359 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.968e-05/0.5176, allocations: 3.875 kB / 0.5067 GB, free: 9.359 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.5176, allocations: 0 / 0.5067 GB, free: 9.359 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.5176, allocations: 1.875 kB / 0.5067 GB, free: 9.359 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.552e-06/0.5176, allocations: 3.844 kB / 0.5067 GB, free: 9.359 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.5176, allocations: 0 / 0.5067 GB, free: 9.359 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.856e-05/0.5177, allocations: 163.5 kB / 0.5069 GB, free: 9.195 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.062e-05/0.5178, allocations: 93.3 kB / 0.507 GB, free: 9.098 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.36e-05/0.5178, allocations: 3.844 kB / 0.507 GB, free: 9.098 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.221e-05/0.5179, allocations: 3.844 kB / 0.507 GB, free: 9.098 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.112e-05/0.5179, allocations: 2.953 kB / 0.507 GB, free: 9.098 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-06/0.5179, allocations: 0 / 0.507 GB, free: 9.098 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.943e-05/0.518, allocations: 108.2 kB / 0.5071 GB, free: 9.023 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.518, allocations: 0 / 0.5071 GB, free: 9.023 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001903/0.5182, allocations: 7.734 kB / 0.5071 GB, free: 9.02 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.055e-05/0.5182, allocations: 94.97 kB / 0.5072 GB, free: 8.926 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 6.749e-05/0.5183, allocations: 17.97 kB / 0.5072 GB, free: 8.922 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.5183, allocations: 3.938 kB / 0.5072 GB, free: 8.918 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.429e-05/0.5183, allocations: 3.969 kB / 0.5072 GB, free: 8.918 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002157/0.5186, allocations: 19.66 kB / 0.5072 GB, free: 8.914 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002139/0.5188, allocations: 97.06 kB / 0.5073 GB, free: 8.824 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001419/0.5189, allocations: 0.6906 MB / 0.508 GB, free: 8.129 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.465e-05/0.519, allocations: 7.844 kB / 0.508 GB, free: 8.125 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.14e-05/0.519, allocations: 7.438 kB / 0.508 GB, free: 8.121 MB / 330.7 MB Notification: Performance of SimCode: time 3.9e-07/0.519, allocations: 0 / 0.508 GB, free: 8.121 MB / 330.7 MB Notification: Performance of Templates: time 0.002337/0.5214, allocations: 492.6 kB / 0.5085 GB, free: 8.047 MB / 330.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches