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.001555/0.001555, allocations: 117.7 kB / 17.7 MB, free: 5.293 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.001749/0.001749, allocations: 191 kB / 18.63 MB, free: 4.367 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.372/1.372, allocations: 222.9 MB / 242.3 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009871/0.0009872, allocations: 47.48 kB / 302.1 MB, free: 5.168 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.1239, allocations: 49.45 MB / 351.5 MB, free: 3.695 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.002753/0.1267, allocations: 1.6 MB / 353.1 MB, free: 2.078 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007723/0.1275, allocations: 488.2 kB / 353.6 MB, free: 1.598 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.302e-05/0.1276, allocations: 4 kB / 353.6 MB, free: 1.594 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 9.96e-05/0.1277, allocations: 11.88 kB / 353.6 MB, free: 1.582 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001001/0.1278, allocations: 19.86 kB / 353.6 MB, free: 1.562 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002416/0.128, allocations: 48.45 kB / 353.7 MB, free: 1.516 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001085/0.1281, allocations: 51.84 kB / 353.7 MB, free: 1.465 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.1283, allocations: 19.97 kB / 353.7 MB, free: 1.445 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.97e-05/0.1283, allocations: 35.8 kB / 353.8 MB, free: 1.41 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.204e-05/0.1284, allocations: 23.86 kB / 353.8 MB, free: 1.387 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.591e-05/0.1284, allocations: 4 kB / 353.8 MB, free: 1.383 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.386e-05/0.1285, allocations: 4 kB / 353.8 MB, free: 1.379 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.344e-05/0.1285, allocations: 23.92 kB / 353.8 MB, free: 1.355 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.317e-05/0.1286, allocations: 39.72 kB / 353.9 MB, free: 1.316 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001164/0.1287, allocations: 63.73 kB / 353.9 MB, free: 1.254 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.1287, allocations: 0 / 353.9 MB, free: 1.254 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1287, allocations: 0 / 353.9 MB, free: 1.254 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.1287, allocations: 0 / 353.9 MB, free: 1.254 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.0005222/0.1293, allocations: 395 kB / 354.3 MB, free: 0.8203 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.24e-05/0.1293, allocations: 12.03 kB / 354.3 MB, free: 0.8086 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.434e-05/0.1293, allocations: 12.75 kB / 354.3 MB, free: 0.7969 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002286/0.1296, allocations: 196 kB / 354.5 MB, free: 0.5664 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.011e-05/0.1296, allocations: 8.375 kB / 354.5 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.522e-05/0.1296, allocations: 4.359 kB / 354.5 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002805/0.1299, allocations: 138.1 kB / 354.7 MB, free: 408 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.114e-06/0.1299, allocations: 0 / 354.7 MB, free: 408 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.518e-05/0.1299, allocations: 3.984 kB / 354.7 MB, free: 404 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.334e-05/0.13, allocations: 4 kB / 354.7 MB, free: 400 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001251/0.1301, allocations: 39.95 kB / 354.7 MB, free: 360 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004545/0.1306, allocations: 381.8 kB / 355.1 MB, free: 15.92 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001283/0.1307, allocations: 83.78 kB / 355.2 MB, free: 15.81 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.595e-05/0.1308, allocations: 38.61 kB / 355.2 MB, free: 15.77 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.129e-05/0.1308, allocations: 0 / 355.2 MB, free: 15.77 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.405e-05/0.1308, allocations: 38.56 kB / 355.3 MB, free: 15.72 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.1308, allocations: 3.938 kB / 355.3 MB, free: 15.71 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.000339/0.1312, allocations: 113.6 kB / 355.4 MB, free: 15.6 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.883e-05/0.1312, allocations: 106.8 kB / 355.5 MB, free: 15.47 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001205/0.1314, allocations: 149.9 kB / 355.6 MB, free: 15.32 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.559e-05/0.1314, allocations: 29.7 kB / 355.7 MB, free: 15.28 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.217e-05/0.1315, allocations: 96.03 kB / 355.7 MB, free: 15.18 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.776e-05/0.1315, allocations: 8.219 kB / 355.8 MB, free: 15.18 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.538e-05/0.1315, allocations: 21.62 kB / 355.8 MB, free: 15.15 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.599e-05/0.1316, allocations: 326.8 kB / 356.1 MB, free: 14.82 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.351e-05/0.1317, allocations: 15.98 kB / 356.1 MB, free: 14.8 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.089e-05/0.1318, allocations: 43.39 kB / 356.2 MB, free: 14.75 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001288/0.1319, allocations: 63.41 kB / 356.2 MB, free: 14.68 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/0.1319, allocations: 3.984 kB / 356.2 MB, free: 14.67 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000187/0.1321, allocations: 89.55 kB / 356.3 MB, free: 14.58 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.1321, allocations: 8.031 kB / 356.3 MB, free: 14.57 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.1321, allocations: 0 / 356.3 MB, free: 14.57 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.1322, allocations: 7.984 kB / 356.3 MB, free: 14.56 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.252e-05/0.1323, allocations: 8 kB / 356.3 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.1323, allocations: 0 / 356.3 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.619e-05/0.1323, allocations: 7.984 kB / 356.3 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.001e-05/0.1323, allocations: 4 kB / 356.3 MB, free: 14.54 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 7.736e-05/0.1324, allocations: 121.8 kB / 356.5 MB, free: 14.41 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.198e-05/0.1325, allocations: 57.55 kB / 356.5 MB, free: 14.35 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.782e-05/0.1325, allocations: 15.86 kB / 356.5 MB, free: 14.33 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.184e-05/0.1326, allocations: 4 kB / 356.5 MB, free: 14.33 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.1326, allocations: 0 / 356.5 MB, free: 14.33 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.1326, allocations: 0 / 356.5 MB, free: 14.33 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002077/0.1328, allocations: 189.6 kB / 356.7 MB, free: 14.09 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.1328, allocations: 3.938 kB / 356.7 MB, free: 14.09 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.171e-05/0.1329, allocations: 11.98 kB / 356.7 MB, free: 14.08 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.347e-06/0.1329, allocations: 0 / 356.7 MB, free: 14.08 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.1329, allocations: 3.938 kB / 356.7 MB, free: 14.07 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.1329, allocations: 4.031 kB / 356.7 MB, free: 14.07 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.1329, allocations: 4 kB / 356.7 MB, free: 14.07 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002472/0.1332, allocations: 275.5 kB / 357 MB, free: 13.78 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.556e-05/0.1332, allocations: 93 kB / 357.1 MB, free: 13.67 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.833e-05/0.1333, allocations: 7.984 kB / 357.1 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000114/0.1334, allocations: 4 kB / 357.1 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.974e-05/0.1334, allocations: 8 kB / 357.1 MB, free: 13.65 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.711e-06/0.1334, allocations: 3.984 kB / 357.1 MB, free: 13.64 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.968e-05/0.1335, allocations: 111.2 kB / 357.2 MB, free: 13.54 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1335, allocations: 0 / 357.2 MB, free: 13.54 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002629/0.1338, allocations: 8 kB / 357.2 MB, free: 13.53 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.0001052/0.1339, allocations: 103.2 kB / 357.3 MB, free: 13.42 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001862/0.1341, allocations: 51.84 kB / 357.4 MB, free: 13.37 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1341, allocations: 0 / 357.4 MB, free: 13.37 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.818e-05/0.1342, allocations: 23.92 kB / 357.4 MB, free: 13.34 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004076/0.1346, allocations: 28.7 kB / 357.5 MB, free: 13.32 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00041/0.135, allocations: 217.6 kB / 357.7 MB, free: 13.06 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002486/0.1353, allocations: 0.6963 MB / 358.4 MB, free: 12.34 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.102e-05/0.1353, allocations: 12.11 kB / 358.4 MB, free: 12.33 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.167e-05/0.1354, allocations: 11.44 kB / 358.4 MB, free: 12.32 MB / 302.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1354, allocations: 0 / 358.4 MB, free: 12.32 MB / 302.1 MB Notification: Performance of Templates: time 0.002963/0.1383, allocations: 0.6987 MB / 359.1 MB, free: 11.64 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins1/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