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.001666/0.001666, allocations: 108.7 kB / 17.33 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0019/0.0019, allocations: 205.8 kB / 18.26 MB, free: 5.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.563/1.563, allocations: 227.4 MB / 246.4 MB, free: 10.75 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001418/0.001418, allocations: 64.02 kB / 306.6 MB, free: 0.8164 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1189/0.1203, allocations: 50.52 MB / 357.1 MB, free: 14.3 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.003733/0.1241, allocations: 1.687 MB / 358.8 MB, free: 12.6 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001288/0.1254, allocations: 0.5532 MB / 359.3 MB, free: 12.04 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001211/0.1256, allocations: 0 / 359.3 MB, free: 12.04 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001269/0.1257, allocations: 7.922 kB / 359.3 MB, free: 12.03 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001363/0.1259, allocations: 15.86 kB / 359.3 MB, free: 12.02 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003891/0.1263, allocations: 55.88 kB / 359.4 MB, free: 11.96 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001433/0.1265, allocations: 63.73 kB / 359.5 MB, free: 11.9 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001208/0.1266, allocations: 23.97 kB / 359.5 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001616/0.1268, allocations: 31.91 kB / 359.5 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.825e-05/0.1269, allocations: 31.8 kB / 359.6 MB, free: 11.81 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.184e-05/0.1269, allocations: 4 kB / 359.6 MB, free: 11.81 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.731e-05/0.127, allocations: 7.984 kB / 359.6 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.171e-05/0.127, allocations: 23.92 kB / 359.6 MB, free: 11.78 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.268e-05/0.1271, allocations: 35.73 kB / 359.6 MB, free: 11.74 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001708/0.1273, allocations: 75.72 kB / 359.7 MB, free: 11.67 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.1273, allocations: 4 kB / 359.7 MB, free: 11.66 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1273, allocations: 0 / 359.7 MB, free: 11.66 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.043e-06/0.1273, allocations: 0 / 359.7 MB, free: 11.66 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.0006061/0.1279, allocations: 399.1 kB / 360.1 MB, free: 11.23 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.085e-05/0.128, allocations: 8.031 kB / 360.1 MB, free: 11.22 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.156e-05/0.128, allocations: 38.75 kB / 360.1 MB, free: 11.17 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002619/0.1283, allocations: 32.81 kB / 360.2 MB, free: 11.14 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002259/0.1285, allocations: 205.1 kB / 360.4 MB, free: 10.9 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.1285, allocations: 4.375 kB / 360.4 MB, free: 10.9 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.082e-05/0.1286, allocations: 384 / 360.4 MB, free: 10.9 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003297/0.1289, allocations: 134 kB / 360.5 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.1289, allocations: 0 / 360.5 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.1289, allocations: 0 / 360.5 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.671e-05/0.129, allocations: 4 kB / 360.5 MB, free: 10.74 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001605/0.1291, allocations: 43.91 kB / 360.5 MB, free: 10.7 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004742/0.1296, allocations: 373.9 kB / 360.9 MB, free: 10.28 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001386/0.1298, allocations: 83.78 kB / 361 MB, free: 10.17 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.283e-05/0.1299, allocations: 46.55 kB / 361 MB, free: 10.11 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.1e-05/0.1299, allocations: 4 kB / 361 MB, free: 10.11 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.74e-05/0.1299, allocations: 34.55 kB / 361.1 MB, free: 10.07 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.332e-06/0.1299, allocations: 0 / 361.1 MB, free: 10.07 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004176/0.1304, allocations: 113.8 kB / 361.2 MB, free: 9.949 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.517e-05/0.1304, allocations: 110.8 kB / 361.3 MB, free: 9.816 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001373/0.1306, allocations: 158.8 kB / 361.5 MB, free: 9.652 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.671e-05/0.1306, allocations: 29.7 kB / 361.5 MB, free: 9.617 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.975e-05/0.1307, allocations: 100 kB / 361.6 MB, free: 9.516 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.496e-05/0.1307, allocations: 7.906 kB / 361.6 MB, free: 9.508 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.265e-05/0.1307, allocations: 25.56 kB / 361.6 MB, free: 9.477 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001312/0.1309, allocations: 322.8 kB / 361.9 MB, free: 9.152 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.898e-05/0.131, allocations: 19.98 kB / 361.9 MB, free: 9.133 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.681e-05/0.131, allocations: 39.42 kB / 362 MB, free: 9.082 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001968/0.1312, allocations: 71.33 kB / 362.1 MB, free: 9 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.1313, allocations: 3.938 kB / 362.1 MB, free: 8.996 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001951/0.1315, allocations: 85.52 kB / 362.1 MB, free: 8.906 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.1315, allocations: 4 kB / 362.1 MB, free: 8.902 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.1315, allocations: 0 / 362.1 MB, free: 8.902 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/0.1315, allocations: 8.109 kB / 362.2 MB, free: 8.895 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.441e-05/0.1316, allocations: 15.94 kB / 362.2 MB, free: 8.879 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.032e-06/0.1316, allocations: 0 / 362.2 MB, free: 8.879 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.855e-05/0.1317, allocations: 7.984 kB / 362.2 MB, free: 8.871 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.285e-05/0.1317, allocations: 8 kB / 362.2 MB, free: 8.863 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.401e-05/0.1318, allocations: 125.7 kB / 362.3 MB, free: 8.73 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.651e-05/0.1319, allocations: 45.61 kB / 362.4 MB, free: 8.68 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.222e-05/0.132, allocations: 19.81 kB / 362.4 MB, free: 8.656 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.439e-05/0.132, allocations: 8.031 kB / 362.4 MB, free: 8.648 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.441e-06/0.132, allocations: 0 / 362.4 MB, free: 8.648 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.132, allocations: 4 kB / 362.4 MB, free: 8.645 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002321/0.1322, allocations: 185.6 kB / 362.6 MB, free: 8.414 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.1322, allocations: 0 / 362.6 MB, free: 8.414 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.609e-05/0.1323, allocations: 15.92 kB / 362.6 MB, free: 8.398 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.1323, allocations: 0 / 362.6 MB, free: 8.398 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.1323, allocations: 0 / 362.6 MB, free: 8.398 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.1324, allocations: 4 kB / 362.6 MB, free: 8.395 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.1324, allocations: 0 / 362.6 MB, free: 8.395 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002957/0.1327, allocations: 275.5 kB / 362.9 MB, free: 8.105 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.944e-05/0.1327, allocations: 93 kB / 362.9 MB, free: 7.996 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.782e-05/0.1328, allocations: 0 / 362.9 MB, free: 7.996 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000112/0.1329, allocations: 4 kB / 362.9 MB, free: 7.992 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.4e-05/0.1329, allocations: 15.92 kB / 363 MB, free: 7.977 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.74e-06/0.1329, allocations: 0 / 363 MB, free: 7.977 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.18e-05/0.133, allocations: 119.2 kB / 363.1 MB, free: 7.859 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.133, allocations: 0 / 363.1 MB, free: 7.859 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002971/0.1333, allocations: 11.91 kB / 363.1 MB, free: 7.848 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.0006409/0.134, allocations: 0.81 MB / 363.9 MB, free: 7.008 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002234/0.1342, allocations: 47.91 kB / 363.9 MB, free: 6.961 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.1342, allocations: 0 / 363.9 MB, free: 6.961 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.401e-05/0.1343, allocations: 28.23 kB / 364 MB, free: 6.934 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006161/0.1349, allocations: 27.02 kB / 364 MB, free: 6.914 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002257/0.1372, allocations: 1.601 MB / 365.6 MB, free: 5.199 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004357/0.1377, allocations: 0.7002 MB / 366.3 MB, free: 4.473 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.561e-05/0.1378, allocations: 8.219 kB / 366.3 MB, free: 4.465 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.72e-05/0.1378, allocations: 23.42 kB / 366.3 MB, free: 4.445 MB / 302.1 MB Notification: Performance of SimCode: time 1.032e-06/0.1378, allocations: 0 / 366.3 MB, free: 4.445 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01474/0.1526, allocations: 1.785 MB / 368.1 MB, free: 2.832 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002244/0.1529, allocations: 239.2 kB / 368.4 MB, free: 2.566 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.026/2.179, allocations: 0 / 368.4 MB, free: 2.566 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