Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001471/0.001471, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001571/0.001571, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.542/1.542, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0014/0.0014, allocations: 71.34 kB / 307.1 MB, free: 0.5352 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.13, allocations: 50.52 MB / 357.6 MB, free: 14.02 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.003331/0.1334, allocations: 1.622 MB / 359.2 MB, free: 12.38 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001066/0.1345, allocations: 0.5454 MB / 359.7 MB, free: 11.83 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001167/0.1346, allocations: 7.938 kB / 359.8 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001086/0.1348, allocations: 7.922 kB / 359.8 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001472/0.1349, allocations: 31.8 kB / 359.8 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003648/0.1353, allocations: 55.8 kB / 359.8 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001272/0.1354, allocations: 59.8 kB / 359.9 MB, free: 11.67 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001316/0.1356, allocations: 23.97 kB / 359.9 MB, free: 11.65 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001673/0.1358, allocations: 39.84 kB / 360 MB, free: 11.61 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.494e-05/0.1359, allocations: 23.86 kB / 360 MB, free: 11.59 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.393e-05/0.1359, allocations: 8 kB / 360 MB, free: 11.58 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.298e-05/0.136, allocations: 7.984 kB / 360 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.179e-05/0.136, allocations: 19.94 kB / 360 MB, free: 11.55 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.364e-05/0.1361, allocations: 39.72 kB / 360.1 MB, free: 11.51 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000167/0.1363, allocations: 71.72 kB / 360.1 MB, free: 11.44 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.836e-06/0.1363, allocations: 0 / 360.1 MB, free: 11.44 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.21e-07/0.1363, allocations: 0 / 360.1 MB, free: 11.44 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.215e-06/0.1363, allocations: 0 / 360.1 MB, free: 11.44 MB / 302.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.0005714/0.1369, allocations: 399.2 kB / 360.5 MB, free: 11 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/0.1369, allocations: 16.03 kB / 360.5 MB, free: 10.99 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.468e-05/0.137, allocations: 42.73 kB / 360.6 MB, free: 10.94 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002518/0.1372, allocations: 28.81 kB / 360.6 MB, free: 10.91 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002154/0.1375, allocations: 209 kB / 360.8 MB, free: 10.67 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.1375, allocations: 4.375 kB / 360.8 MB, free: 10.66 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.421e-05/0.1375, allocations: 384 / 360.8 MB, free: 10.66 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000317/0.1378, allocations: 137.9 kB / 361 MB, free: 10.51 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.1379, allocations: 0 / 361 MB, free: 10.51 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.1379, allocations: 0 / 361 MB, free: 10.51 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.465e-05/0.1379, allocations: 4 kB / 361 MB, free: 10.5 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001376/0.138, allocations: 43.91 kB / 361 MB, free: 10.46 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004881/0.1385, allocations: 373.9 kB / 361.4 MB, free: 10.04 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001461/0.1387, allocations: 87.78 kB / 361.5 MB, free: 9.926 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.947e-05/0.1388, allocations: 42.62 kB / 361.5 MB, free: 9.875 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.652e-05/0.1388, allocations: 0 / 361.5 MB, free: 9.875 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.36e-05/0.1389, allocations: 38.48 kB / 361.5 MB, free: 9.828 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.1389, allocations: 0 / 361.5 MB, free: 9.828 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004143/0.1393, allocations: 117.6 kB / 361.6 MB, free: 9.707 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.843e-05/0.1394, allocations: 102.8 kB / 361.7 MB, free: 9.582 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001358/0.1395, allocations: 158.8 kB / 361.9 MB, free: 9.418 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.702e-05/0.1395, allocations: 29.69 kB / 361.9 MB, free: 9.383 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.54e-05/0.1396, allocations: 100.1 kB / 362 MB, free: 9.281 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.183e-05/0.1396, allocations: 8.188 kB / 362 MB, free: 9.273 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.711e-05/0.1397, allocations: 29.56 kB / 362.1 MB, free: 9.238 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001117/0.1398, allocations: 326.7 kB / 362.4 MB, free: 8.91 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.21e-05/0.1399, allocations: 15.98 kB / 362.4 MB, free: 8.895 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.428e-05/0.14, allocations: 39.42 kB / 362.4 MB, free: 8.844 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001505/0.1401, allocations: 67.34 kB / 362.5 MB, free: 8.766 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1401, allocations: 0 / 362.5 MB, free: 8.766 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002013/0.1403, allocations: 89.5 kB / 362.6 MB, free: 8.672 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.1404, allocations: 11.09 kB / 362.6 MB, free: 8.664 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.1404, allocations: 0 / 362.6 MB, free: 8.664 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.1404, allocations: 4 kB / 362.6 MB, free: 8.66 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.978e-05/0.1405, allocations: 11.98 kB / 362.6 MB, free: 8.648 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.1405, allocations: 0 / 362.6 MB, free: 8.648 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.897e-05/0.1406, allocations: 7.984 kB / 362.6 MB, free: 8.641 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.103e-05/0.1406, allocations: 4 kB / 362.6 MB, free: 8.637 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 9.835e-05/0.1407, allocations: 133.6 kB / 362.8 MB, free: 8.496 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.724e-05/0.1408, allocations: 49.61 kB / 362.8 MB, free: 8.441 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.194e-05/0.1408, allocations: 19.81 kB / 362.8 MB, free: 8.418 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-05/0.1408, allocations: 4 kB / 362.8 MB, free: 8.414 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.1409, allocations: 0 / 362.8 MB, free: 8.414 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.1409, allocations: 4 kB / 362.8 MB, free: 8.41 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002433/0.1411, allocations: 181.6 kB / 363 MB, free: 8.184 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.1411, allocations: 0 / 363 MB, free: 8.184 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.408e-05/0.1412, allocations: 11.98 kB / 363 MB, free: 8.172 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.1412, allocations: 3.938 kB / 363 MB, free: 8.168 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.949e-06/0.1412, allocations: 4 kB / 363 MB, free: 8.164 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.1412, allocations: 8.031 kB / 363 MB, free: 8.156 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.1412, allocations: 3.938 kB / 363 MB, free: 8.152 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002792/0.1415, allocations: 271.6 kB / 363.3 MB, free: 7.867 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.361e-05/0.1416, allocations: 96.98 kB / 363.4 MB, free: 7.754 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.036e-05/0.1416, allocations: 8 kB / 363.4 MB, free: 7.746 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001144/0.1418, allocations: 0 / 363.4 MB, free: 7.746 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.314e-05/0.1418, allocations: 4 kB / 363.4 MB, free: 7.742 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.943e-06/0.1418, allocations: 3.984 kB / 363.4 MB, free: 7.738 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.002e-05/0.1419, allocations: 119.2 kB / 363.5 MB, free: 7.621 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1419, allocations: 0 / 363.5 MB, free: 7.621 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002815/0.1422, allocations: 11.91 kB / 363.5 MB, free: 7.609 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.000549/0.1428, allocations: 0.8066 MB / 364.4 MB, free: 6.773 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002267/0.143, allocations: 56.08 kB / 364.4 MB, free: 6.719 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.143, allocations: 4.062 kB / 364.4 MB, free: 6.715 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.238e-05/0.1431, allocations: 19.98 kB / 364.4 MB, free: 6.695 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005005/0.1436, allocations: 27.52 kB / 364.5 MB, free: 6.672 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00168/0.1453, allocations: 1.57 MB / 366 MB, free: 4.988 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002799/0.1456, allocations: 0.6924 MB / 366.7 MB, free: 4.27 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.726e-05/0.1457, allocations: 7.984 kB / 366.7 MB, free: 4.262 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.824e-05/0.1457, allocations: 31.42 kB / 366.8 MB, free: 4.234 MB / 302.1 MB Notification: Performance of SimCode: time 3e-07/0.1457, allocations: 0 / 366.8 MB, free: 4.234 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02032/0.1661, allocations: 1.905 MB / 368.7 MB, free: 2.457 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.277/8.443, allocations: 448 / 368.7 MB, free: 2.453 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 8e-05 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleVectorizedAndClocked.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked_res.csv","/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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches