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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001121/0.001121, allocations: 105.9 kB / 16.45 MB, free: 6.449 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.00113/0.00113, 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.832/1.832, allocations: 205.1 MB / 223.3 MB, free: 12.22 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.07971/0.07971, allocations: 12.59 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.001841/0.001841, allocations: 85.47 kB / 394.1 MB, free: 45.23 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.1248, allocations: 49.41 MB / 443.6 MB, free: 388 kB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample): time 0.003813/0.1287, allocations: 1.528 MB / 445.1 MB, free: 14.84 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001368/0.1301, allocations: 0.5346 MB / 445.6 MB, free: 14.3 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00011/0.1302, allocations: 7.938 kB / 445.6 MB, free: 14.29 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.378e-05/0.1303, allocations: 7.922 kB / 445.6 MB, free: 14.28 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001561/0.1304, allocations: 7.922 kB / 445.6 MB, free: 14.27 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000352/0.1308, allocations: 55.83 kB / 445.7 MB, free: 14.22 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001348/0.1309, allocations: 47.78 kB / 445.7 MB, free: 14.17 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001434/0.1311, allocations: 23.92 kB / 445.8 MB, free: 14.15 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.549e-05/0.1312, allocations: 27.84 kB / 445.8 MB, free: 14.12 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.81e-05/0.1313, allocations: 19.86 kB / 445.8 MB, free: 14.1 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.677e-05/0.1314, allocations: 4 kB / 445.8 MB, free: 14.1 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.801e-05/0.1314, allocations: 4 kB / 445.8 MB, free: 14.09 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.339e-05/0.1315, allocations: 15.92 kB / 445.8 MB, free: 14.08 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.444e-05/0.1315, allocations: 23.81 kB / 445.9 MB, free: 14.05 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001595/0.1317, allocations: 51.81 kB / 445.9 MB, free: 14 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.1317, allocations: 4 kB / 445.9 MB, free: 14 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.1317, allocations: 0 / 445.9 MB, free: 14 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.093e-06/0.1317, allocations: 0 / 445.9 MB, free: 14 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.0005896/0.1323, allocations: 375.1 kB / 446.3 MB, free: 13.59 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.1324, allocations: 12.03 kB / 446.3 MB, free: 13.57 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.102e-05/0.1324, allocations: 8.844 kB / 446.3 MB, free: 13.57 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000317/0.1328, allocations: 208 kB / 446.5 MB, free: 13.32 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.1328, allocations: 4.375 kB / 446.5 MB, free: 13.32 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.241e-05/0.1328, allocations: 12.36 kB / 446.5 MB, free: 13.31 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003341/0.1332, allocations: 109.3 kB / 446.6 MB, free: 13.18 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.1332, allocations: 0 / 446.6 MB, free: 13.18 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.916e-06/0.1332, allocations: 0 / 446.6 MB, free: 13.18 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.1332, allocations: 0 / 446.6 MB, free: 13.18 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001103/0.1333, allocations: 23.98 kB / 446.7 MB, free: 13.16 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003931/0.1337, allocations: 265.7 kB / 446.9 MB, free: 12.85 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001128/0.1339, allocations: 33.22 kB / 446.9 MB, free: 12.8 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.901e-05/0.134, allocations: 33.77 kB / 447 MB, free: 12.76 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.156e-05/0.134, allocations: 0 / 447 MB, free: 12.76 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.75e-05/0.1341, allocations: 34.5 kB / 447 MB, free: 12.71 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.283e-06/0.1341, allocations: 0 / 447 MB, free: 12.71 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003336/0.1344, allocations: 73.52 kB / 447.1 MB, free: 12.64 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.807e-05/0.1345, allocations: 81.36 kB / 447.2 MB, free: 12.54 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001743/0.1347, allocations: 138.2 kB / 447.3 MB, free: 12.39 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.727e-05/0.1347, allocations: 25.7 kB / 447.3 MB, free: 12.36 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.29e-05/0.1348, allocations: 92.12 kB / 447.4 MB, free: 12.27 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.957e-05/0.1348, allocations: 3.906 kB / 447.4 MB, free: 12.26 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.513e-05/0.1349, allocations: 21.66 kB / 447.4 MB, free: 12.23 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001645/0.1351, allocations: 314.8 kB / 447.7 MB, free: 11.92 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.257e-05/0.1351, allocations: 11.98 kB / 447.8 MB, free: 11.91 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.176e-05/0.1352, allocations: 17.72 kB / 447.8 MB, free: 11.88 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001193/0.1353, allocations: 37.58 kB / 447.8 MB, free: 11.84 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.1353, allocations: 0 / 447.8 MB, free: 11.84 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002024/0.1355, allocations: 57.7 kB / 447.9 MB, free: 11.78 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.582e-05/0.1356, allocations: 12 kB / 447.9 MB, free: 11.77 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.1356, allocations: 0 / 447.9 MB, free: 11.77 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.1356, allocations: 0 / 447.9 MB, free: 11.77 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.46e-05/0.1357, allocations: 4 kB / 447.9 MB, free: 11.76 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/0.1357, allocations: 3.938 kB / 447.9 MB, free: 11.76 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.35e-05/0.1358, allocations: 7.984 kB / 447.9 MB, free: 11.75 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-06/0.1358, allocations: 0 / 447.9 MB, free: 11.75 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 0.0001087/0.1359, allocations: 117.8 kB / 448 MB, free: 11.62 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.277e-05/0.136, allocations: 45.59 kB / 448.1 MB, free: 11.57 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.468e-05/0.1361, allocations: 15.83 kB / 448.1 MB, free: 11.56 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.1361, allocations: 0 / 448.1 MB, free: 11.56 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.1361, allocations: 0 / 448.1 MB, free: 11.56 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.1361, allocations: 3.938 kB / 448.1 MB, free: 11.55 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002859/0.1364, allocations: 173.6 kB / 448.2 MB, free: 11.34 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1365, allocations: 0 / 448.2 MB, free: 11.34 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.959e-05/0.1365, allocations: 7.984 kB / 448.2 MB, free: 11.33 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.1365, allocations: 0 / 448.2 MB, free: 11.33 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.165e-06/0.1365, allocations: 0 / 448.2 MB, free: 11.33 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.141e-06/0.1366, allocations: 8 kB / 448.3 MB, free: 11.32 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.1366, allocations: 7.969 kB / 448.3 MB, free: 11.31 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002287/0.1368, allocations: 152.2 kB / 448.4 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001104/0.1369, allocations: 93.09 kB / 448.5 MB, free: 11.04 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.079e-05/0.137, allocations: 0 / 448.5 MB, free: 11.04 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001148/0.1371, allocations: 3.984 kB / 448.5 MB, free: 11.03 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.869e-05/0.1372, allocations: 8.031 kB / 448.5 MB, free: 11.02 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.609e-06/0.1372, allocations: 0 / 448.5 MB, free: 11.02 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.919e-05/0.1373, allocations: 111.2 kB / 448.6 MB, free: 10.91 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1373, allocations: 0 / 448.6 MB, free: 10.91 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004084/0.1377, allocations: 4 kB / 448.6 MB, free: 10.91 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 0.0001279/0.1378, allocations: 99.19 kB / 448.7 MB, free: 10.8 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002085/0.1381, allocations: 31.92 kB / 448.8 MB, free: 10.77 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.1381, allocations: 4.125 kB / 448.8 MB, free: 10.77 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.318e-05/0.1381, allocations: 4 kB / 448.8 MB, free: 10.77 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005401/0.1387, allocations: 25.09 kB / 448.8 MB, free: 10.74 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004656/0.1392, allocations: 163.2 kB / 448.9 MB, free: 10.55 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003933/0.1396, allocations: 0.6846 MB / 449.6 MB, free: 9.84 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.232e-05/0.1396, allocations: 12.14 kB / 449.6 MB, free: 9.828 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.844e-05/0.1397, allocations: 7.438 kB / 449.7 MB, free: 9.82 MB / 334.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1397, allocations: 0 / 449.7 MB, free: 9.82 MB / 334.1 MB Notification: Performance of Templates: time 0.003959/0.1437, allocations: 0.5234 MB / 450.2 MB, free: 9.297 MB / 334.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches