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.00104/0.00104, allocations: 104.4 kB / 16.03 MB, free: 6.324 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.001335/0.001335, allocations: 191.8 kB / 16.95 MB, free: 6.145 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.881/1.881, allocations: 205.1 MB / 222.8 MB, free: 4.68 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08877/0.08877, allocations: 12.59 MB / 282.7 MB, free: 8.781 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.001832/0.001832, allocations: 79.89 kB / 343 MB, free: 21.09 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.1258, allocations: 49.41 MB / 392.4 MB, free: 3.602 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample): time 0.003379/0.1293, allocations: 1.601 MB / 394 MB, free: 1.98 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008821/0.1302, allocations: 0.5386 MB / 394.5 MB, free: 1.434 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.746e-05/0.1303, allocations: 0 / 394.5 MB, free: 1.434 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.847e-05/0.1303, allocations: 3.938 kB / 394.5 MB, free: 1.43 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001281/0.1305, allocations: 11.94 kB / 394.5 MB, free: 1.418 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002484/0.1307, allocations: 43.89 kB / 394.6 MB, free: 1.375 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.593e-05/0.1308, allocations: 47.8 kB / 394.6 MB, free: 1.328 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/0.131, allocations: 12 kB / 394.6 MB, free: 1.316 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.679e-05/0.131, allocations: 27.91 kB / 394.7 MB, free: 1.289 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.038e-05/0.1311, allocations: 19.86 kB / 394.7 MB, free: 1.27 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.784e-05/0.1311, allocations: 4 kB / 394.7 MB, free: 1.266 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.458e-05/0.1312, allocations: 4 kB / 394.7 MB, free: 1.262 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.996e-05/0.1312, allocations: 15.92 kB / 394.7 MB, free: 1.246 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.302e-05/0.1312, allocations: 19.81 kB / 394.7 MB, free: 1.227 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001128/0.1314, allocations: 51.81 kB / 394.8 MB, free: 1.176 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.1314, allocations: 0 / 394.8 MB, free: 1.176 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1314, allocations: 4 kB / 394.8 MB, free: 1.172 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.1314, allocations: 4 kB / 394.8 MB, free: 1.168 MB / 286.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.0005109/0.1319, allocations: 379.3 kB / 395.2 MB, free: 0.75 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.132, allocations: 8.031 kB / 395.2 MB, free: 0.7422 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.017e-05/0.132, allocations: 16.77 kB / 395.2 MB, free: 0.7266 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002862/0.1323, allocations: 192.2 kB / 395.4 MB, free: 0.5 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.08e-05/0.1323, allocations: 4.359 kB / 395.4 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.267e-05/0.1323, allocations: 4.375 kB / 395.4 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002966/0.1326, allocations: 113.3 kB / 395.5 MB, free: 372 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.1327, allocations: 0 / 395.5 MB, free: 372 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.739e-06/0.1327, allocations: 0 / 395.5 MB, free: 372 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.1327, allocations: 0 / 395.5 MB, free: 372 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.377e-05/0.1328, allocations: 19.92 kB / 395.5 MB, free: 352 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004067/0.1332, allocations: 269.8 kB / 395.8 MB, free: 28 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.642e-05/0.1333, allocations: 49.14 kB / 395.8 MB, free: 15.96 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.854e-05/0.1333, allocations: 13.78 kB / 395.8 MB, free: 15.94 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.222e-05/0.1334, allocations: 4 kB / 395.8 MB, free: 15.94 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.834e-05/0.1334, allocations: 42.55 kB / 395.9 MB, free: 15.89 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 1.083e-06/0.1334, allocations: 0 / 395.9 MB, free: 15.89 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002596/0.1337, allocations: 61.53 kB / 395.9 MB, free: 15.82 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.3e-05/0.1338, allocations: 81.09 kB / 396 MB, free: 15.72 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001424/0.1339, allocations: 142.4 kB / 396.2 MB, free: 15.57 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.501e-05/0.1339, allocations: 33.7 kB / 396.2 MB, free: 15.54 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.539e-05/0.134, allocations: 88.08 kB / 396.3 MB, free: 15.45 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.775e-05/0.134, allocations: 4 kB / 396.3 MB, free: 15.44 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.138e-05/0.134, allocations: 13.7 kB / 396.3 MB, free: 15.42 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.1342, allocations: 318.8 kB / 396.6 MB, free: 15.1 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.142e-05/0.1342, allocations: 7.984 kB / 396.6 MB, free: 15.09 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.212e-05/0.1343, allocations: 25.66 kB / 396.6 MB, free: 15.06 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.307e-05/0.1344, allocations: 33.64 kB / 396.7 MB, free: 15.02 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1344, allocations: 0 / 396.7 MB, free: 15.02 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001274/0.1345, allocations: 53.53 kB / 396.7 MB, free: 14.96 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.563e-05/0.1345, allocations: 11.98 kB / 396.7 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/0.1346, allocations: 0 / 396.7 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.1346, allocations: 8.062 kB / 396.7 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.519e-05/0.1347, allocations: 4 kB / 396.7 MB, free: 14.94 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.1347, allocations: 0 / 396.7 MB, free: 14.94 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.701e-05/0.1347, allocations: 8 kB / 396.8 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.696e-06/0.1347, allocations: 0 / 396.8 MB, free: 14.93 MB / 302.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.646e-05/0.1348, allocations: 117.8 kB / 396.9 MB, free: 14.81 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.137e-05/0.1349, allocations: 45.55 kB / 396.9 MB, free: 14.76 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.894e-05/0.135, allocations: 11.86 kB / 396.9 MB, free: 14.75 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.135, allocations: 4.031 kB / 396.9 MB, free: 14.74 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.135, allocations: 0 / 396.9 MB, free: 14.74 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.135, allocations: 0 / 396.9 MB, free: 14.74 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001931/0.1352, allocations: 173.6 kB / 397.1 MB, free: 14.52 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1352, allocations: 0 / 397.1 MB, free: 14.52 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.036e-05/0.1352, allocations: 4 kB / 397.1 MB, free: 14.52 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.1353, allocations: 0 / 397.1 MB, free: 14.52 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.235e-06/0.1353, allocations: 0 / 397.1 MB, free: 14.52 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.1353, allocations: 4 kB / 397.1 MB, free: 14.52 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1353, allocations: 0 / 397.1 MB, free: 14.52 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001621/0.1354, allocations: 168.2 kB / 397.3 MB, free: 14.33 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.237e-05/0.1355, allocations: 93 kB / 397.4 MB, free: 14.22 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.598e-05/0.1356, allocations: 3.938 kB / 397.4 MB, free: 14.22 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.113e-05/0.1356, allocations: 0 / 397.4 MB, free: 14.22 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.476e-05/0.1357, allocations: 7.984 kB / 397.4 MB, free: 14.21 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-06/0.1357, allocations: 4 kB / 397.4 MB, free: 14.21 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.346e-05/0.1358, allocations: 107.3 kB / 397.5 MB, free: 14.1 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1358, allocations: 0 / 397.5 MB, free: 14.1 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002164/0.136, allocations: 4 kB / 397.5 MB, free: 14.1 MB / 302.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.835e-05/0.1361, allocations: 95.23 kB / 397.6 MB, free: 14 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001449/0.1362, allocations: 23.98 kB / 397.6 MB, free: 13.97 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1362, allocations: 0 / 397.6 MB, free: 13.97 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.433e-05/0.1363, allocations: 8.062 kB / 397.6 MB, free: 13.96 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004244/0.1367, allocations: 31.95 kB / 397.6 MB, free: 13.93 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004148/0.1371, allocations: 175.5 kB / 397.8 MB, free: 13.73 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003535/0.1375, allocations: 0.6962 MB / 398.5 MB, free: 13.01 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.556e-05/0.1376, allocations: 7.984 kB / 398.5 MB, free: 13 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.817e-05/0.1376, allocations: 11.38 kB / 398.5 MB, free: 12.99 MB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1376, allocations: 0 / 398.5 MB, free: 12.99 MB / 302.1 MB Notification: Performance of Templates: time 0.002983/0.1406, allocations: 0.4982 MB / 399 MB, free: 12.5 MB / 302.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","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches