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.001751/0.001751, allocations: 116.6 kB / 18.49 MB, free: 4.566 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.001995/0.001995, allocations: 189 kB / 21.43 MB, free: 1.641 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.515/1.515, allocations: 225.6 MB / 249.8 MB, free: 3.629 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: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleVectorizedAndClocked",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleVectorizedAndClocked",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002548/0.002548, allocations: 47.92 kB / 366.3 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1372/0.1397, allocations: 52.14 MB / 418.5 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.003238/0.1429, allocations: 1.623 MB / 420.1 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009655/0.1439, allocations: 498.7 kB / 420.6 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.997e-05/0.144, allocations: 7.938 kB / 420.6 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000101/0.1441, allocations: 11.92 kB / 420.6 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001073/0.1442, allocations: 11.88 kB / 420.6 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002731/0.1445, allocations: 51.81 kB / 420.7 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001384/0.1446, allocations: 59.78 kB / 420.7 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.1447, allocations: 15.94 kB / 420.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.437e-05/0.1448, allocations: 27.91 kB / 420.8 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.896e-05/0.1449, allocations: 31.84 kB / 420.8 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.033e-05/0.1449, allocations: 4 kB / 420.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.541e-05/0.1449, allocations: 8 kB / 420.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.96e-05/0.145, allocations: 19.92 kB / 420.8 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.659e-05/0.145, allocations: 27.75 kB / 420.9 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001587/0.1452, allocations: 71.66 kB / 420.9 MB, free: 10.15 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.1452, allocations: 0 / 420.9 MB, free: 10.15 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1452, allocations: 0 / 420.9 MB, free: 10.15 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.127e-05/0.1452, allocations: 0 / 420.9 MB, free: 10.15 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.0005875/0.1458, allocations: 398.9 kB / 421.3 MB, free: 9.711 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.1458, allocations: 15.97 kB / 421.3 MB, free: 9.695 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.288e-05/0.1459, allocations: 4.188 kB / 421.3 MB, free: 9.691 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.417e-05/0.1459, allocations: 34.75 kB / 421.4 MB, free: 9.648 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.305e-05/0.1459, allocations: 16.77 kB / 421.4 MB, free: 9.633 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002737/0.1462, allocations: 204.2 kB / 421.6 MB, free: 9.395 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.818e-06/0.1462, allocations: 384 / 421.6 MB, free: 9.395 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.805e-05/0.1462, allocations: 8.375 kB / 421.6 MB, free: 9.387 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000322/0.1465, allocations: 133.8 kB / 421.7 MB, free: 9.234 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.1466, allocations: 4 kB / 421.7 MB, free: 9.23 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.1466, allocations: 0 / 421.7 MB, free: 9.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.493e-05/0.1466, allocations: 3.984 kB / 421.7 MB, free: 9.227 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001413/0.1467, allocations: 39.91 kB / 421.8 MB, free: 9.188 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005147/0.1472, allocations: 377.9 kB / 422.2 MB, free: 8.762 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001538/0.1474, allocations: 75.78 kB / 422.2 MB, free: 8.66 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.085e-05/0.1475, allocations: 46.55 kB / 422.3 MB, free: 8.605 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.835e-05/0.1475, allocations: 4 kB / 422.3 MB, free: 8.602 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.108e-05/0.1475, allocations: 34.56 kB / 422.3 MB, free: 8.559 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.313e-06/0.1475, allocations: 0 / 422.3 MB, free: 8.559 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.000384/0.1479, allocations: 117.7 kB / 422.4 MB, free: 8.438 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.023e-05/0.148, allocations: 106.8 kB / 422.5 MB, free: 8.309 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001395/0.1481, allocations: 155.3 kB / 422.7 MB, free: 8.148 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.928e-05/0.1482, allocations: 25.7 kB / 422.7 MB, free: 8.117 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.874e-05/0.1482, allocations: 100.1 kB / 422.8 MB, free: 8.016 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.592e-05/0.1483, allocations: 3.953 kB / 422.8 MB, free: 8.012 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.217e-05/0.1483, allocations: 21.91 kB / 422.8 MB, free: 7.984 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.1484, allocations: 322.8 kB / 423.1 MB, free: 7.66 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.922e-05/0.1485, allocations: 15.98 kB / 423.2 MB, free: 7.645 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.476e-05/0.1486, allocations: 39.42 kB / 423.2 MB, free: 7.594 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000168/0.1488, allocations: 67.34 kB / 423.3 MB, free: 7.516 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.1488, allocations: 0 / 423.3 MB, free: 7.516 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000208/0.149, allocations: 89.55 kB / 423.4 MB, free: 7.422 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.149, allocations: 4.125 kB / 423.4 MB, free: 7.418 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.149, allocations: 4 kB / 423.4 MB, free: 7.414 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.149, allocations: 4 kB / 423.4 MB, free: 7.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.881e-05/0.1491, allocations: 19.86 kB / 423.4 MB, free: 7.391 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.1491, allocations: 0 / 423.4 MB, free: 7.391 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.153e-05/0.1492, allocations: 11.92 kB / 423.4 MB, free: 7.379 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.021e-05/0.1492, allocations: 4 kB / 423.4 MB, free: 7.375 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 9.977e-05/0.1493, allocations: 121.8 kB / 423.5 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.514e-05/0.1494, allocations: 49.66 kB / 423.6 MB, free: 7.191 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.128e-05/0.1494, allocations: 19.89 kB / 423.6 MB, free: 7.168 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.37e-05/0.1494, allocations: 7.938 kB / 423.6 MB, free: 7.16 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.1494, allocations: 0 / 423.6 MB, free: 7.16 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.277e-06/0.1494, allocations: 0 / 423.6 MB, free: 7.16 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00025/0.1497, allocations: 189.6 kB / 423.8 MB, free: 6.926 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.1497, allocations: 0 / 423.8 MB, free: 6.926 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.527e-05/0.1497, allocations: 15.92 kB / 423.8 MB, free: 6.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.1497, allocations: 0 / 423.8 MB, free: 6.91 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.1498, allocations: 0 / 423.8 MB, free: 6.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.216e-05/0.1498, allocations: 4 kB / 423.8 MB, free: 6.906 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1498, allocations: 4 kB / 423.8 MB, free: 6.902 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002945/0.1501, allocations: 279.6 kB / 424.1 MB, free: 6.609 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.895e-05/0.1501, allocations: 89.05 kB / 424.2 MB, free: 6.504 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.804e-05/0.1501, allocations: 3.984 kB / 424.2 MB, free: 6.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001163/0.1503, allocations: 12 kB / 424.2 MB, free: 6.488 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.414e-05/0.1503, allocations: 7.938 kB / 424.2 MB, free: 6.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.694e-06/0.1503, allocations: 3.984 kB / 424.2 MB, free: 6.477 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.929e-05/0.1504, allocations: 114.5 kB / 424.3 MB, free: 6.367 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1504, allocations: 0 / 424.3 MB, free: 6.367 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002664/0.1507, allocations: 15.94 kB / 424.3 MB, free: 6.352 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.0006177/0.1513, allocations: 0.799 MB / 425.1 MB, free: 5.523 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002069/0.1515, allocations: 51.89 kB / 425.2 MB, free: 5.473 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.1515, allocations: 4.25 kB / 425.2 MB, free: 5.469 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.299e-05/0.1516, allocations: 23.92 kB / 425.2 MB, free: 5.445 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004194/0.152, allocations: 20.02 kB / 425.2 MB, free: 5.426 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001731/0.1537, allocations: 1.565 MB / 426.8 MB, free: 3.75 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003507/0.1541, allocations: 0.7078 MB / 427.5 MB, free: 3.016 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.771e-05/0.1541, allocations: 11.92 kB / 427.5 MB, free: 3.004 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.225e-05/0.1542, allocations: 19.44 kB / 427.5 MB, free: 2.984 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1542, allocations: 0 / 427.5 MB, free: 2.984 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0186/0.1728, allocations: 1.954 MB / 429.5 MB, free: 1.211 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.846/8.019, allocations: 7.609 kB / 429.5 MB, free: 1.203 MB / 350.1 MB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleVectorizedAndClocked_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleVectorizedAndClocked.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,sample1.y[1],sample1.y[2] Variables in the result:periodicClock.factor,periodicClock.resolution,periodicClock.useSolver,sample1.n,sample1.u[1],sample1.u[2],sample1.y[1],sample1.y[2],sine1.amplitude,sine1.f,sine1.offset,sine1.phase,sine1.startTime,sine1.y,sine2.amplitude,sine2.f,sine2.offset,sine2.phase,sine2.startTime,sine2.y,time [Calling sys.exit(0), Time elapsed: 10.705973663018085]