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.5 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001749/0.001749, allocations: 216.5 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.558/1.558, allocations: 227.4 MB / 246.8 MB, free: 10.55 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001324, allocations: 59.8 kB / 307.1 MB, free: 500 kB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1236, allocations: 50.52 MB / 357.6 MB, free: 13.96 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.005167/0.1288, allocations: 1.618 MB / 359.2 MB, free: 12.33 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001398/0.1303, allocations: 0.5571 MB / 359.8 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001556/0.1305, allocations: 7.938 kB / 359.8 MB, free: 11.76 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001394/0.1307, allocations: 3.938 kB / 359.8 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001647/0.1308, allocations: 15.86 kB / 359.8 MB, free: 11.74 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005025/0.1314, allocations: 63.8 kB / 359.8 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001995/0.1316, allocations: 63.78 kB / 359.9 MB, free: 11.61 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001882/0.1318, allocations: 23.98 kB / 359.9 MB, free: 11.59 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001908/0.132, allocations: 39.78 kB / 360 MB, free: 11.55 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001042/0.1321, allocations: 31.84 kB / 360 MB, free: 11.52 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.689e-05/0.1321, allocations: 4 kB / 360 MB, free: 11.52 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.946e-05/0.1322, allocations: 4 kB / 360 MB, free: 11.51 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.569e-05/0.1323, allocations: 19.92 kB / 360 MB, free: 11.49 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.736e-05/0.1323, allocations: 31.75 kB / 360.1 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002194/0.1326, allocations: 71.72 kB / 360.1 MB, free: 11.39 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.1326, allocations: 0 / 360.1 MB, free: 11.39 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.905e-06/0.1326, allocations: 4 kB / 360.1 MB, free: 11.39 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.336e-05/0.1326, allocations: 0 / 360.1 MB, free: 11.39 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.0007893/0.1334, allocations: 407.2 kB / 360.5 MB, free: 10.94 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.519e-05/0.1335, allocations: 12.02 kB / 360.5 MB, free: 10.93 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001958/0.1337, allocations: 38.69 kB / 360.6 MB, free: 10.88 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002625/0.134, allocations: 32.83 kB / 360.6 MB, free: 10.85 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002623/0.1342, allocations: 205 kB / 360.8 MB, free: 10.61 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.1342, allocations: 8.375 kB / 360.8 MB, free: 10.61 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.879e-06/0.1343, allocations: 384 / 360.8 MB, free: 10.61 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003447/0.1346, allocations: 138 kB / 361 MB, free: 10.45 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.968e-06/0.1346, allocations: 0 / 361 MB, free: 10.45 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.1347, allocations: 0 / 361 MB, free: 10.45 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.887e-05/0.1347, allocations: 4 kB / 361 MB, free: 10.45 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001371/0.1348, allocations: 39.91 kB / 361 MB, free: 10.41 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004894/0.1353, allocations: 373.9 kB / 361.4 MB, free: 9.984 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001431/0.1355, allocations: 83.77 kB / 361.4 MB, free: 9.875 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.613e-05/0.1356, allocations: 38.62 kB / 361.5 MB, free: 9.828 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.985e-05/0.1356, allocations: 12 kB / 361.5 MB, free: 9.816 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.895e-05/0.1356, allocations: 34.5 kB / 361.5 MB, free: 9.773 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.553e-06/0.1357, allocations: 0 / 361.5 MB, free: 9.773 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003897/0.1361, allocations: 117.8 kB / 361.6 MB, free: 9.652 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.668e-05/0.1361, allocations: 106.8 kB / 361.8 MB, free: 9.523 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001579/0.1363, allocations: 158.8 kB / 361.9 MB, free: 9.359 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.056e-05/0.1363, allocations: 29.7 kB / 361.9 MB, free: 9.324 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.485e-05/0.1364, allocations: 92.08 kB / 362 MB, free: 9.23 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.684e-05/0.1364, allocations: 7.906 kB / 362 MB, free: 9.223 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.931e-05/0.1365, allocations: 25.61 kB / 362.1 MB, free: 9.191 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001388/0.1367, allocations: 318.8 kB / 362.4 MB, free: 8.871 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.118e-05/0.1367, allocations: 23.98 kB / 362.4 MB, free: 8.848 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.314e-05/0.1368, allocations: 51.28 kB / 362.4 MB, free: 8.785 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001641/0.137, allocations: 67.41 kB / 362.5 MB, free: 8.707 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.137, allocations: 0 / 362.5 MB, free: 8.707 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002138/0.1372, allocations: 93.44 kB / 362.6 MB, free: 8.609 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.337e-05/0.1373, allocations: 6.969 kB / 362.6 MB, free: 8.605 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.1373, allocations: 0 / 362.6 MB, free: 8.605 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.024e-05/0.1373, allocations: 0 / 362.6 MB, free: 8.605 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001143/0.1374, allocations: 20.11 kB / 362.6 MB, free: 8.586 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/0.1375, allocations: 0 / 362.6 MB, free: 8.586 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.225e-05/0.1375, allocations: 4 kB / 362.6 MB, free: 8.582 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.226e-05/0.1376, allocations: 4 kB / 362.6 MB, free: 8.578 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.000121/0.1377, allocations: 129.6 kB / 362.8 MB, free: 8.441 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001407/0.1378, allocations: 53.59 kB / 362.8 MB, free: 8.383 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.979e-05/0.1379, allocations: 19.77 kB / 362.8 MB, free: 8.359 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.654e-05/0.1379, allocations: 4 kB / 362.8 MB, free: 8.355 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.1379, allocations: 4.031 kB / 362.8 MB, free: 8.352 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.1379, allocations: 3.984 kB / 362.8 MB, free: 8.348 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002822/0.1382, allocations: 181.6 kB / 363 MB, free: 8.121 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/0.1382, allocations: 3.984 kB / 363 MB, free: 8.117 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.857e-05/0.1383, allocations: 8 kB / 363 MB, free: 8.109 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.1383, allocations: 0 / 363 MB, free: 8.109 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.248e-06/0.1383, allocations: 0 / 363 MB, free: 8.109 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.883e-06/0.1383, allocations: 7.984 kB / 363 MB, free: 8.102 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.1383, allocations: 0 / 363 MB, free: 8.102 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000385/0.1387, allocations: 279.4 kB / 363.3 MB, free: 7.809 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.483e-05/0.1388, allocations: 89 kB / 363.4 MB, free: 7.703 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.921e-05/0.1388, allocations: 0 / 363.4 MB, free: 7.703 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001459/0.139, allocations: 7.984 kB / 363.4 MB, free: 7.695 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.875e-05/0.1391, allocations: 8 kB / 363.4 MB, free: 7.688 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.96e-06/0.1391, allocations: 4 kB / 363.4 MB, free: 7.684 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.098e-05/0.1392, allocations: 115.2 kB / 363.5 MB, free: 7.57 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1392, allocations: 0 / 363.5 MB, free: 7.57 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003109/0.1395, allocations: 15.91 kB / 363.5 MB, free: 7.555 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.0006076/0.1401, allocations: 0.8061 MB / 364.4 MB, free: 6.719 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002179/0.1403, allocations: 55.89 kB / 364.4 MB, free: 6.664 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.109e-06/0.1403, allocations: 0 / 364.4 MB, free: 6.664 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.215e-05/0.1404, allocations: 24.23 kB / 364.4 MB, free: 6.641 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005761/0.141, allocations: 24.08 kB / 364.5 MB, free: 6.617 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002012/0.143, allocations: 1.565 MB / 366 MB, free: 4.941 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004213/0.1435, allocations: 0.7002 MB / 366.7 MB, free: 4.215 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.458e-05/0.1436, allocations: 12.2 kB / 366.7 MB, free: 4.203 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.542e-05/0.1436, allocations: 19.44 kB / 366.8 MB, free: 4.188 MB / 302.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1436, allocations: 0 / 366.8 MB, free: 4.188 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02283/0.1665, allocations: 1.926 MB / 368.7 MB, free: 2.391 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.103/8.269, allocations: 10.59 kB / 368.7 MB, free: 2.383 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