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.000799/0.000799, allocations: 87.12 kB / 16.31 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.000867/0.0008674, allocations: 179.1 kB / 17.21 MB, free: 6.32 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.439/1.439, allocations: 223.3 MB / 241.2 MB, free: 5.238 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002966/0.0002966, allocations: 9.938 kB / 300.8 MB, free: 5.504 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.1279, allocations: 50.43 MB / 351.3 MB, free: 11.38 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.001779/0.1297, allocations: 1.302 MB / 352.6 MB, free: 10.06 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007352/0.1305, allocations: 471.2 kB / 353 MB, free: 9.598 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.564e-05/0.1306, allocations: 0 / 353 MB, free: 9.598 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 8.616e-05/0.1307, allocations: 7.938 kB / 353 MB, free: 9.59 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.783e-05/0.1308, allocations: 15.86 kB / 353 MB, free: 9.574 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002338/0.131, allocations: 39.91 kB / 353.1 MB, free: 9.535 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001056/0.1311, allocations: 51.78 kB / 353.1 MB, free: 9.484 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.1313, allocations: 19.92 kB / 353.1 MB, free: 9.465 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.636e-05/0.1313, allocations: 23.91 kB / 353.2 MB, free: 9.441 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.307e-05/0.1314, allocations: 19.86 kB / 353.2 MB, free: 9.422 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.511e-05/0.1314, allocations: 4 kB / 353.2 MB, free: 9.418 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.218e-05/0.1314, allocations: 0 / 353.2 MB, free: 9.418 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.362e-05/0.1315, allocations: 23.92 kB / 353.2 MB, free: 9.395 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.992e-05/0.1315, allocations: 37.64 kB / 353.3 MB, free: 9.352 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 8.271e-05/0.1316, allocations: 43.91 kB / 353.3 MB, free: 9.309 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.1316, allocations: 0 / 353.3 MB, free: 9.309 MB / 286.1 MB Notification: Performance of FrontEnd: time 8.72e-07/0.1316, allocations: 0 / 353.3 MB, free: 9.309 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.627e-06/0.1316, allocations: 0 / 353.3 MB, free: 9.309 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.0004769/0.1321, allocations: 382.9 kB / 353.7 MB, free: 8.887 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.1322, allocations: 16.03 kB / 353.7 MB, free: 8.871 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.928e-05/0.1322, allocations: 19.75 kB / 353.7 MB, free: 8.852 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001898/0.1324, allocations: 190.8 kB / 353.9 MB, free: 8.625 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.1324, allocations: 7.984 kB / 353.9 MB, free: 8.617 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.432e-05/0.1325, allocations: 4 kB / 353.9 MB, free: 8.613 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002965/0.1328, allocations: 129.9 kB / 354 MB, free: 8.465 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.1328, allocations: 0 / 354 MB, free: 8.465 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.1328, allocations: 0 / 354 MB, free: 8.465 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.687e-05/0.1328, allocations: 7.984 kB / 354 MB, free: 8.457 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000128/0.133, allocations: 47.92 kB / 354.1 MB, free: 8.41 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004528/0.1334, allocations: 377.9 kB / 354.5 MB, free: 7.984 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001336/0.1336, allocations: 87.78 kB / 354.5 MB, free: 7.871 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.337e-05/0.1337, allocations: 46.61 kB / 354.6 MB, free: 7.816 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.442e-05/0.1337, allocations: 0 / 354.6 MB, free: 7.816 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.378e-05/0.1337, allocations: 42.56 kB / 354.6 MB, free: 7.766 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.021e-06/0.1337, allocations: 3.938 kB / 354.6 MB, free: 7.762 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003625/0.1341, allocations: 133.7 kB / 354.8 MB, free: 7.625 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.995e-05/0.1341, allocations: 106.8 kB / 354.9 MB, free: 7.496 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001425/0.1343, allocations: 149.3 kB / 355 MB, free: 7.344 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.393e-05/0.1343, allocations: 25.7 kB / 355 MB, free: 7.312 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.607e-05/0.1344, allocations: 100 kB / 355.1 MB, free: 7.211 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.603e-05/0.1344, allocations: 4 kB / 355.1 MB, free: 7.207 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.007e-06/0.1344, allocations: 0 / 355.1 MB, free: 7.207 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001131/0.1345, allocations: 322.9 kB / 355.5 MB, free: 6.883 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.718e-05/0.1346, allocations: 15.98 kB / 355.5 MB, free: 6.867 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.596e-05/0.1347, allocations: 51.34 kB / 355.5 MB, free: 6.805 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.606e-05/0.1348, allocations: 35.92 kB / 355.6 MB, free: 6.77 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/0.1348, allocations: 0 / 355.6 MB, free: 6.77 MB / 286.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001841/0.135, allocations: 97.53 kB / 355.6 MB, free: 6.668 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.135, allocations: 4 kB / 355.7 MB, free: 6.664 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.135, allocations: 0 / 355.7 MB, free: 6.664 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.135, allocations: 7.953 kB / 355.7 MB, free: 6.656 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.686e-05/0.1351, allocations: 15.98 kB / 355.7 MB, free: 6.641 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.1351, allocations: 4 kB / 355.7 MB, free: 6.637 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.25e-05/0.1352, allocations: 7.938 kB / 355.7 MB, free: 6.629 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.047e-05/0.1352, allocations: 4 kB / 355.7 MB, free: 6.625 MB / 286.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.683e-05/0.1353, allocations: 125.9 kB / 355.8 MB, free: 6.492 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.117e-05/0.1354, allocations: 49.59 kB / 355.9 MB, free: 6.438 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.84e-05/0.1354, allocations: 11.88 kB / 355.9 MB, free: 6.422 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.439e-05/0.1355, allocations: 7.953 kB / 355.9 MB, free: 6.414 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.1355, allocations: 0 / 355.9 MB, free: 6.414 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.1355, allocations: 3.984 kB / 355.9 MB, free: 6.41 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002114/0.1357, allocations: 181.6 kB / 356.1 MB, free: 6.184 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.1357, allocations: 0 / 356.1 MB, free: 6.184 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.194e-05/0.1358, allocations: 16.02 kB / 356.1 MB, free: 6.168 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.1358, allocations: 0 / 356.1 MB, free: 6.168 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/0.1358, allocations: 4 kB / 356.1 MB, free: 6.164 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.938e-06/0.1358, allocations: 3.938 kB / 356.1 MB, free: 6.16 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/0.1358, allocations: 11.92 kB / 356.1 MB, free: 6.148 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002556/0.1361, allocations: 275.6 kB / 356.4 MB, free: 5.859 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.492e-05/0.1361, allocations: 93 kB / 356.5 MB, free: 5.75 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.754e-05/0.1362, allocations: 4.141 kB / 356.5 MB, free: 5.746 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001098/0.1363, allocations: 7.984 kB / 356.5 MB, free: 5.738 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.044e-05/0.1363, allocations: 7.938 kB / 356.5 MB, free: 5.73 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.631e-06/0.1363, allocations: 8 kB / 356.5 MB, free: 5.723 MB / 286.1 MB Notification: Performance of sorting global known variables: time 6.899e-05/0.1364, allocations: 115.2 kB / 356.6 MB, free: 5.609 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1364, allocations: 0 / 356.6 MB, free: 5.609 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002503/0.1367, allocations: 11.94 kB / 356.6 MB, free: 5.598 MB / 286.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 (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.0001021/0.1368, allocations: 99.19 kB / 356.7 MB, free: 5.492 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001897/0.137, allocations: 64.08 kB / 356.8 MB, free: 5.43 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.137, allocations: 3.938 kB / 356.8 MB, free: 5.426 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 6.986e-05/0.1371, allocations: 19.92 kB / 356.8 MB, free: 5.406 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004359/0.1375, allocations: 28.02 kB / 356.8 MB, free: 5.379 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000388/0.1379, allocations: 223.6 kB / 357 MB, free: 5.117 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002509/0.1382, allocations: 0.7004 MB / 357.7 MB, free: 4.391 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 6.282e-05/0.1382, allocations: 15.98 kB / 357.8 MB, free: 4.375 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.675e-05/0.1383, allocations: 7.438 kB / 357.8 MB, free: 4.367 MB / 286.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1383, allocations: 0 / 357.8 MB, free: 4.367 MB / 286.1 MB Notification: Performance of Templates: time 0.002566/0.1409, allocations: 0.5883 MB / 358.4 MB, free: 3.793 MB / 286.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