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.001539/0.001539, allocations: 115.4 kB / 17.69 MB, free: 5.312 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.001668/0.001668, allocations: 191 kB / 18.63 MB, free: 4.379 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.429/1.429, allocations: 222.9 MB / 242.3 MB, free: 15.19 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001074/0.001074, allocations: 51.72 kB / 302.1 MB, free: 5.168 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1192, allocations: 49.45 MB / 351.5 MB, free: 3.691 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.004328/0.1236, allocations: 1.592 MB / 353.1 MB, free: 2.082 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001127/0.1247, allocations: 488.2 kB / 353.6 MB, free: 1.602 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001003/0.1249, allocations: 7.938 kB / 353.6 MB, free: 1.594 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001134/0.125, allocations: 7.922 kB / 353.6 MB, free: 1.586 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001256/0.1251, allocations: 15.86 kB / 353.6 MB, free: 1.57 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002987/0.1254, allocations: 47.83 kB / 353.7 MB, free: 1.523 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001361/0.1256, allocations: 59.78 kB / 353.7 MB, free: 1.465 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001309/0.1257, allocations: 23.92 kB / 353.7 MB, free: 1.441 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.05e-05/0.1258, allocations: 23.92 kB / 353.8 MB, free: 1.418 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.895e-05/0.1259, allocations: 27.84 kB / 353.8 MB, free: 1.391 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.206e-05/0.126, allocations: 4 kB / 353.8 MB, free: 1.387 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.652e-05/0.126, allocations: 4 kB / 353.8 MB, free: 1.383 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.175e-05/0.1261, allocations: 27.92 kB / 353.8 MB, free: 1.355 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.056e-05/0.1261, allocations: 31.73 kB / 353.9 MB, free: 1.324 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001555/0.1263, allocations: 71.72 kB / 353.9 MB, free: 1.254 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.1263, allocations: 0 / 353.9 MB, free: 1.254 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.1263, allocations: 0 / 353.9 MB, free: 1.254 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.693e-06/0.1263, 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.0006122/0.127, allocations: 391 kB / 354.3 MB, free: 0.8242 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/0.127, allocations: 19.83 kB / 354.3 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.882e-05/0.1271, allocations: 12.75 kB / 354.3 MB, free: 0.793 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003369/0.1274, allocations: 204.1 kB / 354.5 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.055e-05/0.1274, allocations: 384 / 354.5 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.736e-05/0.1275, allocations: 4.375 kB / 354.6 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003534/0.1278, allocations: 138.1 kB / 354.7 MB, free: 404 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.1278, allocations: 0 / 354.7 MB, free: 404 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.1279, allocations: 0 / 354.7 MB, free: 404 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.961e-05/0.1279, allocations: 7.984 kB / 354.7 MB, free: 396 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001646/0.1281, allocations: 39.84 kB / 354.7 MB, free: 356 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006277/0.1287, allocations: 377.9 kB / 355.1 MB, free: 15.92 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001682/0.1289, allocations: 79.77 kB / 355.2 MB, free: 15.82 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001064/0.129, allocations: 38.62 kB / 355.2 MB, free: 15.77 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.56e-05/0.129, allocations: 4 kB / 355.2 MB, free: 15.77 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.128e-05/0.1291, allocations: 42.5 kB / 355.3 MB, free: 15.71 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.693e-06/0.1291, allocations: 0 / 355.3 MB, free: 15.71 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004863/0.1296, allocations: 109.5 kB / 355.4 MB, free: 15.6 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.181e-05/0.1297, allocations: 115.2 kB / 355.5 MB, free: 15.46 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001703/0.1299, allocations: 147.9 kB / 355.6 MB, free: 15.31 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.027e-05/0.1299, allocations: 37.62 kB / 355.7 MB, free: 15.27 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.685e-05/0.13, allocations: 92.05 kB / 355.8 MB, free: 15.18 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.434e-05/0.13, allocations: 7.938 kB / 355.8 MB, free: 15.17 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.746e-05/0.1301, allocations: 25.61 kB / 355.8 MB, free: 15.14 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.1302, allocations: 314.8 kB / 356.1 MB, free: 14.82 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.948e-05/0.1303, allocations: 23.98 kB / 356.1 MB, free: 14.8 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.734e-05/0.1304, allocations: 43.44 kB / 356.2 MB, free: 14.74 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001881/0.1306, allocations: 67.34 kB / 356.2 MB, free: 14.66 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.1306, allocations: 0 / 356.2 MB, free: 14.66 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002548/0.1309, allocations: 85.5 kB / 356.3 MB, free: 14.57 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.1309, allocations: 8 kB / 356.3 MB, free: 14.57 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.932e-06/0.1309, allocations: 0 / 356.3 MB, free: 14.57 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.131, allocations: 0 / 356.3 MB, free: 14.57 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001294/0.1311, allocations: 16.11 kB / 356.3 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.318e-06/0.1311, allocations: 7.938 kB / 356.3 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.693e-05/0.1312, allocations: 4 kB / 356.3 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.409e-05/0.1312, allocations: 3.984 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 0.0001109/0.1314, allocations: 125.8 kB / 356.5 MB, free: 14.4 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001258/0.1315, allocations: 53.59 kB / 356.5 MB, free: 14.34 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.165e-05/0.1315, allocations: 11.88 kB / 356.5 MB, free: 14.33 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-05/0.1316, allocations: 4 kB / 356.5 MB, free: 14.32 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.1316, allocations: 4 kB / 356.5 MB, free: 14.32 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.1316, allocations: 4.031 kB / 356.5 MB, free: 14.32 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003241/0.1319, allocations: 185.6 kB / 356.7 MB, free: 14.09 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.858e-06/0.1319, allocations: 0 / 356.7 MB, free: 14.09 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.946e-05/0.132, allocations: 7.984 kB / 356.7 MB, free: 14.08 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.1321, allocations: 11.88 kB / 356.7 MB, free: 14.07 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.38e-05/0.1321, allocations: 0 / 356.7 MB, free: 14.07 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.1321, allocations: 3.938 kB / 356.8 MB, free: 14.06 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.1321, allocations: 0 / 356.8 MB, free: 14.06 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003507/0.1325, allocations: 279.5 kB / 357 MB, free: 13.77 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001095/0.1326, allocations: 93 kB / 357.1 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.362e-05/0.1326, allocations: 0 / 357.1 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001723/0.1328, allocations: 8 kB / 357.1 MB, free: 13.65 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.479e-05/0.1329, allocations: 3.984 kB / 357.1 MB, free: 13.65 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.049e-05/0.1329, allocations: 4 kB / 357.1 MB, free: 13.64 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001066/0.133, allocations: 118.9 kB / 357.2 MB, free: 13.53 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.425e-06/0.133, allocations: 0 / 357.2 MB, free: 13.53 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004095/0.1334, allocations: 15.94 kB / 357.3 MB, free: 13.52 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.0001486/0.1336, allocations: 97.22 kB / 357.4 MB, free: 13.41 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002605/0.1338, allocations: 59.83 kB / 357.4 MB, free: 13.36 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.059e-06/0.1339, allocations: 4.25 kB / 357.4 MB, free: 13.35 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.263e-05/0.134, allocations: 15.98 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.0005816/0.1345, allocations: 27.39 kB / 357.5 MB, free: 13.31 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005691/0.1351, allocations: 217 kB / 357.7 MB, free: 13.06 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003769/0.1355, allocations: 0.7043 MB / 358.4 MB, free: 12.33 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.114e-05/0.1356, allocations: 8.125 kB / 358.4 MB, free: 12.32 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.353e-05/0.1357, allocations: 15.42 kB / 358.4 MB, free: 12.3 MB / 302.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1357, allocations: 0 / 358.4 MB, free: 12.3 MB / 302.1 MB Notification: Performance of Templates: time 0.003951/0.1396, allocations: 0.6833 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 gbode -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