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.0009337/0.0009335, allocations: 172.2 kB / 16.8 MB, free: 4.996 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.421/1.421, allocations: 205.4 MB / 223 MB, free: 8.91 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.0007699/0.0007699, allocations: 80.8 kB / 271.3 MB, free: 8.238 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.06766/0.06766, allocations: 12.6 MB / 332.2 MB, free: 11.23 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006202/0.0006203, allocations: 12 kB / 393.2 MB, free: 65.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.11, allocations: 50.38 MB / 443.6 MB, free: 15.5 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3973/0.5074, allocations: 78.37 MB / 0.5097 GB, free: 13.54 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002419/0.5076, allocations: 81.89 kB / 0.5098 GB, free: 13.53 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006899/0.5146, allocations: 1.991 MB / 0.5118 GB, free: 12.72 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.5146, allocations: 0 / 0.5118 GB, free: 12.72 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.276e-05/0.5146, allocations: 3.969 kB / 0.5118 GB, free: 12.72 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.000401/0.515, allocations: 362.3 kB / 0.5121 GB, free: 12.34 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/0.5151, allocations: 15.47 kB / 0.5121 GB, free: 12.34 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.809e-05/0.5152, allocations: 8.688 kB / 0.5121 GB, free: 12.33 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002039/0.5154, allocations: 195.1 kB / 0.5123 GB, free: 12.11 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.5154, allocations: 7.812 kB / 0.5123 GB, free: 12.11 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.633e-05/0.5154, allocations: 384 / 0.5123 GB, free: 12.11 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003124/0.5158, allocations: 110 kB / 0.5124 GB, free: 12.04 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.5158, allocations: 4.125 kB / 0.5124 GB, free: 12.03 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.5158, allocations: 7.938 kB / 0.5124 GB, free: 12.02 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.5158, allocations: 0 / 0.5124 GB, free: 12.02 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001068/0.5159, allocations: 26.86 kB / 0.5125 GB, free: 12.02 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003983/0.5164, allocations: 260.3 kB / 0.5127 GB, free: 11.73 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.422e-05/0.5165, allocations: 55.84 kB / 0.5128 GB, free: 11.68 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.171e-05/0.5165, allocations: 21.42 kB / 0.5128 GB, free: 11.66 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.777e-05/0.5166, allocations: 0 / 0.5128 GB, free: 11.66 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.772e-05/0.5166, allocations: 38.44 kB / 0.5128 GB, free: 11.61 MB / 330.7 MB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.5166, allocations: 0 / 0.5128 GB, free: 11.61 MB / 330.7 MB Notification: Performance of matching and sorting (n=2): time 0.0003268/0.5169, allocations: 71.83 kB / 0.5129 GB, free: 11.57 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.128e-05/0.517, allocations: 80.95 kB / 0.513 GB, free: 11.47 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001283/0.5171, allocations: 143.5 kB / 0.5131 GB, free: 11.36 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.659e-06/0.5172, allocations: 29.95 kB / 0.5131 GB, free: 11.32 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.244e-05/0.5172, allocations: 95.8 kB / 0.5132 GB, free: 11.23 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.615e-05/0.5172, allocations: 0 / 0.5132 GB, free: 11.23 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.266e-06/0.5172, allocations: 3.938 kB / 0.5132 GB, free: 11.23 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.848e-05/0.5173, allocations: 318.5 kB / 0.5135 GB, free: 10.91 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.812e-05/0.5174, allocations: 7.688 kB / 0.5135 GB, free: 10.91 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.906e-05/0.5174, allocations: 30.42 kB / 0.5136 GB, free: 10.89 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.395e-05/0.5175, allocations: 32.58 kB / 0.5136 GB, free: 10.87 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.5175, allocations: 0 / 0.5136 GB, free: 10.87 MB / 330.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001546/0.5177, allocations: 67.75 kB / 0.5137 GB, free: 10.82 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.5177, allocations: 7.719 kB / 0.5137 GB, free: 10.82 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.5178, allocations: 0 / 0.5137 GB, free: 10.82 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.5178, allocations: 3.938 kB / 0.5137 GB, free: 10.81 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.374e-05/0.5179, allocations: 11.67 kB / 0.5137 GB, free: 10.81 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.5179, allocations: 0 / 0.5137 GB, free: 10.81 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.058e-05/0.5179, allocations: 3.812 kB / 0.5137 GB, free: 10.81 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.674e-06/0.518, allocations: 0 / 0.5137 GB, free: 10.81 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.494e-05/0.518, allocations: 121.2 kB / 0.5138 GB, free: 10.69 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.741e-05/0.5181, allocations: 49.41 kB / 0.5139 GB, free: 10.64 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.924e-05/0.5182, allocations: 10.91 kB / 0.5139 GB, free: 10.63 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.5182, allocations: 0 / 0.5139 GB, free: 10.63 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.5182, allocations: 0 / 0.5139 GB, free: 10.63 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.5182, allocations: 0 / 0.5139 GB, free: 10.63 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002036/0.5184, allocations: 172.9 kB / 0.514 GB, free: 10.43 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.5184, allocations: 0 / 0.514 GB, free: 10.43 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.41e-05/0.5185, allocations: 7.797 kB / 0.514 GB, free: 10.43 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.5185, allocations: 0 / 0.514 GB, free: 10.43 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.5185, allocations: 7.906 kB / 0.5141 GB, free: 10.43 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.5186, allocations: 0 / 0.5141 GB, free: 10.43 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.5186, allocations: 0 / 0.5141 GB, free: 10.43 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001917/0.5188, allocations: 165.9 kB / 0.5142 GB, free: 10.27 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.786e-05/0.5188, allocations: 88.56 kB / 0.5143 GB, free: 10.18 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.32e-05/0.5189, allocations: 8.016 kB / 0.5143 GB, free: 10.17 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001051/0.519, allocations: 3.875 kB / 0.5143 GB, free: 10.17 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.262e-05/0.519, allocations: 0 / 0.5143 GB, free: 10.17 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.602e-06/0.5191, allocations: 3.875 kB / 0.5143 GB, free: 10.17 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.262e-05/0.5191, allocations: 106.2 kB / 0.5144 GB, free: 10.09 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5192, allocations: 0 / 0.5144 GB, free: 10.09 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004199/0.5196, allocations: 7.781 kB / 0.5144 GB, free: 10.08 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 0.0001231/0.5197, allocations: 98.12 kB / 0.5145 GB, free: 9.992 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001734/0.5199, allocations: 35.05 kB / 0.5145 GB, free: 9.98 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.5199, allocations: 0 / 0.5145 GB, free: 9.98 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.06e-05/0.52, allocations: 11.77 kB / 0.5146 GB, free: 9.977 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005827/0.5206, allocations: 20.02 kB / 0.5146 GB, free: 9.969 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004336/0.521, allocations: 179.8 kB / 0.5147 GB, free: 9.801 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000206/0.5212, allocations: 0.6883 MB / 0.5154 GB, free: 9.098 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.767e-05/0.5213, allocations: 7.938 kB / 0.5154 GB, free: 9.09 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.039e-05/0.5213, allocations: 11.28 kB / 0.5154 GB, free: 9.086 MB / 330.7 MB Notification: Performance of SimCode: time 3.91e-07/0.5214, allocations: 4 kB / 0.5154 GB, free: 9.082 MB / 330.7 MB Notification: Performance of Templates: time 0.003161/0.5245, allocations: 474.8 kB / 0.5159 GB, free: 8.852 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/jenkins1/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