Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y.1.|sample.y.2.",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y.1.|sample.y.2.",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.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.001889/0.001889, allocations: 108.6 kB / 16.45 MB, free: 6.441 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.002053/0.002053, allocations: 186.4 kB / 17.39 MB, free: 5.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.634/1.634, allocations: 205.1 MB / 223.3 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07844/0.07844, allocations: 12.59 MB / 283.2 MB, free: 15.4 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002058/0.002058, allocations: 90.72 kB / 394.2 MB, free: 45.37 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.1331, allocations: 49.4 MB / 443.6 MB, free: 488 kB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.003583/0.1367, allocations: 1.594 MB / 445.2 MB, free: 14.88 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001014/0.1378, allocations: 0.5229 MB / 445.7 MB, free: 14.34 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.774e-05/0.1379, allocations: 4 kB / 445.7 MB, free: 14.34 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001212/0.138, allocations: 7.938 kB / 445.7 MB, free: 14.33 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001226/0.1382, allocations: 19.84 kB / 445.7 MB, free: 14.31 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003379/0.1385, allocations: 43.83 kB / 445.8 MB, free: 14.27 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001353/0.1387, allocations: 55.78 kB / 445.8 MB, free: 14.21 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001368/0.1388, allocations: 31.91 kB / 445.9 MB, free: 14.18 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.773e-05/0.1389, allocations: 31.84 kB / 445.9 MB, free: 14.15 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.453e-05/0.139, allocations: 23.86 kB / 445.9 MB, free: 14.13 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.064e-05/0.139, allocations: 4 kB / 445.9 MB, free: 14.12 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.296e-05/0.139, allocations: 4 kB / 445.9 MB, free: 14.12 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.606e-05/0.1391, allocations: 23.92 kB / 445.9 MB, free: 14.1 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.604e-05/0.1392, allocations: 35.73 kB / 446 MB, free: 14.06 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001491/0.1393, allocations: 59.73 kB / 446 MB, free: 14 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.1393, allocations: 4 kB / 446 MB, free: 14 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1393, allocations: 0 / 446 MB, free: 14 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.605e-05/0.1394, allocations: 0 / 446 MB, free: 14 MB / 334.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.000654/0.14, allocations: 398.9 kB / 446.4 MB, free: 13.56 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.1401, allocations: 12.03 kB / 446.4 MB, free: 13.55 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.093e-05/0.1401, allocations: 12.75 kB / 446.5 MB, free: 13.54 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002797/0.1404, allocations: 202.1 kB / 446.6 MB, free: 13.3 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.1404, allocations: 8.375 kB / 446.7 MB, free: 13.3 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.353e-05/0.1405, allocations: 384 / 446.7 MB, free: 13.3 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003291/0.1408, allocations: 130.2 kB / 446.8 MB, free: 13.15 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.1408, allocations: 0 / 446.8 MB, free: 13.15 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.1408, allocations: 3.938 kB / 446.8 MB, free: 13.14 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.546e-05/0.1409, allocations: 8 kB / 446.8 MB, free: 13.14 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001358/0.141, allocations: 43.89 kB / 446.8 MB, free: 13.09 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005655/0.1416, allocations: 369.9 kB / 447.2 MB, free: 12.68 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001666/0.1418, allocations: 87.78 kB / 447.3 MB, free: 12.56 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.423e-05/0.1418, allocations: 46.5 kB / 447.3 MB, free: 12.51 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.306e-05/0.1419, allocations: 3.984 kB / 447.3 MB, free: 12.5 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.786e-05/0.1419, allocations: 42.56 kB / 447.4 MB, free: 12.45 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.273e-06/0.1419, allocations: 0 / 447.4 MB, free: 12.45 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004538/0.1424, allocations: 117.5 kB / 447.5 MB, free: 12.33 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.923e-05/0.1425, allocations: 106.8 kB / 447.6 MB, free: 12.2 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001723/0.1427, allocations: 154.5 kB / 447.7 MB, free: 12.04 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.987e-05/0.1427, allocations: 29.7 kB / 447.8 MB, free: 12.01 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.336e-05/0.1428, allocations: 92.14 kB / 447.9 MB, free: 11.91 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.82e-05/0.1428, allocations: 11.89 kB / 447.9 MB, free: 11.9 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.178e-05/0.1429, allocations: 21.62 kB / 447.9 MB, free: 11.88 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001917/0.1431, allocations: 326.8 kB / 448.2 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.042e-05/0.1432, allocations: 11.98 kB / 448.2 MB, free: 11.54 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.014e-05/0.1433, allocations: 43.42 kB / 448.3 MB, free: 11.48 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001592/0.1434, allocations: 63.34 kB / 448.3 MB, free: 11.41 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.1434, allocations: 0 / 448.3 MB, free: 11.41 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002322/0.1437, allocations: 89.59 kB / 448.4 MB, free: 11.31 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.1437, allocations: 4 kB / 448.4 MB, free: 11.31 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.1437, allocations: 0 / 448.4 MB, free: 11.31 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.098e-05/0.1437, allocations: 4 kB / 448.4 MB, free: 11.3 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001295/0.1439, allocations: 15.92 kB / 448.4 MB, free: 11.29 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.1439, allocations: 0 / 448.4 MB, free: 11.29 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.195e-05/0.144, allocations: 12.02 kB / 448.5 MB, free: 11.28 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.892e-05/0.144, allocations: 12 kB / 448.5 MB, free: 11.27 MB / 334.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.0001699/0.1442, allocations: 117.8 kB / 448.6 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.986e-05/0.1443, allocations: 49.59 kB / 448.6 MB, free: 11.09 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.92e-05/0.1443, allocations: 15.83 kB / 448.6 MB, free: 11.07 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.538e-05/0.1443, allocations: 7.984 kB / 448.7 MB, free: 11.06 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.1444, allocations: 96 / 448.7 MB, free: 11.06 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.1444, allocations: 3.984 kB / 448.7 MB, free: 11.06 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003685/0.1447, allocations: 189.5 kB / 448.8 MB, free: 10.82 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.1448, allocations: 4.031 kB / 448.8 MB, free: 10.82 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.082e-05/0.1448, allocations: 11.94 kB / 448.9 MB, free: 10.81 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.1448, allocations: 0 / 448.9 MB, free: 10.81 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.363e-05/0.1449, allocations: 3.984 kB / 448.9 MB, free: 10.8 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.1449, allocations: 0 / 448.9 MB, free: 10.8 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.1449, allocations: 7.938 kB / 448.9 MB, free: 10.8 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003005/0.1452, allocations: 271.4 kB / 449.1 MB, free: 10.51 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.516e-05/0.1453, allocations: 97 kB / 449.2 MB, free: 10.4 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.607e-05/0.1453, allocations: 0 / 449.2 MB, free: 10.4 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000112/0.1454, allocations: 7.984 kB / 449.2 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.237e-05/0.1455, allocations: 3.938 kB / 449.2 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-06/0.1455, allocations: 4 kB / 449.2 MB, free: 10.38 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001032/0.1456, allocations: 115.2 kB / 449.4 MB, free: 10.27 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1456, allocations: 0 / 449.4 MB, free: 10.27 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002675/0.1459, allocations: 12 kB / 449.4 MB, free: 10.26 MB / 334.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.0001147/0.146, allocations: 95.23 kB / 449.5 MB, free: 10.16 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002206/0.1462, allocations: 55.84 kB / 449.5 MB, free: 10.1 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.1462, allocations: 0 / 449.5 MB, free: 10.1 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.375e-05/0.1463, allocations: 16.3 kB / 449.5 MB, free: 10.09 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004899/0.1468, allocations: 36.06 kB / 449.6 MB, free: 10.05 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000564/0.1474, allocations: 201.3 kB / 449.8 MB, free: 9.816 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004951/0.1479, allocations: 0.7001 MB / 450.5 MB, free: 9.09 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.313e-05/0.148, allocations: 16.08 kB / 450.5 MB, free: 9.074 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.1e-05/0.148, allocations: 7.438 kB / 450.5 MB, free: 9.066 MB / 334.1 MB Notification: Performance of SimCode: time 5.31e-07/0.148, allocations: 0 / 450.5 MB, free: 9.066 MB / 334.1 MB Notification: Performance of Templates: time 0.004068/0.1521, allocations: 0.6878 MB / 451.2 MB, free: 8.379 MB / 334.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches