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.001278/0.001278, allocations: 109.2 kB / 17.21 MB, free: 6.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001358/0.001358, allocations: 213.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.441/1.441, allocations: 227.4 MB / 246.3 MB, free: 9.047 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001075/0.001075, allocations: 64.64 kB / 306.4 MB, free: 0.7266 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.133, allocations: 50.53 MB / 356.9 MB, free: 14.19 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.003363/0.1364, allocations: 1.679 MB / 358.6 MB, free: 12.5 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001051/0.1375, allocations: 0.5494 MB / 359.1 MB, free: 11.94 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.017e-05/0.1376, allocations: 0 / 359.1 MB, free: 11.94 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 8.849e-05/0.1377, allocations: 3.938 kB / 359.1 MB, free: 11.94 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 9.899e-05/0.1378, allocations: 19.91 kB / 359.1 MB, free: 11.92 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002875/0.1381, allocations: 59.83 kB / 359.2 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001171/0.1382, allocations: 63.72 kB / 359.3 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.1383, allocations: 19.97 kB / 359.3 MB, free: 11.78 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001052/0.1384, allocations: 35.84 kB / 359.3 MB, free: 11.74 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.372e-05/0.1385, allocations: 23.86 kB / 359.3 MB, free: 11.72 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.497e-05/0.1385, allocations: 0 / 359.3 MB, free: 11.72 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.986e-05/0.1386, allocations: 19.94 kB / 359.4 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.512e-05/0.1387, allocations: 15.92 kB / 359.4 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.247e-05/0.1387, allocations: 31.8 kB / 359.4 MB, free: 11.65 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001655/0.1389, allocations: 75.7 kB / 359.5 MB, free: 11.58 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/0.1389, allocations: 3.938 kB / 359.5 MB, free: 11.57 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1389, allocations: 0 / 359.5 MB, free: 11.57 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.593e-06/0.1389, allocations: 0 / 359.5 MB, free: 11.57 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.0007624/0.1397, allocations: 391.3 kB / 359.9 MB, free: 11.14 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.176e-05/0.1397, allocations: 12.03 kB / 359.9 MB, free: 11.13 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.004e-05/0.1398, allocations: 38.75 kB / 359.9 MB, free: 11.09 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002641/0.1401, allocations: 28.81 kB / 359.9 MB, free: 11.06 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002824/0.1404, allocations: 205 kB / 360.1 MB, free: 10.82 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.229e-05/0.1404, allocations: 12.36 kB / 360.2 MB, free: 10.81 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.775e-05/0.1404, allocations: 384 / 360.2 MB, free: 10.81 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004175/0.1408, allocations: 134 kB / 360.3 MB, free: 10.66 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/0.1409, allocations: 0 / 360.3 MB, free: 10.66 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.1409, allocations: 0 / 360.3 MB, free: 10.66 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.237e-05/0.1409, allocations: 4 kB / 360.3 MB, free: 10.65 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001443/0.1411, allocations: 39.91 kB / 360.3 MB, free: 10.61 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006217/0.1417, allocations: 377.9 kB / 360.7 MB, free: 10.19 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001785/0.1419, allocations: 83.77 kB / 360.8 MB, free: 10.08 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.572e-05/0.142, allocations: 42.62 kB / 360.8 MB, free: 10.03 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.142, allocations: 0 / 360.8 MB, free: 10.03 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.135e-05/0.1421, allocations: 34.5 kB / 360.9 MB, free: 9.984 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 5.591e-06/0.1421, allocations: 3.984 kB / 360.9 MB, free: 9.98 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003863/0.1425, allocations: 121.6 kB / 361 MB, free: 9.855 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.498e-05/0.1426, allocations: 106.8 kB / 361.1 MB, free: 9.727 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000163/0.1427, allocations: 158.8 kB / 361.2 MB, free: 9.562 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.164e-05/0.1428, allocations: 25.7 kB / 361.3 MB, free: 9.531 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.364e-05/0.1428, allocations: 96.08 kB / 361.4 MB, free: 9.434 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.064e-05/0.1429, allocations: 11.89 kB / 361.4 MB, free: 9.422 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.436e-05/0.1429, allocations: 17.81 kB / 361.4 MB, free: 9.398 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002064/0.1432, allocations: 334.7 kB / 361.7 MB, free: 9.062 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.208e-05/0.1432, allocations: 15.98 kB / 361.7 MB, free: 9.047 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.448e-05/0.1433, allocations: 43.36 kB / 361.8 MB, free: 8.992 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001382/0.1435, allocations: 63.41 kB / 361.8 MB, free: 8.918 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.1435, allocations: 3.938 kB / 361.8 MB, free: 8.914 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001924/0.1437, allocations: 89.5 kB / 361.9 MB, free: 8.82 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.1437, allocations: 4 kB / 361.9 MB, free: 8.816 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.1437, allocations: 4.125 kB / 361.9 MB, free: 8.812 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.1437, allocations: 4 kB / 361.9 MB, free: 8.809 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.451e-05/0.1438, allocations: 11.98 kB / 361.9 MB, free: 8.797 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.305e-06/0.1438, allocations: 0 / 361.9 MB, free: 8.797 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.79e-05/0.1439, allocations: 7.984 kB / 362 MB, free: 8.789 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.091e-05/0.1439, allocations: 4 kB / 362 MB, free: 8.785 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.0001083/0.144, allocations: 129.6 kB / 362.1 MB, free: 8.648 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.948e-05/0.1441, allocations: 53.59 kB / 362.1 MB, free: 8.59 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.141e-05/0.1442, allocations: 19.86 kB / 362.2 MB, free: 8.566 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-05/0.1442, allocations: 7.984 kB / 362.2 MB, free: 8.559 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.1442, allocations: 0 / 362.2 MB, free: 8.559 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.78e-06/0.1442, allocations: 4 kB / 362.2 MB, free: 8.555 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002586/0.1445, allocations: 181.6 kB / 362.3 MB, free: 8.328 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.1445, allocations: 0 / 362.3 MB, free: 8.328 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.142e-05/0.1446, allocations: 11.98 kB / 362.4 MB, free: 8.316 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.1446, allocations: 0 / 362.4 MB, free: 8.316 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/0.1446, allocations: 4 kB / 362.4 MB, free: 8.312 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1446, allocations: 0 / 362.4 MB, free: 8.312 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.1446, allocations: 8 kB / 362.4 MB, free: 8.305 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000284/0.1449, allocations: 271.4 kB / 362.6 MB, free: 8.02 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.264e-05/0.145, allocations: 93 kB / 362.7 MB, free: 7.91 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.266e-05/0.145, allocations: 4 kB / 362.7 MB, free: 7.906 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001179/0.1451, allocations: 11.92 kB / 362.7 MB, free: 7.895 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.738e-05/0.1452, allocations: 4 kB / 362.7 MB, free: 7.891 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/0.1452, allocations: 0 / 362.7 MB, free: 7.891 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001083/0.1453, allocations: 123.2 kB / 362.9 MB, free: 7.77 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1453, allocations: 0 / 362.9 MB, free: 7.77 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002736/0.1456, allocations: 11.91 kB / 362.9 MB, free: 7.758 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.000629/0.1463, allocations: 0.8022 MB / 363.7 MB, free: 6.926 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002161/0.1465, allocations: 55.89 kB / 363.7 MB, free: 6.871 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1465, allocations: 256 / 363.7 MB, free: 6.871 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.277e-05/0.1466, allocations: 23.98 kB / 363.8 MB, free: 6.848 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006168/0.1472, allocations: 26.77 kB / 363.8 MB, free: 6.824 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001832/0.149, allocations: 1.595 MB / 365.4 MB, free: 5.121 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000351/0.1494, allocations: 0.6965 MB / 366.1 MB, free: 4.398 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.913e-05/0.1495, allocations: 16.2 kB / 366.1 MB, free: 4.383 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.394e-05/0.1495, allocations: 19.42 kB / 366.1 MB, free: 4.367 MB / 302.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1496, allocations: 4 kB / 366.1 MB, free: 4.363 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01488/0.1644, allocations: 1.742 MB / 367.9 MB, free: 2.773 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003461/0.1648, allocations: 235 kB / 368.1 MB, free: 2.512 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.835/2, allocations: 3.5 kB / 368.1 MB, free: 2.512 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleVectorizedAndClocked_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 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.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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches