Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_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_cpp_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_cpp_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.00158/0.00158, allocations: 186.2 kB / 16.44 MB, free: 5.691 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.958/1.958, allocations: 205.4 MB / 222.6 MB, free: 9.133 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.001116/0.001116, allocations: 96.84 kB / 270.9 MB, free: 8.371 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.1002/0.1002, allocations: 12.59 MB / 331.8 MB, free: 11.39 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007461/0.0007461, allocations: 15.98 kB / 392 MB, free: 66.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08774/0.08853, allocations: 50.38 MB / 442.3 MB, free: 16.48 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.426/0.5146, allocations: 78.34 MB / 0.5085 GB, free: 12.72 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002846/0.515, allocations: 74.31 kB / 0.5086 GB, free: 12.72 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007776/0.5228, allocations: 1.985 MB / 0.5105 GB, free: 12.1 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.374e-06/0.5228, allocations: 0 / 0.5105 GB, free: 12.1 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.357e-05/0.5228, allocations: 7.75 kB / 0.5105 GB, free: 12.1 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.0004394/0.5233, allocations: 373.9 kB / 0.5109 GB, free: 11.71 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.5234, allocations: 15.66 kB / 0.5109 GB, free: 11.71 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.165e-05/0.5234, allocations: 7.562 kB / 0.5109 GB, free: 11.71 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001853/0.5236, allocations: 193.7 kB / 0.5111 GB, free: 11.49 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.197e-06/0.5236, allocations: 3.688 kB / 0.5111 GB, free: 11.49 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.59e-05/0.5236, allocations: 0 / 0.5111 GB, free: 11.49 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000316/0.524, allocations: 109.6 kB / 0.5112 GB, free: 11.41 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.524, allocations: 0 / 0.5112 GB, free: 11.41 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.524, allocations: 0 / 0.5112 GB, free: 11.41 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.524, allocations: 3.875 kB / 0.5112 GB, free: 11.41 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001193/0.5242, allocations: 19.23 kB / 0.5112 GB, free: 11.4 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000371/0.5245, allocations: 275.7 kB / 0.5115 GB, free: 11.11 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.941e-05/0.5247, allocations: 40.41 kB / 0.5115 GB, free: 11.06 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.429e-05/0.5247, allocations: 3.984 kB / 0.5115 GB, free: 11.06 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.968e-05/0.5247, allocations: 42.47 kB / 0.5115 GB, free: 11.01 MB / 330.7 MB Notification: Performance of pre-optimization done (n=2): time 1.693e-06/0.5247, allocations: 0 / 0.5115 GB, free: 11.01 MB / 330.7 MB Notification: Performance of matching and sorting (n=2): time 0.0003124/0.5251, allocations: 71.73 kB / 0.5116 GB, free: 10.97 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.141e-05/0.5251, allocations: 81.05 kB / 0.5117 GB, free: 10.87 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001205/0.5252, allocations: 125.9 kB / 0.5118 GB, free: 10.77 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.055e-05/0.5253, allocations: 29.7 kB / 0.5118 GB, free: 10.73 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.16e-05/0.5253, allocations: 162.4 kB / 0.512 GB, free: 10.58 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.647e-05/0.5253, allocations: 3.906 kB / 0.512 GB, free: 10.57 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.039e-06/0.5254, allocations: 3.875 kB / 0.512 GB, free: 10.57 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.837e-05/0.5254, allocations: 321.9 kB / 0.5123 GB, free: 10.25 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.104e-05/0.5255, allocations: 7.859 kB / 0.5123 GB, free: 10.25 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.269e-05/0.5256, allocations: 25.31 kB / 0.5123 GB, free: 10.23 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.695e-05/0.5257, allocations: 11.64 kB / 0.5123 GB, free: 10.23 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.5257, allocations: 3.875 kB / 0.5124 GB, free: 10.23 MB / 330.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001687/0.5259, allocations: 53.47 kB / 0.5124 GB, free: 10.19 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.5259, allocations: 7.906 kB / 0.5124 GB, free: 10.19 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.5259, allocations: 4 kB / 0.5124 GB, free: 10.18 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.5259, allocations: 0 / 0.5124 GB, free: 10.18 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.57e-05/0.526, allocations: 11.7 kB / 0.5124 GB, free: 10.18 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.526, allocations: 0 / 0.5124 GB, free: 10.18 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.062e-05/0.5261, allocations: 7.812 kB / 0.5124 GB, free: 10.18 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.326e-06/0.5261, allocations: 0 / 0.5124 GB, free: 10.18 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 () * Number of clocked 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 7.879e-05/0.5262, allocations: 121 kB / 0.5125 GB, free: 10.05 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.115e-05/0.5263, allocations: 49.03 kB / 0.5126 GB, free: 10.01 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.591e-05/0.5264, allocations: 10.5 kB / 0.5126 GB, free: 10 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.5264, allocations: 0 / 0.5126 GB, free: 10 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.5264, allocations: 0 / 0.5126 GB, free: 10 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.5264, allocations: 3.938 kB / 0.5126 GB, free: 10 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001678/0.5266, allocations: 176 kB / 0.5128 GB, free: 9.801 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.5266, allocations: 0 / 0.5128 GB, free: 9.801 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.945e-05/0.5267, allocations: 11.81 kB / 0.5128 GB, free: 9.793 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.5267, allocations: 3.812 kB / 0.5128 GB, free: 9.793 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.5267, allocations: 0 / 0.5128 GB, free: 9.793 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.5267, allocations: 0 / 0.5128 GB, free: 9.793 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.5267, allocations: 4.031 kB / 0.5128 GB, free: 9.789 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002085/0.5269, allocations: 181.3 kB / 0.513 GB, free: 9.621 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.736e-05/0.527, allocations: 84.89 kB / 0.5131 GB, free: 9.523 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.176e-05/0.527, allocations: 8.016 kB / 0.5131 GB, free: 9.516 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.306e-05/0.5271, allocations: 3.688 kB / 0.5131 GB, free: 9.516 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.723e-05/0.5272, allocations: 3.469 kB / 0.5131 GB, free: 9.516 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.673e-06/0.5272, allocations: 0 / 0.5131 GB, free: 9.516 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.808e-05/0.5273, allocations: 109.2 kB / 0.5132 GB, free: 9.434 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.5273, allocations: 0 / 0.5132 GB, free: 9.434 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000284/0.5276, allocations: 7.5 kB / 0.5132 GB, free: 9.434 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 () * Number of clocked 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 8.439e-05/0.5277, allocations: 94.89 kB / 0.5133 GB, free: 9.344 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002045/0.5279, allocations: 30.11 kB / 0.5133 GB, free: 9.332 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.5279, allocations: 3.938 kB / 0.5133 GB, free: 9.328 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.403e-05/0.528, allocations: 11.64 kB / 0.5133 GB, free: 9.324 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003037/0.5283, allocations: 13.27 kB / 0.5133 GB, free: 9.324 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003843/0.5287, allocations: 212.9 kB / 0.5135 GB, free: 9.117 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001485/0.5289, allocations: 0.6929 MB / 0.5142 GB, free: 8.414 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.249e-05/0.5289, allocations: 7.438 kB / 0.5142 GB, free: 8.41 MB / 330.7 MB Notification: Performance of SimCode: time 8.11e-07/0.5289, allocations: 0 / 0.5142 GB, free: 8.41 MB / 330.7 MB Notification: Performance of Templates: time 0.002332/0.5313, allocations: 0.7205 MB / 0.5149 GB, free: 8.051 MB / 330.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample --alarm=480 -emit_protected > Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.mat","../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches