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.001494/0.001494, allocations: 181.4 kB / 15.8 MB, free: 6.336 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.596/1.596, allocations: 205.4 MB / 221.9 MB, free: 13.82 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.001104/0.001104, allocations: 90.84 kB / 270.3 MB, free: 13.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07869/0.07869, allocations: 12.6 MB / 331.1 MB, free: 10.28 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004603/0.0004603, allocations: 17.84 kB / 392 MB, free: 54.83 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.1032, allocations: 50.36 MB / 442.4 MB, free: 10.95 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1126/0.2159, allocations: 78.35 MB / 0.5085 GB, free: 12.49 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002335/0.2161, allocations: 79.95 kB / 0.5086 GB, free: 12.41 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00558/0.2217, allocations: 1.987 MB / 0.5105 GB, free: 10.42 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.315e-06/0.2218, allocations: 0 / 0.5105 GB, free: 10.42 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.157e-05/0.2218, allocations: 4 kB / 0.5105 GB, free: 10.41 MB / 362.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.0004195/0.2222, allocations: 363 kB / 0.5109 GB, free: 10.01 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.2223, allocations: 8.031 kB / 0.5109 GB, free: 10 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.056e-05/0.2223, allocations: 11.91 kB / 0.5109 GB, free: 9.992 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000213/0.2225, allocations: 206.7 kB / 0.5111 GB, free: 9.75 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/0.2225, allocations: 8 kB / 0.5111 GB, free: 9.742 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.344e-05/0.2226, allocations: 4 kB / 0.5111 GB, free: 9.738 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002561/0.2228, allocations: 97.05 kB / 0.5112 GB, free: 9.625 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.2228, allocations: 0 / 0.5112 GB, free: 9.625 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.398e-06/0.2229, allocations: 0 / 0.5112 GB, free: 9.625 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.2229, allocations: 11.98 kB / 0.5112 GB, free: 9.613 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.952e-05/0.223, allocations: 19.98 kB / 0.5112 GB, free: 9.594 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003551/0.2233, allocations: 269.7 kB / 0.5115 GB, free: 9.277 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.383e-05/0.2234, allocations: 46.75 kB / 0.5115 GB, free: 9.215 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.875e-05/0.2235, allocations: 4.062 kB / 0.5115 GB, free: 9.211 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.451e-05/0.2235, allocations: 38.5 kB / 0.5116 GB, free: 9.164 MB / 362.7 MB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.2235, allocations: 0 / 0.5116 GB, free: 9.164 MB / 362.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002418/0.2237, allocations: 81.55 kB / 0.5116 GB, free: 9.078 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.151e-05/0.2238, allocations: 77.11 kB / 0.5117 GB, free: 8.984 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001159/0.2239, allocations: 129.3 kB / 0.5118 GB, free: 8.848 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.587e-05/0.224, allocations: 25.7 kB / 0.5119 GB, free: 8.816 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.35e-05/0.224, allocations: 92.12 kB / 0.512 GB, free: 8.723 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.249e-05/0.224, allocations: 3.906 kB / 0.512 GB, free: 8.719 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.949e-06/0.224, allocations: 4.156 kB / 0.512 GB, free: 8.715 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.2242, allocations: 322.8 kB / 0.5123 GB, free: 8.391 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.176e-05/0.2242, allocations: 7.984 kB / 0.5123 GB, free: 8.383 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.918e-05/0.2243, allocations: 21.72 kB / 0.5123 GB, free: 8.355 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.663e-05/0.2243, allocations: 16.05 kB / 0.5123 GB, free: 8.34 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.2243, allocations: 0 / 0.5123 GB, free: 8.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001146/0.2245, allocations: 57.62 kB / 0.5124 GB, free: 8.277 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.2245, allocations: 8 kB / 0.5124 GB, free: 8.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.2245, allocations: 0 / 0.5124 GB, free: 8.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.2245, allocations: 0 / 0.5124 GB, free: 8.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.354e-05/0.2246, allocations: 7.984 kB / 0.5124 GB, free: 8.262 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.2246, allocations: 4 kB / 0.5124 GB, free: 8.258 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.421e-05/0.2247, allocations: 4.062 kB / 0.5124 GB, free: 8.254 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.2247, allocations: 4 kB / 0.5124 GB, free: 8.25 MB / 362.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 0.0001211/0.2248, allocations: 125.6 kB / 0.5125 GB, free: 8.117 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.048e-05/0.2249, allocations: 45.55 kB / 0.5126 GB, free: 8.066 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.361e-05/0.2249, allocations: 3.875 kB / 0.5126 GB, free: 8.062 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.2249, allocations: 7.938 kB / 0.5126 GB, free: 8.055 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.2249, allocations: 0 / 0.5126 GB, free: 8.055 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.2249, allocations: 7.969 kB / 0.5126 GB, free: 8.047 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001633/0.2251, allocations: 169.7 kB / 0.5127 GB, free: 7.832 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.2251, allocations: 3.984 kB / 0.5127 GB, free: 7.828 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.268e-05/0.2252, allocations: 8 kB / 0.5128 GB, free: 7.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.2252, allocations: 0 / 0.5128 GB, free: 7.82 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.193e-06/0.2252, allocations: 0 / 0.5128 GB, free: 7.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.2252, allocations: 0 / 0.5128 GB, free: 7.82 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.2252, allocations: 4 kB / 0.5128 GB, free: 7.816 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001959/0.2254, allocations: 181.9 kB / 0.5129 GB, free: 7.613 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.151e-05/0.2255, allocations: 93 kB / 0.513 GB, free: 7.504 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.604e-05/0.2255, allocations: 4 kB / 0.513 GB, free: 7.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.153e-05/0.2256, allocations: 0 / 0.513 GB, free: 7.5 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.426e-05/0.2256, allocations: 4 kB / 0.513 GB, free: 7.496 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-06/0.2256, allocations: 32 / 0.513 GB, free: 7.496 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.654e-05/0.2257, allocations: 111.2 kB / 0.5131 GB, free: 7.387 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2257, allocations: 0 / 0.5131 GB, free: 7.387 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001964/0.2259, allocations: 4 kB / 0.5131 GB, free: 7.383 MB / 362.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.815e-05/0.226, allocations: 99.14 kB / 0.5132 GB, free: 7.277 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001297/0.2261, allocations: 27.92 kB / 0.5133 GB, free: 7.25 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.2262, allocations: 8.125 kB / 0.5133 GB, free: 7.242 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.974e-05/0.2262, allocations: 7.984 kB / 0.5133 GB, free: 7.234 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002319/0.2264, allocations: 19.77 kB / 0.5133 GB, free: 7.219 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000334/0.2268, allocations: 185.8 kB / 0.5135 GB, free: 7 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002868/0.2271, allocations: 0.6926 MB / 0.5141 GB, free: 6.281 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.252e-05/0.2271, allocations: 7.938 kB / 0.5142 GB, free: 6.273 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.539e-05/0.2272, allocations: 7.438 kB / 0.5142 GB, free: 6.27 MB / 362.7 MB Notification: Performance of SimCode: time 2.4e-07/0.2272, allocations: 0 / 0.5142 GB, free: 6.27 MB / 362.7 MB Notification: Performance of Templates: time 0.002487/0.2297, allocations: 481.2 kB / 0.5146 GB, free: 5.805 MB / 362.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