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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001224/0.001224, allocations: 113 kB / 18.45 MB, free: 4.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001287/0.001287, allocations: 190.9 kB / 21.4 MB, free: 1.664 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 225.6 MB / 249.8 MB, free: 3.602 MB / 190.1 MB " [Timeout remaining time 178] 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=5011,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=5011,variableFilter="time|sample1.y.1.|sample1.y.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001558/0.001558, allocations: 51.92 kB / 366.8 MB, free: 324 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.1243, allocations: 52.14 MB / 419 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.003558/0.1279, allocations: 1.62 MB / 420.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001113/0.129, allocations: 498.7 kB / 421.1 MB, free: 9.957 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.479e-05/0.1291, allocations: 7.938 kB / 421.1 MB, free: 9.949 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001179/0.1292, allocations: 7.922 kB / 421.1 MB, free: 9.941 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00013/0.1293, allocations: 11.88 kB / 421.1 MB, free: 9.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003085/0.1296, allocations: 55.14 kB / 421.1 MB, free: 9.879 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001606/0.1298, allocations: 59.78 kB / 421.2 MB, free: 9.82 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001254/0.1299, allocations: 19.98 kB / 421.2 MB, free: 9.801 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.823e-05/0.13, allocations: 27.84 kB / 421.2 MB, free: 9.773 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.367e-05/0.1301, allocations: 27.86 kB / 421.3 MB, free: 9.746 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.293e-05/0.1301, allocations: 8 kB / 421.3 MB, free: 9.738 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.595e-05/0.1301, allocations: 4 kB / 421.3 MB, free: 9.734 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.539e-05/0.1302, allocations: 19.92 kB / 421.3 MB, free: 9.715 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.8e-05/0.1303, allocations: 35.73 kB / 421.3 MB, free: 9.68 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001604/0.1304, allocations: 63.67 kB / 421.4 MB, free: 9.617 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.1304, allocations: 3.984 kB / 421.4 MB, free: 9.613 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.205e-06/0.1304, allocations: 0 / 421.4 MB, free: 9.613 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.384e-06/0.1304, allocations: 0 / 421.4 MB, free: 9.613 MB / 350.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.0006763/0.1311, allocations: 398.9 kB / 421.8 MB, free: 9.176 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.1312, allocations: 16.03 kB / 421.8 MB, free: 9.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.298e-05/0.1312, allocations: 8.891 kB / 421.8 MB, free: 9.152 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003407/0.1315, allocations: 208 kB / 422 MB, free: 8.91 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/0.1316, allocations: 4.375 kB / 422 MB, free: 8.906 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.25e-05/0.1316, allocations: 384 / 422 MB, free: 8.906 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003731/0.1319, allocations: 138.1 kB / 422.2 MB, free: 8.75 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.132, allocations: 0 / 422.2 MB, free: 8.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.443e-05/0.132, allocations: 3.984 kB / 422.2 MB, free: 8.746 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.61e-05/0.132, allocations: 4 kB / 422.2 MB, free: 8.742 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001439/0.1321, allocations: 43.91 kB / 422.2 MB, free: 8.699 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005772/0.1327, allocations: 369.9 kB / 422.6 MB, free: 8.281 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001885/0.1329, allocations: 83.77 kB / 422.7 MB, free: 8.172 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.305e-05/0.133, allocations: 42.62 kB / 422.7 MB, free: 8.121 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.28e-05/0.133, allocations: 0 / 422.7 MB, free: 8.121 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.21e-05/0.133, allocations: 34.5 kB / 422.7 MB, free: 8.078 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.133, allocations: 4 kB / 422.7 MB, free: 8.074 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004011/0.1334, allocations: 113.9 kB / 422.8 MB, free: 7.957 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.281e-05/0.1335, allocations: 106.8 kB / 423 MB, free: 7.828 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001619/0.1337, allocations: 151.3 kB / 423.1 MB, free: 7.672 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.114e-05/0.1337, allocations: 25.7 kB / 423.1 MB, free: 7.641 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.728e-05/0.1338, allocations: 100.1 kB / 423.2 MB, free: 7.539 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.241e-05/0.1338, allocations: 7.953 kB / 423.2 MB, free: 7.531 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.768e-05/0.1339, allocations: 21.7 kB / 423.3 MB, free: 7.504 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001844/0.134, allocations: 322.8 kB / 423.6 MB, free: 7.18 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.319e-05/0.1341, allocations: 19.92 kB / 423.6 MB, free: 7.16 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.362e-05/0.1342, allocations: 43.41 kB / 423.6 MB, free: 7.105 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001554/0.1344, allocations: 67.34 kB / 423.7 MB, free: 7.027 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1344, allocations: 0 / 423.7 MB, free: 7.027 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000208/0.1346, allocations: 85.55 kB / 423.8 MB, free: 6.938 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.1346, allocations: 10.03 kB / 423.8 MB, free: 6.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.1346, allocations: 0 / 423.8 MB, free: 6.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.1346, allocations: 4.125 kB / 423.8 MB, free: 6.926 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001059/0.1347, allocations: 15.98 kB / 423.8 MB, free: 6.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/0.1347, allocations: 4 kB / 423.8 MB, free: 6.906 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.131e-05/0.1348, allocations: 12.03 kB / 423.8 MB, free: 6.895 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.628e-06/0.1348, allocations: 3.938 kB / 423.8 MB, free: 6.891 MB / 350.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.0001275/0.1349, allocations: 133.6 kB / 424 MB, free: 6.75 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.759e-05/0.135, allocations: 53.62 kB / 424 MB, free: 6.691 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.215e-05/0.1351, allocations: 11.88 kB / 424 MB, free: 6.676 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.207e-05/0.1351, allocations: 4.031 kB / 424 MB, free: 6.672 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.1351, allocations: 4 kB / 424 MB, free: 6.668 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.1351, allocations: 0 / 424 MB, free: 6.668 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002649/0.1353, allocations: 181.6 kB / 424.2 MB, free: 6.441 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.1353, allocations: 7.938 kB / 424.2 MB, free: 6.434 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.007e-05/0.1354, allocations: 7.984 kB / 424.2 MB, free: 6.426 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.1354, allocations: 0 / 424.2 MB, free: 6.426 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.1354, allocations: 7.984 kB / 424.2 MB, free: 6.418 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1354, allocations: 0 / 424.2 MB, free: 6.418 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.502e-06/0.1354, allocations: 3.938 kB / 424.2 MB, free: 6.414 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003359/0.1358, allocations: 279.5 kB / 424.5 MB, free: 6.121 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.675e-05/0.1359, allocations: 93.05 kB / 424.6 MB, free: 6.012 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.965e-05/0.1359, allocations: 4 kB / 424.6 MB, free: 6.008 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001125/0.136, allocations: 4 kB / 424.6 MB, free: 6.004 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.677e-05/0.136, allocations: 7.984 kB / 424.6 MB, free: 5.996 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.514e-06/0.136, allocations: 4 kB / 424.6 MB, free: 5.992 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001074/0.1361, allocations: 118.5 kB / 424.7 MB, free: 5.879 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1361, allocations: 0 / 424.7 MB, free: 5.879 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002647/0.1364, allocations: 8 kB / 424.7 MB, free: 5.871 MB / 350.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.0001499/0.1366, allocations: 99.19 kB / 424.8 MB, free: 5.766 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002306/0.1368, allocations: 60.02 kB / 424.9 MB, free: 5.707 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1368, allocations: 3.938 kB / 424.9 MB, free: 5.703 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.22e-05/0.1369, allocations: 19.98 kB / 424.9 MB, free: 5.684 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004494/0.1373, allocations: 20.02 kB / 424.9 MB, free: 5.664 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005124/0.1378, allocations: 235.2 kB / 425.2 MB, free: 5.391 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003887/0.1382, allocations: 0.7078 MB / 425.9 MB, free: 4.656 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.291e-05/0.1383, allocations: 11.44 kB / 425.9 MB, free: 4.645 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1383, allocations: 0 / 425.9 MB, free: 4.645 MB / 350.1 MB Notification: Performance of Templates: time 0.003002/0.1413, allocations: 0.9355 MB / 426.8 MB, free: 3.719 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.615678475005552]