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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001372/0.001371, allocations: 88.53 kB / 16.65 MB, free: 6.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001651/0.001651, allocations: 173.1 kB / 17.56 MB, free: 6.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.666/1.666, allocations: 223.3 MB / 241.6 MB, free: 112 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003062/0.0003065, allocations: 4 kB / 301.5 MB, free: 6.039 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1204, allocations: 50.43 MB / 352 MB, free: 3.605 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.002219/0.1227, allocations: 1.319 MB / 353.3 MB, free: 2.273 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009862/0.1237, allocations: 470.9 kB / 353.7 MB, free: 1.809 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001211/0.1238, allocations: 4 kB / 353.7 MB, free: 1.805 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001109/0.124, allocations: 7.922 kB / 353.7 MB, free: 1.797 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001236/0.1241, allocations: 15.88 kB / 353.8 MB, free: 1.781 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003151/0.1244, allocations: 47.81 kB / 353.8 MB, free: 1.734 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001371/0.1246, allocations: 63.78 kB / 353.9 MB, free: 1.672 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001255/0.1247, allocations: 12 kB / 353.9 MB, free: 1.66 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.638e-05/0.1248, allocations: 23.8 kB / 353.9 MB, free: 1.637 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.52e-05/0.1249, allocations: 27.84 kB / 353.9 MB, free: 1.609 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.236e-05/0.1249, allocations: 8 kB / 353.9 MB, free: 1.602 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.414e-05/0.1249, allocations: 0 / 353.9 MB, free: 1.602 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.114e-05/0.125, allocations: 15.92 kB / 354 MB, free: 1.586 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.036e-05/0.1251, allocations: 53.5 kB / 354 MB, free: 1.527 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001213/0.1252, allocations: 63.72 kB / 354.1 MB, free: 1.465 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.1252, allocations: 0 / 354.1 MB, free: 1.465 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1252, allocations: 0 / 354.1 MB, free: 1.465 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.1253, allocations: 0 / 354.1 MB, free: 1.465 MB / 286.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.0005956/0.1259, allocations: 383.5 kB / 354.4 MB, free: 1.043 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.086e-05/0.1259, allocations: 11.97 kB / 354.5 MB, free: 1.031 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.035e-05/0.126, allocations: 38.75 kB / 354.5 MB, free: 0.9844 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.836e-05/0.126, allocations: 12.75 kB / 354.5 MB, free: 0.9727 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002916/0.1263, allocations: 204 kB / 354.7 MB, free: 0.7344 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.448e-05/0.1264, allocations: 384 / 354.7 MB, free: 0.7344 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.1264, allocations: 4.375 kB / 354.7 MB, free: 0.7305 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004556/0.1269, allocations: 138 kB / 354.8 MB, free: 0.5742 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.1269, allocations: 0 / 354.8 MB, free: 0.5742 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/0.1269, allocations: 0 / 354.8 MB, free: 0.5742 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.177e-05/0.127, allocations: 0 / 354.8 MB, free: 0.5742 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002494/0.1272, allocations: 47.97 kB / 354.9 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006605/0.1279, allocations: 381.8 kB / 355.3 MB, free: 100 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001679/0.1281, allocations: 91.77 kB / 355.4 MB, free: 15.98 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001029/0.1282, allocations: 46.61 kB / 355.4 MB, free: 15.93 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.922e-05/0.1282, allocations: 4 kB / 355.4 MB, free: 15.92 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.85e-05/0.1283, allocations: 30.56 kB / 355.4 MB, free: 15.88 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.432e-06/0.1283, allocations: 0 / 355.4 MB, free: 15.88 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004102/0.1287, allocations: 133.6 kB / 355.6 MB, free: 15.75 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.069e-05/0.1288, allocations: 106.8 kB / 355.7 MB, free: 15.62 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001363/0.1289, allocations: 150.2 kB / 355.8 MB, free: 15.46 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.616e-05/0.1289, allocations: 25.7 kB / 355.8 MB, free: 15.43 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.813e-05/0.129, allocations: 99.98 kB / 355.9 MB, free: 15.33 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.632e-05/0.129, allocations: 12.08 kB / 356 MB, free: 15.32 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.967e-05/0.1291, allocations: 9.719 kB / 356 MB, free: 15.3 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001113/0.1292, allocations: 330.7 kB / 356.3 MB, free: 14.97 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.462e-05/0.1293, allocations: 19.98 kB / 356.3 MB, free: 14.95 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.223e-05/0.1294, allocations: 47.42 kB / 356.3 MB, free: 14.89 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001664/0.1295, allocations: 79.33 kB / 356.4 MB, free: 14.8 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.1296, allocations: 0 / 356.4 MB, free: 14.8 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000211/0.1298, allocations: 93.55 kB / 356.5 MB, free: 14.7 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.286e-05/0.1298, allocations: 7.984 kB / 356.5 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.1298, allocations: 3.938 kB / 356.5 MB, free: 14.69 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.1298, allocations: 8.125 kB / 356.5 MB, free: 14.68 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.716e-05/0.1299, allocations: 8 kB / 356.5 MB, free: 14.68 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.056e-05/0.13, allocations: 7.984 kB / 356.6 MB, free: 14.67 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.216e-05/0.13, allocations: 7.906 kB / 356.6 MB, free: 14.66 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.195e-05/0.13, allocations: 4 kB / 356.6 MB, free: 14.66 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.0001039/0.1302, allocations: 121.8 kB / 356.7 MB, free: 14.53 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.606e-05/0.1303, allocations: 57.55 kB / 356.7 MB, free: 14.46 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.629e-05/0.1303, allocations: 15.86 kB / 356.8 MB, free: 14.45 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.74e-05/0.1303, allocations: 4 kB / 356.8 MB, free: 14.44 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.1303, allocations: 0 / 356.8 MB, free: 14.44 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.1303, allocations: 0 / 356.8 MB, free: 14.44 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002246/0.1306, allocations: 181.6 kB / 356.9 MB, free: 14.21 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.1306, allocations: 0 / 356.9 MB, free: 14.21 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.569e-05/0.1306, allocations: 15.98 kB / 357 MB, free: 14.2 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.1307, allocations: 0 / 357 MB, free: 14.2 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.098e-05/0.1307, allocations: 4 kB / 357 MB, free: 14.2 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.1307, allocations: 4.031 kB / 357 MB, free: 14.19 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.1307, allocations: 0 / 357 MB, free: 14.19 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002977/0.131, allocations: 287.4 kB / 357.2 MB, free: 13.89 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.301e-05/0.1311, allocations: 93 kB / 357.3 MB, free: 13.78 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.765e-05/0.1311, allocations: 0 / 357.3 MB, free: 13.78 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001157/0.1312, allocations: 8 kB / 357.3 MB, free: 13.77 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.062e-05/0.1313, allocations: 3.984 kB / 357.3 MB, free: 13.77 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.723e-06/0.1313, allocations: 4 kB / 357.3 MB, free: 13.77 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.715e-05/0.1314, allocations: 117.5 kB / 357.5 MB, free: 13.65 MB / 302.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1314, allocations: 0 / 357.5 MB, free: 13.65 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002707/0.1317, allocations: 8 kB / 357.5 MB, free: 13.64 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.0005823/0.1323, allocations: 0.8217 MB / 358.3 MB, free: 12.79 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002014/0.1325, allocations: 55.89 kB / 358.3 MB, free: 12.74 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.1325, allocations: 4 kB / 358.3 MB, free: 12.73 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.721e-05/0.1326, allocations: 24.23 kB / 358.4 MB, free: 12.71 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004738/0.1331, allocations: 30.7 kB / 358.4 MB, free: 12.68 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001678/0.1347, allocations: 1.611 MB / 360 MB, free: 10.95 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002753/0.135, allocations: 0.7004 MB / 360.7 MB, free: 10.23 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.791e-05/0.1351, allocations: 12.2 kB / 360.7 MB, free: 10.21 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.308e-05/0.1352, allocations: 19.44 kB / 360.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1352, allocations: 0 / 360.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01271/0.1479, allocations: 1.624 MB / 362.4 MB, free: 8.75 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000212/0.1481, allocations: 238.6 kB / 362.6 MB, free: 8.488 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.074/2.222, allocations: 0 / 362.6 MB, free: 8.488 MB / 302.1 MB (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 --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) 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) Reference file matches