Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y.1.|sample1.y.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y.1.|sample1.y.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001002/0.001002, allocations: 106.6 kB / 16.92 MB, free: 5.68 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.001175/0.001176, allocations: 190.8 kB / 17.85 MB, free: 5.172 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.374/1.374, allocations: 222.9 MB / 241.5 MB, free: 15.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 46.91 kB / 300.6 MB, free: 5.859 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/0.1212, allocations: 49.45 MB / 350.1 MB, free: 4.406 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.004065/0.1254, allocations: 1.581 MB / 351.6 MB, free: 2.805 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001156/0.1265, allocations: 0.4923 MB / 352.1 MB, free: 2.309 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001491/0.1267, allocations: 4 kB / 352.1 MB, free: 2.305 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000127/0.1269, allocations: 7.922 kB / 352.1 MB, free: 2.297 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001371/0.127, allocations: 11.86 kB / 352.2 MB, free: 2.285 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003684/0.1274, allocations: 49.94 kB / 352.2 MB, free: 2.238 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001584/0.1276, allocations: 63.67 kB / 352.3 MB, free: 2.176 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001559/0.1278, allocations: 23.98 kB / 352.3 MB, free: 2.152 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001162/0.1279, allocations: 31.84 kB / 352.3 MB, free: 2.121 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.061e-05/0.128, allocations: 27.86 kB / 352.4 MB, free: 2.094 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.008e-05/0.128, allocations: 4 kB / 352.4 MB, free: 2.09 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.734e-05/0.128, allocations: 4 kB / 352.4 MB, free: 2.086 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.841e-05/0.1281, allocations: 19.92 kB / 352.4 MB, free: 2.066 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.24e-05/0.1282, allocations: 31.8 kB / 352.4 MB, free: 2.035 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001629/0.1284, allocations: 63.73 kB / 352.5 MB, free: 1.973 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.1284, allocations: 0 / 352.5 MB, free: 1.973 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.1284, allocations: 4 kB / 352.5 MB, free: 1.969 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.765e-06/0.1284, allocations: 0 / 352.5 MB, free: 1.969 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007186/0.1291, allocations: 391.3 kB / 352.9 MB, free: 1.539 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.919e-05/0.1292, allocations: 16.02 kB / 352.9 MB, free: 1.523 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.458e-05/0.1292, allocations: 12.75 kB / 352.9 MB, free: 1.512 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002776/0.1295, allocations: 200 kB / 353.1 MB, free: 1.277 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.58e-05/0.1296, allocations: 384 / 353.1 MB, free: 1.277 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.734e-05/0.1296, allocations: 8.375 kB / 353.1 MB, free: 1.27 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003848/0.13, allocations: 134.2 kB / 353.2 MB, free: 1.117 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.13, allocations: 0 / 353.2 MB, free: 1.117 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.13, allocations: 4 kB / 353.2 MB, free: 1.113 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.013e-05/0.13, allocations: 3.984 kB / 353.2 MB, free: 1.109 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001447/0.1302, allocations: 47.91 kB / 353.3 MB, free: 1.062 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005431/0.1307, allocations: 369.9 kB / 353.6 MB, free: 0.6445 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001434/0.1309, allocations: 83.78 kB / 353.7 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.896e-05/0.131, allocations: 42.61 kB / 353.8 MB, free: 496 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.899e-05/0.131, allocations: 0 / 353.8 MB, free: 496 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.169e-05/0.1311, allocations: 34.5 kB / 353.8 MB, free: 452 kB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.1311, allocations: 4 kB / 353.8 MB, free: 448 kB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004151/0.1315, allocations: 117.5 kB / 353.9 MB, free: 324 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.409e-05/0.1316, allocations: 102.8 kB / 354 MB, free: 196 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000135/0.1317, allocations: 153.9 kB / 354.2 MB, free: 36 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.479e-05/0.1317, allocations: 26.08 kB / 354.2 MB, free: 4 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.644e-05/0.1318, allocations: 104 kB / 354.3 MB, free: 15.9 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.132e-05/0.1319, allocations: 3.938 kB / 354.3 MB, free: 15.89 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.882e-05/0.1319, allocations: 21.62 kB / 354.3 MB, free: 15.87 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001154/0.132, allocations: 326.8 kB / 354.6 MB, free: 15.54 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.746e-05/0.1321, allocations: 23.92 kB / 354.7 MB, free: 15.52 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.519e-05/0.1322, allocations: 47.36 kB / 354.7 MB, free: 15.46 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001412/0.1324, allocations: 63.34 kB / 354.8 MB, free: 15.38 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1324, allocations: 0 / 354.8 MB, free: 15.38 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001969/0.1326, allocations: 89.5 kB / 354.9 MB, free: 15.29 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.1326, allocations: 7.938 kB / 354.9 MB, free: 15.28 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/0.1326, allocations: 4 kB / 354.9 MB, free: 15.28 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.1326, allocations: 0 / 354.9 MB, free: 15.28 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001118/0.1327, allocations: 11.98 kB / 354.9 MB, free: 15.27 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.727e-06/0.1328, allocations: 3.984 kB / 354.9 MB, free: 15.26 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.624e-05/0.1328, allocations: 7.984 kB / 354.9 MB, free: 15.25 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/0.1328, allocations: 4 kB / 354.9 MB, free: 15.25 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * 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.0001013/0.133, allocations: 133.8 kB / 355 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.404e-05/0.1331, allocations: 53.59 kB / 355.1 MB, free: 15.05 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.151e-05/0.1331, allocations: 7.859 kB / 355.1 MB, free: 15.04 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.367e-05/0.1331, allocations: 8 kB / 355.1 MB, free: 15.03 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.1331, allocations: 0 / 355.1 MB, free: 15.03 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.1331, allocations: 4 kB / 355.1 MB, free: 15.03 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002231/0.1334, allocations: 177.6 kB / 355.3 MB, free: 14.8 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.1334, allocations: 4 kB / 355.3 MB, free: 14.8 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.74e-05/0.1335, allocations: 16.02 kB / 355.3 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.1335, allocations: 0 / 355.3 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.1335, allocations: 4 kB / 355.3 MB, free: 14.78 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.1335, allocations: 0 / 355.3 MB, free: 14.78 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.1335, allocations: 3.938 kB / 355.3 MB, free: 14.78 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002821/0.1338, allocations: 275.5 kB / 355.6 MB, free: 14.49 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.95e-05/0.1339, allocations: 93 kB / 355.7 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.967e-05/0.1339, allocations: 7.984 kB / 355.7 MB, free: 14.37 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001094/0.134, allocations: 0 / 355.7 MB, free: 14.37 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.791e-05/0.1341, allocations: 4 kB / 355.7 MB, free: 14.37 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-06/0.1341, allocations: 144 / 355.7 MB, free: 14.37 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000124/0.1342, allocations: 115.2 kB / 355.8 MB, free: 14.25 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1342, allocations: 4 kB / 355.8 MB, free: 14.25 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002987/0.1345, allocations: 4 kB / 355.8 MB, free: 14.25 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (3): * Single equations (assignments): 2 * Array equations: 1 * 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.0001245/0.1347, allocations: 111.2 kB / 355.9 MB, free: 14.13 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002198/0.1349, allocations: 55.89 kB / 356 MB, free: 14.07 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.63e-06/0.1349, allocations: 0 / 356 MB, free: 14.07 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.205e-05/0.135, allocations: 23.92 kB / 356 MB, free: 14.05 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005341/0.1355, allocations: 24.38 kB / 356 MB, free: 14.03 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004761/0.136, allocations: 217.1 kB / 356.2 MB, free: 13.78 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003207/0.1364, allocations: 0.7002 MB / 356.9 MB, free: 13.05 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.705e-05/0.1364, allocations: 11.92 kB / 356.9 MB, free: 13.04 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.476e-05/0.1365, allocations: 15.44 kB / 356.9 MB, free: 13.02 MB / 302.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1365, allocations: 0 / 356.9 MB, free: 13.02 MB / 302.1 MB Notification: Performance of Templates: time 0.003934/0.1404, allocations: 0.6842 MB / 357.6 MB, free: 12.36 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches