Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.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.RealSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|superSample.y",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|superSample.y",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002844/0.002852, allocations: 188 kB / 16.45 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.184/4.184, allocations: 205.4 MB / 222.6 MB, free: 13.75 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.001874/0.001873, allocations: 102.8 kB / 270.9 MB, free: 13.27 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.2355/0.2355, allocations: 12.6 MB / 331.8 MB, free: 10.29 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009613/0.0009608, allocations: 14.34 kB / 392 MB, free: 54.79 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1558/0.1568, allocations: 50.37 MB / 442.3 MB, free: 11.59 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample): time 0.003094/0.16, allocations: 1.273 MB / 443.6 MB, free: 10.3 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001882/0.162, allocations: 0.5039 MB / 444.1 MB, free: 9.793 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001735/0.1622, allocations: 0 / 444.1 MB, free: 9.793 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 7.06e-05/0.1623, allocations: 3.938 kB / 444.1 MB, free: 9.789 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001987/0.1625, allocations: 19.91 kB / 444.1 MB, free: 9.77 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006085/0.1632, allocations: 51.83 kB / 444.2 MB, free: 9.719 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001681/0.1634, allocations: 23.97 kB / 444.2 MB, free: 9.695 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00016/0.1635, allocations: 20.17 kB / 444.2 MB, free: 9.676 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001321/0.1637, allocations: 27.78 kB / 444.3 MB, free: 9.648 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.017e-05/0.1638, allocations: 11.94 kB / 444.3 MB, free: 9.637 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.29e-05/0.1639, allocations: 0 / 444.3 MB, free: 9.637 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.227e-05/0.1639, allocations: 4 kB / 444.3 MB, free: 9.633 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.175e-05/0.164, allocations: 11.92 kB / 444.3 MB, free: 9.621 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.909e-05/0.164, allocations: 37.64 kB / 444.3 MB, free: 9.578 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001319/0.1642, allocations: 35.92 kB / 444.4 MB, free: 9.543 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1642, allocations: 0 / 444.4 MB, free: 9.543 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.316e-06/0.1642, allocations: 0 / 444.4 MB, free: 9.543 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.1642, allocations: 0 / 444.4 MB, free: 9.543 MB / 282.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.0006511/0.1649, allocations: 366.7 kB / 444.7 MB, free: 9.141 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.732e-05/0.165, allocations: 12.03 kB / 444.7 MB, free: 9.129 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.292e-05/0.1651, allocations: 7.906 kB / 444.7 MB, free: 9.121 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002943/0.1654, allocations: 194.8 kB / 444.9 MB, free: 8.891 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.948e-05/0.1654, allocations: 4 kB / 444.9 MB, free: 8.887 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.107e-05/0.1655, allocations: 7.938 kB / 444.9 MB, free: 8.879 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004544/0.1659, allocations: 117.9 kB / 445.1 MB, free: 8.742 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.166, allocations: 0 / 445.1 MB, free: 8.742 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.737e-05/0.166, allocations: 4 kB / 445.1 MB, free: 8.738 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.778e-06/0.166, allocations: 0 / 445.1 MB, free: 8.738 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000192/0.1662, allocations: 27.92 kB / 445.1 MB, free: 8.711 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004915/0.1667, allocations: 278.6 kB / 445.4 MB, free: 8.383 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002066/0.167, allocations: 71.84 kB / 445.4 MB, free: 8.285 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.032e-05/0.167, allocations: 3.938 kB / 445.4 MB, free: 8.281 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.443e-05/0.1671, allocations: 30.56 kB / 445.5 MB, free: 8.242 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 4.408e-06/0.1671, allocations: 0 / 445.5 MB, free: 8.242 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.0005895/0.1677, allocations: 93.77 kB / 445.6 MB, free: 8.145 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.191e-05/0.1678, allocations: 114.7 kB / 445.7 MB, free: 8.008 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002124/0.168, allocations: 141.6 kB / 445.8 MB, free: 7.859 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.934e-05/0.1681, allocations: 25.7 kB / 445.8 MB, free: 7.828 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.368e-05/0.1682, allocations: 158.6 kB / 446 MB, free: 7.672 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.031e-05/0.1682, allocations: 7.906 kB / 446 MB, free: 7.664 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.633e-06/0.1683, allocations: 4.188 kB / 446 MB, free: 7.66 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.718e-05/0.1684, allocations: 314.8 kB / 446.3 MB, free: 7.344 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000106/0.1685, allocations: 8 kB / 446.3 MB, free: 7.336 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001168/0.1686, allocations: 39.42 kB / 446.4 MB, free: 7.285 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001187/0.1688, allocations: 19.98 kB / 446.4 MB, free: 7.266 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/0.1688, allocations: 0 / 446.4 MB, free: 7.266 MB / 282.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003254/0.1691, allocations: 69.59 kB / 446.4 MB, free: 7.191 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.043e-05/0.1692, allocations: 8 kB / 446.5 MB, free: 7.184 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.1692, allocations: 0 / 446.5 MB, free: 7.184 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.649e-05/0.1692, allocations: 8.109 kB / 446.5 MB, free: 7.176 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001628/0.1694, allocations: 11.98 kB / 446.5 MB, free: 7.164 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/0.1695, allocations: 7.984 kB / 446.5 MB, free: 7.156 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000119/0.1696, allocations: 11.95 kB / 446.5 MB, free: 7.145 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.563e-05/0.1696, allocations: 0 / 446.5 MB, free: 7.145 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * 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.0001453/0.1698, allocations: 125.6 kB / 446.6 MB, free: 7.012 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001595/0.17, allocations: 49.55 kB / 446.7 MB, free: 6.957 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.644e-05/0.17, allocations: 23.88 kB / 446.7 MB, free: 6.934 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.1701, allocations: 0 / 446.7 MB, free: 6.934 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.385e-06/0.1701, allocations: 0 / 446.7 MB, free: 6.934 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.553e-06/0.1701, allocations: 7.938 kB / 446.7 MB, free: 6.926 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002917/0.1704, allocations: 169.6 kB / 446.9 MB, free: 6.711 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.72e-06/0.1704, allocations: 4 kB / 446.9 MB, free: 6.707 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001481/0.1706, allocations: 11.98 kB / 446.9 MB, free: 6.695 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.937e-06/0.1706, allocations: 0 / 446.9 MB, free: 6.695 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.445e-05/0.1706, allocations: 0 / 446.9 MB, free: 6.695 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.687e-06/0.1706, allocations: 0 / 446.9 MB, free: 6.695 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.746e-05/0.1707, allocations: 11.94 kB / 446.9 MB, free: 6.684 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004575/0.1712, allocations: 208.5 kB / 447.1 MB, free: 6.445 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000122/0.1714, allocations: 97 kB / 447.2 MB, free: 6.332 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.9e-05/0.1714, allocations: 0 / 447.2 MB, free: 6.332 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002393/0.1717, allocations: 7.984 kB / 447.2 MB, free: 6.324 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.037e-05/0.1718, allocations: 7.953 kB / 447.2 MB, free: 6.316 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.455e-05/0.1718, allocations: 0 / 447.2 MB, free: 6.316 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001639/0.172, allocations: 107.2 kB / 447.3 MB, free: 6.211 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.71e-07/0.172, allocations: 0 / 447.3 MB, free: 6.211 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007402/0.1728, allocations: 8 kB / 447.3 MB, free: 6.203 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (4): * Single equations (assignments): 4 * 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.000197/0.173, allocations: 107.1 kB / 447.4 MB, free: 6.09 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004272/0.1734, allocations: 31.98 kB / 447.4 MB, free: 6.059 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.1735, allocations: 0 / 447.4 MB, free: 6.059 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001599/0.1737, allocations: 15.92 kB / 447.5 MB, free: 6.043 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008595/0.1745, allocations: 28.27 kB / 447.5 MB, free: 6.02 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008011/0.1754, allocations: 220.3 kB / 447.7 MB, free: 5.766 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003014/0.1757, allocations: 0.7042 MB / 448.4 MB, free: 5.035 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.357e-05/0.1758, allocations: 15.44 kB / 448.4 MB, free: 5.02 MB / 282.7 MB Notification: Performance of SimCode: time 3.006e-06/0.1759, allocations: 0 / 448.4 MB, free: 5.02 MB / 282.7 MB Notification: Performance of Templates: time 0.004383/0.1803, allocations: 0.805 MB / 449.2 MB, free: 4.223 MB / 282.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample --alarm=480 -emit_protected > Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.mat","../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches