Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|Time|sample1.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample") translateModel(Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|Time|sample1.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001153/0.001153, allocations: 107.5 kB / 16.45 MB, free: 6.426 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001203/0.001203, allocations: 190 kB / 17.39 MB, free: 5.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.702/1.702, allocations: 205.1 MB / 223.3 MB, free: 12.2 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08115/0.08114, allocations: 12.58 MB / 283.2 MB, free: 15.39 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002496/0.002496, allocations: 88.38 kB / 394.1 MB, free: 45.37 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1313/0.1339, allocations: 49.4 MB / 443.5 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample): time 0.002933/0.1369, allocations: 1.539 MB / 445.1 MB, free: 14.95 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001025/0.1379, allocations: 0.5113 MB / 445.6 MB, free: 14.43 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001052/0.138, allocations: 0 / 445.6 MB, free: 14.43 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.64e-05/0.1381, allocations: 11.86 kB / 445.6 MB, free: 14.42 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001895/0.1383, allocations: 11.92 kB / 445.6 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003293/0.1386, allocations: 47.83 kB / 445.7 MB, free: 14.36 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001424/0.1388, allocations: 39.86 kB / 445.7 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001315/0.1389, allocations: 27.91 kB / 445.7 MB, free: 14.3 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.191e-05/0.139, allocations: 31.84 kB / 445.8 MB, free: 14.27 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.638e-05/0.1391, allocations: 23.86 kB / 445.8 MB, free: 14.24 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.972e-05/0.1391, allocations: 0 / 445.8 MB, free: 14.24 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.547e-05/0.1391, allocations: 4 kB / 445.8 MB, free: 14.24 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.362e-05/0.1392, allocations: 11.94 kB / 445.8 MB, free: 14.23 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.398e-05/0.1393, allocations: 31.8 kB / 445.8 MB, free: 14.2 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001539/0.1394, allocations: 43.81 kB / 445.9 MB, free: 14.15 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.388e-06/0.1395, allocations: 0 / 445.9 MB, free: 14.15 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.086e-06/0.1395, allocations: 0 / 445.9 MB, free: 14.15 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.088e-05/0.1395, allocations: 4 kB / 445.9 MB, free: 14.15 MB / 334.1 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.0008158/0.1403, allocations: 379.1 kB / 446.3 MB, free: 13.73 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.445e-05/0.1404, allocations: 8.031 kB / 446.3 MB, free: 13.72 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.674e-05/0.1404, allocations: 8.844 kB / 446.3 MB, free: 13.71 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003805/0.1408, allocations: 200 kB / 446.5 MB, free: 13.48 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.89e-05/0.1408, allocations: 4.359 kB / 446.5 MB, free: 13.48 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.074e-05/0.1409, allocations: 8.359 kB / 446.5 MB, free: 13.47 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003556/0.1412, allocations: 109.4 kB / 446.6 MB, free: 13.34 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.1413, allocations: 0 / 446.6 MB, free: 13.34 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.644e-05/0.1413, allocations: 0 / 446.6 MB, free: 13.34 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.786e-06/0.1413, allocations: 0 / 446.6 MB, free: 13.34 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.762e-05/0.1414, allocations: 19.98 kB / 446.6 MB, free: 13.32 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005031/0.1419, allocations: 265.7 kB / 446.9 MB, free: 13.01 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001167/0.142, allocations: 45.2 kB / 446.9 MB, free: 12.95 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.455e-05/0.1421, allocations: 17.78 kB / 446.9 MB, free: 12.93 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.908e-05/0.1421, allocations: 7.938 kB / 446.9 MB, free: 12.92 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.578e-05/0.1422, allocations: 42.55 kB / 447 MB, free: 12.87 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.252e-06/0.1422, allocations: 0 / 447 MB, free: 12.87 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.000271/0.1425, allocations: 61.53 kB / 447 MB, free: 12.8 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.759e-05/0.1426, allocations: 85.05 kB / 447.1 MB, free: 12.7 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001606/0.1427, allocations: 142.4 kB / 447.3 MB, free: 12.55 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.793e-05/0.1428, allocations: 29.7 kB / 447.3 MB, free: 12.51 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001633/0.1429, allocations: 84.14 kB / 447.4 MB, free: 12.43 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.155e-05/0.143, allocations: 7.906 kB / 447.4 MB, free: 12.42 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.899e-05/0.143, allocations: 17.7 kB / 447.4 MB, free: 12.39 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0003077/0.1433, allocations: 318.8 kB / 447.7 MB, free: 12.07 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.577e-05/0.1434, allocations: 11.98 kB / 447.7 MB, free: 12.06 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.242e-05/0.1434, allocations: 21.72 kB / 447.7 MB, free: 12.04 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.909e-05/0.1435, allocations: 37.58 kB / 447.8 MB, free: 11.99 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1435, allocations: 0 / 447.8 MB, free: 11.99 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001177/0.1437, allocations: 53.59 kB / 447.8 MB, free: 11.93 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.1437, allocations: 11.98 kB / 447.8 MB, free: 11.92 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.1437, allocations: 0 / 447.8 MB, free: 11.92 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.1437, allocations: 8.062 kB / 447.8 MB, free: 11.91 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.015e-05/0.1438, allocations: 4 kB / 447.8 MB, free: 11.91 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.1438, allocations: 0 / 447.8 MB, free: 11.91 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.452e-05/0.1438, allocations: 4 kB / 447.9 MB, free: 11.91 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.204e-06/0.1439, allocations: 0 / 447.9 MB, free: 11.91 MB / 334.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.538e-05/0.144, allocations: 121.8 kB / 448 MB, free: 11.78 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001498/0.1441, allocations: 37.61 kB / 448 MB, free: 11.73 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.715e-05/0.1442, allocations: 19.81 kB / 448 MB, free: 11.71 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.1442, allocations: 4.031 kB / 448 MB, free: 11.71 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.1442, allocations: 0 / 448 MB, free: 11.71 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.103e-06/0.1442, allocations: 7.984 kB / 448 MB, free: 11.7 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003851/0.1446, allocations: 165.6 kB / 448.2 MB, free: 11.49 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.1446, allocations: 0 / 448.2 MB, free: 11.49 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.464e-05/0.1446, allocations: 4 kB / 448.2 MB, free: 11.49 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.1446, allocations: 3.938 kB / 448.2 MB, free: 11.48 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.326e-06/0.1447, allocations: 8 kB / 448.2 MB, free: 11.48 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.1447, allocations: 0 / 448.2 MB, free: 11.48 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1447, allocations: 0 / 448.2 MB, free: 11.48 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001701/0.1448, allocations: 164.3 kB / 448.4 MB, free: 11.3 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.826e-05/0.1449, allocations: 89.09 kB / 448.5 MB, free: 11.19 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.405e-05/0.1449, allocations: 0 / 448.5 MB, free: 11.19 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.061e-05/0.145, allocations: 0 / 448.5 MB, free: 11.19 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.215e-05/0.145, allocations: 7.984 kB / 448.5 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.945e-06/0.1451, allocations: 0 / 448.5 MB, free: 11.18 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.576e-05/0.1451, allocations: 111.9 kB / 448.6 MB, free: 11.07 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1451, allocations: 0 / 448.6 MB, free: 11.07 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002117/0.1453, allocations: 8 kB / 448.6 MB, free: 11.07 MB / 334.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.849e-05/0.1455, allocations: 99.17 kB / 448.7 MB, free: 10.96 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001251/0.1456, allocations: 27.86 kB / 448.7 MB, free: 10.93 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1456, allocations: 0 / 448.7 MB, free: 10.93 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.449e-05/0.1456, allocations: 8.125 kB / 448.7 MB, free: 10.93 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003287/0.146, allocations: 31.95 kB / 448.8 MB, free: 10.89 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004391/0.1464, allocations: 167.2 kB / 448.9 MB, free: 10.7 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002973/0.1467, allocations: 0.6924 MB / 449.6 MB, free: 9.98 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.157e-05/0.1468, allocations: 0 / 449.6 MB, free: 9.98 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.279e-05/0.1468, allocations: 11.44 kB / 449.6 MB, free: 9.969 MB / 334.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1468, allocations: 4.094 kB / 449.6 MB, free: 9.965 MB / 334.1 MB Notification: Performance of Templates: time 0.003423/0.1502, allocations: 0.5239 MB / 450.1 MB, free: 9.441 MB / 334.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches