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.0008176/0.0008176, allocations: 96.7 kB / 15.74 MB, free: 424 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001258/0.001258, allocations: 171.1 kB / 16.62 MB, free: 6.555 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.584/1.584, allocations: 205.4 MB / 222.8 MB, free: 5.637 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.08688/0.08688, allocations: 12.6 MB / 283.7 MB, free: 8.676 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.0006941/0.0006943, allocations: 16 kB / 344.5 MB, free: 21.25 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.1281, allocations: 50.38 MB / 394.9 MB, free: 2.781 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample): time 0.002477/0.1307, allocations: 1.239 MB / 396.1 MB, free: 1.527 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001128/0.1318, allocations: 0.5116 MB / 396.7 MB, free: 1.008 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001421/0.132, allocations: 4 kB / 396.7 MB, free: 1.004 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.092e-05/0.1321, allocations: 3.938 kB / 396.7 MB, free: 1 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002023/0.1323, allocations: 23.84 kB / 396.7 MB, free: 0.9766 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004097/0.1327, allocations: 39.91 kB / 396.7 MB, free: 0.9375 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001351/0.1328, allocations: 43.84 kB / 396.8 MB, free: 0.8945 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001212/0.133, allocations: 4 kB / 396.8 MB, free: 0.8906 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001059/0.1331, allocations: 27.86 kB / 396.8 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.724e-05/0.1332, allocations: 19.91 kB / 396.8 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.942e-05/0.1332, allocations: 0 / 396.8 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.838e-05/0.1332, allocations: 0 / 396.8 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.46e-05/0.1333, allocations: 15.94 kB / 396.8 MB, free: 0.8281 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.714e-05/0.1333, allocations: 33.7 kB / 396.9 MB, free: 0.7891 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001083/0.1335, allocations: 31.92 kB / 396.9 MB, free: 0.7578 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.925e-06/0.1335, allocations: 7.938 kB / 396.9 MB, free: 0.75 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.1335, allocations: 0 / 396.9 MB, free: 0.75 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.1335, allocations: 0 / 396.9 MB, free: 0.75 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.0005488/0.134, allocations: 367.3 kB / 397.3 MB, free: 352 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/0.1341, allocations: 8.031 kB / 397.3 MB, free: 344 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.464e-05/0.1342, allocations: 7.906 kB / 397.3 MB, free: 336 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002496/0.1344, allocations: 198.8 kB / 397.5 MB, free: 96 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.022e-05/0.1344, allocations: 11.94 kB / 397.5 MB, free: 84 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.374e-05/0.1345, allocations: 0 / 397.5 MB, free: 84 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003263/0.1348, allocations: 105 kB / 397.6 MB, free: 15.96 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.208e-06/0.1348, allocations: 4 kB / 397.6 MB, free: 15.96 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.1348, allocations: 4 kB / 397.6 MB, free: 15.95 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.685e-06/0.1348, allocations: 3.984 kB / 397.6 MB, free: 15.95 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001019/0.135, allocations: 23.92 kB / 397.6 MB, free: 15.93 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005096/0.1355, allocations: 257.8 kB / 397.9 MB, free: 15.62 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001125/0.1356, allocations: 53.14 kB / 397.9 MB, free: 15.55 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.932e-05/0.1357, allocations: 21.77 kB / 398 MB, free: 15.52 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.555e-05/0.1357, allocations: 0 / 398 MB, free: 15.52 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.97e-05/0.1357, allocations: 38.56 kB / 398 MB, free: 15.48 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.1358, allocations: 0 / 398 MB, free: 15.48 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003262/0.1361, allocations: 73.52 kB / 398.1 MB, free: 15.4 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.264e-05/0.1362, allocations: 81.11 kB / 398.1 MB, free: 15.3 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001363/0.1363, allocations: 138.1 kB / 398.3 MB, free: 15.15 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.748e-05/0.1363, allocations: 29.95 kB / 398.3 MB, free: 15.12 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.6e-05/0.1364, allocations: 92.12 kB / 398.4 MB, free: 15.02 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.034e-05/0.1364, allocations: 7.906 kB / 398.4 MB, free: 15.02 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.016e-06/0.1364, allocations: 0 / 398.4 MB, free: 15.02 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001201/0.1365, allocations: 310.8 kB / 398.7 MB, free: 14.7 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.405e-05/0.1366, allocations: 23.86 kB / 398.7 MB, free: 14.68 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.183e-05/0.1366, allocations: 21.72 kB / 398.8 MB, free: 14.65 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.71e-05/0.1367, allocations: 15.98 kB / 398.8 MB, free: 14.64 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1367, allocations: 0 / 398.8 MB, free: 14.64 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001256/0.1368, allocations: 53.62 kB / 398.8 MB, free: 14.58 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.1369, allocations: 5.25 kB / 398.8 MB, free: 14.57 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/0.1369, allocations: 128 / 398.8 MB, free: 14.57 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.1369, allocations: 4 kB / 398.8 MB, free: 14.57 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.277e-05/0.137, allocations: 11.98 kB / 398.8 MB, free: 14.56 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/0.137, allocations: 3.953 kB / 398.8 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.041e-05/0.1371, allocations: 8 kB / 398.9 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.204e-06/0.1371, allocations: 0 / 398.9 MB, free: 14.55 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.835e-05/0.1372, allocations: 113.6 kB / 399 MB, free: 14.43 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.133e-05/0.1373, allocations: 45.59 kB / 399 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.223e-05/0.1373, allocations: 11.91 kB / 399 MB, free: 14.36 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.1373, allocations: 3.938 kB / 399 MB, free: 14.36 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.1373, allocations: 0 / 399 MB, free: 14.36 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.1373, allocations: 3.953 kB / 399 MB, free: 14.36 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001938/0.1375, allocations: 173.6 kB / 399.2 MB, free: 14.14 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.1375, allocations: 0 / 399.2 MB, free: 14.14 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.729e-05/0.1376, allocations: 11.92 kB / 399.2 MB, free: 14.12 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.796e-06/0.1376, allocations: 0 / 399.2 MB, free: 14.12 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.1376, allocations: 0 / 399.2 MB, free: 14.12 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.1376, allocations: 4 kB / 399.2 MB, free: 14.12 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.1376, allocations: 4 kB / 399.2 MB, free: 14.12 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001974/0.1378, allocations: 164.2 kB / 399.4 MB, free: 13.94 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.965e-05/0.1379, allocations: 97 kB / 399.5 MB, free: 13.82 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.154e-05/0.1379, allocations: 4 kB / 399.5 MB, free: 13.82 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.888e-05/0.138, allocations: 8.031 kB / 399.5 MB, free: 13.81 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.722e-05/0.1381, allocations: 0 / 399.5 MB, free: 13.81 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-06/0.1381, allocations: 0 / 399.5 MB, free: 13.81 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.546e-05/0.1382, allocations: 111.2 kB / 399.6 MB, free: 13.7 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.004e-06/0.1382, allocations: 0 / 399.6 MB, free: 13.7 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000224/0.1384, allocations: 7.938 kB / 399.6 MB, free: 13.7 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 (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.0001062/0.1385, allocations: 91.25 kB / 399.7 MB, free: 13.6 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000138/0.1386, allocations: 31.98 kB / 399.7 MB, free: 13.57 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.237e-06/0.1387, allocations: 0 / 399.7 MB, free: 13.57 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.365e-05/0.1387, allocations: 11.98 kB / 399.7 MB, free: 13.55 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003978/0.1391, allocations: 23.91 kB / 399.8 MB, free: 13.53 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000418/0.1396, allocations: 181.9 kB / 399.9 MB, free: 13.32 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003093/0.1399, allocations: 0.6887 MB / 400.6 MB, free: 12.61 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.908e-05/0.1399, allocations: 7.984 kB / 400.6 MB, free: 12.6 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.749e-05/0.14, allocations: 7.438 kB / 400.6 MB, free: 12.59 MB / 302.1 MB Notification: Performance of SimCode: time 6.01e-07/0.14, allocations: 0 / 400.6 MB, free: 12.59 MB / 302.1 MB Notification: Performance of Templates: time 0.002851/0.1428, allocations: 476.3 kB / 401.1 MB, free: 12.13 MB / 302.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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