Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample") translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001131/0.001131, allocations: 108.5 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001092/0.001092, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.494/1.494, allocations: 227.4 MB / 246.3 MB, free: 10.76 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 63.05 kB / 306.3 MB, free: 1.031 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.1318, allocations: 50.54 MB / 356.8 MB, free: 14.5 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample): time 0.003408/0.1353, allocations: 1.616 MB / 358.4 MB, free: 12.87 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001156/0.1365, allocations: 0.5531 MB / 359 MB, free: 12.32 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001013/0.1366, allocations: 4 kB / 359 MB, free: 12.31 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.989e-05/0.1367, allocations: 7.922 kB / 359 MB, free: 12.3 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001311/0.1368, allocations: 7.922 kB / 359 MB, free: 12.3 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003168/0.1372, allocations: 51.89 kB / 359 MB, free: 12.25 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001032/0.1373, allocations: 43.86 kB / 359.1 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001293/0.1374, allocations: 24.16 kB / 359.1 MB, free: 12.18 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001294/0.1375, allocations: 31.8 kB / 359.1 MB, free: 12.15 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.227e-05/0.1376, allocations: 19.86 kB / 359.1 MB, free: 12.13 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.224e-05/0.1377, allocations: 4 kB / 359.2 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.898e-05/0.1377, allocations: 4 kB / 359.2 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.666e-05/0.1378, allocations: 11.98 kB / 359.2 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.402e-05/0.1378, allocations: 31.72 kB / 359.2 MB, free: 12.08 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001392/0.138, allocations: 51.81 kB / 359.2 MB, free: 12.03 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.138, allocations: 0 / 359.2 MB, free: 12.03 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.138, allocations: 4 kB / 359.3 MB, free: 12.02 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.61e-06/0.138, allocations: 0 / 359.3 MB, free: 12.02 MB / 302.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.0005862/0.1386, allocations: 393.9 kB / 359.6 MB, free: 11.59 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.1387, allocations: 8.031 kB / 359.6 MB, free: 11.59 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001813/0.1388, allocations: 20.83 kB / 359.7 MB, free: 11.57 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002111/0.1391, allocations: 196.1 kB / 359.9 MB, free: 11.34 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.1391, allocations: 384 / 359.9 MB, free: 11.34 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.723e-05/0.1391, allocations: 7.938 kB / 359.9 MB, free: 11.33 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002816/0.1394, allocations: 120.9 kB / 360 MB, free: 11.2 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.1394, allocations: 0 / 360 MB, free: 11.2 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.1394, allocations: 0 / 360 MB, free: 11.2 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.1394, allocations: 0 / 360 MB, free: 11.2 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.98e-05/0.1395, allocations: 15.98 kB / 360 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003317/0.1399, allocations: 265.8 kB / 360.3 MB, free: 10.87 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.641e-05/0.14, allocations: 45.16 kB / 360.3 MB, free: 10.8 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.537e-05/0.14, allocations: 17.77 kB / 360.3 MB, free: 10.78 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.792e-05/0.1401, allocations: 11.98 kB / 360.3 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.709e-05/0.1401, allocations: 34.56 kB / 360.4 MB, free: 10.73 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 1.262e-06/0.1401, allocations: 3.938 kB / 360.4 MB, free: 10.72 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002769/0.1404, allocations: 61.58 kB / 360.4 MB, free: 10.66 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.14e-05/0.1405, allocations: 85.05 kB / 360.5 MB, free: 10.55 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001665/0.1406, allocations: 150 kB / 360.7 MB, free: 10.4 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.841e-05/0.1407, allocations: 33.69 kB / 360.7 MB, free: 10.36 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.432e-05/0.1407, allocations: 88.08 kB / 360.8 MB, free: 10.27 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.905e-05/0.1408, allocations: 3.906 kB / 360.8 MB, free: 10.27 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.131e-05/0.1408, allocations: 21.66 kB / 360.8 MB, free: 10.24 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.1409, allocations: 318.8 kB / 361.1 MB, free: 9.918 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.411e-05/0.141, allocations: 8 kB / 361.1 MB, free: 9.91 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.49e-05/0.141, allocations: 21.7 kB / 361.1 MB, free: 9.883 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.015e-05/0.1411, allocations: 29.7 kB / 361.2 MB, free: 9.848 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.1411, allocations: 0 / 361.2 MB, free: 9.848 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001207/0.1413, allocations: 61.52 kB / 361.2 MB, free: 9.781 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.1413, allocations: 8 kB / 361.2 MB, free: 9.773 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/0.1413, allocations: 0 / 361.2 MB, free: 9.773 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.1413, allocations: 4.125 kB / 361.2 MB, free: 9.77 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.605e-05/0.1414, allocations: 7.984 kB / 361.3 MB, free: 9.762 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.1414, allocations: 0 / 361.3 MB, free: 9.762 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.863e-05/0.1414, allocations: 7.938 kB / 361.3 MB, free: 9.754 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.523e-06/0.1415, allocations: 0 / 361.3 MB, free: 9.754 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 8.789e-05/0.1416, allocations: 125.7 kB / 361.4 MB, free: 9.621 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.936e-05/0.1416, allocations: 37.61 kB / 361.4 MB, free: 9.578 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.492e-05/0.1417, allocations: 11.88 kB / 361.4 MB, free: 9.562 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.1417, allocations: 4.031 kB / 361.4 MB, free: 9.559 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.1417, allocations: 0 / 361.4 MB, free: 9.559 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.1417, allocations: 3.938 kB / 361.4 MB, free: 9.555 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001799/0.1419, allocations: 169.7 kB / 361.6 MB, free: 9.34 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.624e-06/0.1419, allocations: 0 / 361.6 MB, free: 9.34 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.718e-05/0.1419, allocations: 7.984 kB / 361.6 MB, free: 9.332 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.1419, allocations: 0 / 361.6 MB, free: 9.332 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.142, allocations: 4 kB / 361.6 MB, free: 9.328 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.142, allocations: 3.938 kB / 361.6 MB, free: 9.324 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.142, allocations: 0 / 361.6 MB, free: 9.324 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001752/0.1422, allocations: 172.2 kB / 361.8 MB, free: 9.137 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.237e-05/0.1422, allocations: 89 kB / 361.9 MB, free: 9.031 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.84e-05/0.1423, allocations: 4 kB / 361.9 MB, free: 9.027 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.784e-05/0.1423, allocations: 4 kB / 361.9 MB, free: 9.023 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.968e-05/0.1424, allocations: 3.938 kB / 361.9 MB, free: 9.02 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-06/0.1424, allocations: 4 kB / 361.9 MB, free: 9.016 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.198e-05/0.1424, allocations: 118.8 kB / 362 MB, free: 8.902 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1425, allocations: 0 / 362 MB, free: 8.902 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000225/0.1427, allocations: 4 kB / 362 MB, free: 8.898 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 0.00011/0.1428, allocations: 99.19 kB / 362.1 MB, free: 8.793 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001313/0.1429, allocations: 27.91 kB / 362.1 MB, free: 8.766 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.143, allocations: 0 / 362.1 MB, free: 8.766 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.212e-05/0.143, allocations: 12.12 kB / 362.1 MB, free: 8.754 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004277/0.1434, allocations: 16.02 kB / 362.2 MB, free: 8.738 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003704/0.1438, allocations: 180.7 kB / 362.3 MB, free: 8.535 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002931/0.1441, allocations: 0.6928 MB / 363 MB, free: 7.816 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.198e-05/0.1442, allocations: 0 / 363 MB, free: 7.816 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.054e-05/0.1442, allocations: 11.44 kB / 363 MB, free: 7.805 MB / 302.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1442, allocations: 0 / 363 MB, free: 7.805 MB / 302.1 MB Notification: Performance of Templates: time 0.00291/0.1471, allocations: 0.5276 MB / 363.6 MB, free: 7.285 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches