Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.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.SubSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SubSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SubSample",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.001165/0.001165, allocations: 114.6 kB / 16.63 MB, free: 6.812 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.0014/0.001401, allocations: 185.8 kB / 17.55 MB, free: 5.934 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.426/1.426, allocations: 222.9 MB / 241.2 MB, free: 15.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00186/0.00186, allocations: 45.98 kB / 300.2 MB, free: 6.121 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1232, allocations: 49.45 MB / 349.7 MB, free: 4.668 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample): time 0.002927/0.1262, allocations: 1.62 MB / 351.3 MB, free: 3.031 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007357/0.127, allocations: 486.8 kB / 351.8 MB, free: 2.551 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.263e-05/0.1271, allocations: 0 / 351.8 MB, free: 2.551 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.298e-05/0.1271, allocations: 7.922 kB / 351.8 MB, free: 2.543 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001293/0.1273, allocations: 7.938 kB / 351.8 MB, free: 2.535 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002553/0.1275, allocations: 54.12 kB / 351.8 MB, free: 2.484 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.523e-05/0.1277, allocations: 47.8 kB / 351.9 MB, free: 2.438 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.827e-05/0.1278, allocations: 20.17 kB / 351.9 MB, free: 2.418 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.717e-05/0.1278, allocations: 23.91 kB / 351.9 MB, free: 2.395 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.115e-05/0.1279, allocations: 23.86 kB / 352 MB, free: 2.371 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.53e-05/0.1279, allocations: 0 / 352 MB, free: 2.371 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.304e-05/0.1279, allocations: 4 kB / 352 MB, free: 2.367 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.859e-05/0.128, allocations: 15.92 kB / 352 MB, free: 2.352 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.397e-05/0.128, allocations: 27.81 kB / 352 MB, free: 2.324 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001121/0.1281, allocations: 51.8 kB / 352.1 MB, free: 2.273 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.1282, allocations: 4 kB / 352.1 MB, free: 2.27 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.186e-06/0.1282, allocations: 0 / 352.1 MB, free: 2.27 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.859e-06/0.1282, allocations: 3.938 kB / 352.1 MB, free: 2.266 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004516/0.1286, allocations: 379.3 kB / 352.4 MB, free: 1.848 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.1287, allocations: 8.031 kB / 352.4 MB, free: 1.84 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.191e-05/0.1287, allocations: 34.75 kB / 352.5 MB, free: 1.797 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.587e-05/0.1288, allocations: 12.84 kB / 352.5 MB, free: 1.785 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000188/0.129, allocations: 198.5 kB / 352.7 MB, free: 1.555 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.129, allocations: 4.375 kB / 352.7 MB, free: 1.551 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.929e-06/0.129, allocations: 4.375 kB / 352.7 MB, free: 1.547 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002602/0.1293, allocations: 117.8 kB / 352.8 MB, free: 1.41 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.1293, allocations: 0 / 352.8 MB, free: 1.41 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-06/0.1293, allocations: 0 / 352.8 MB, free: 1.41 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.1293, allocations: 0 / 352.8 MB, free: 1.41 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.132e-05/0.1294, allocations: 39.84 kB / 352.8 MB, free: 1.371 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000307/0.1297, allocations: 270.5 kB / 353.1 MB, free: 1.051 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001019/0.1298, allocations: 75.78 kB / 353.2 MB, free: 0.9492 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.097e-05/0.1299, allocations: 30.58 kB / 353.2 MB, free: 0.9102 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.08e-05/0.1299, allocations: 4 kB / 353.2 MB, free: 0.9062 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.852e-05/0.1299, allocations: 34.55 kB / 353.3 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.1299, allocations: 4 kB / 353.3 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002457/0.1302, allocations: 81.52 kB / 353.3 MB, free: 0.7734 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.961e-05/0.1303, allocations: 110.8 kB / 353.4 MB, free: 0.6406 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001199/0.1304, allocations: 145.8 kB / 353.6 MB, free: 500 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.33e-05/0.1304, allocations: 25.7 kB / 353.6 MB, free: 468 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.528e-05/0.1305, allocations: 88.52 kB / 353.7 MB, free: 376 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.839e-05/0.1305, allocations: 11.91 kB / 353.7 MB, free: 364 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.261e-05/0.1305, allocations: 13.72 kB / 353.7 MB, free: 344 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001079/0.1307, allocations: 322.8 kB / 354 MB, free: 12 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.369e-05/0.1307, allocations: 11.98 kB / 354.1 MB, free: 0 / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.257e-05/0.1308, allocations: 31.52 kB / 354.1 MB, free: 15.95 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.709e-05/0.1309, allocations: 47.36 kB / 354.1 MB, free: 15.89 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.1309, allocations: 0 / 354.1 MB, free: 15.89 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001263/0.131, allocations: 73.52 kB / 354.2 MB, free: 15.82 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.131, allocations: 8.125 kB / 354.2 MB, free: 15.81 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.1311, allocations: 4 kB / 354.2 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.397e-06/0.1311, allocations: 0 / 354.2 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.666e-05/0.1311, allocations: 15.92 kB / 354.2 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.1312, allocations: 0 / 354.2 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.007e-05/0.1312, allocations: 4 kB / 354.2 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.1312, allocations: 4 kB / 354.2 MB, free: 15.78 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.115e-05/0.1313, allocations: 121.8 kB / 354.4 MB, free: 15.65 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.136e-05/0.1314, allocations: 49.58 kB / 354.4 MB, free: 15.6 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.34e-05/0.1314, allocations: 19.89 kB / 354.4 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.1314, allocations: 0 / 354.4 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.882e-06/0.1315, allocations: 4 kB / 354.4 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.1315, allocations: 4 kB / 354.4 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000187/0.1317, allocations: 173.6 kB / 354.6 MB, free: 15.35 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.1317, allocations: 0 / 354.6 MB, free: 15.35 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.97e-05/0.1317, allocations: 11.98 kB / 354.6 MB, free: 15.34 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.1317, allocations: 0 / 354.6 MB, free: 15.34 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.184e-06/0.1317, allocations: 0 / 354.6 MB, free: 15.34 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.015e-06/0.1318, allocations: 4 kB / 354.6 MB, free: 15.33 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1318, allocations: 4 kB / 354.6 MB, free: 15.33 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001757/0.1319, allocations: 185.1 kB / 354.8 MB, free: 15.12 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.657e-05/0.132, allocations: 93 kB / 354.9 MB, free: 15.02 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.507e-05/0.132, allocations: 7.938 kB / 354.9 MB, free: 15.01 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.819e-05/0.1321, allocations: 0 / 354.9 MB, free: 15.01 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.246e-05/0.1322, allocations: 11.98 kB / 354.9 MB, free: 15 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.968e-06/0.1322, allocations: 3.938 kB / 354.9 MB, free: 14.99 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.48e-05/0.1322, allocations: 106.5 kB / 355 MB, free: 14.89 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1322, allocations: 0 / 355 MB, free: 14.89 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002251/0.1325, allocations: 12 kB / 355 MB, free: 14.88 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 (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 Backend phase and start with SimCode phase: time 0.0004371/0.1329, allocations: 0.7178 MB / 355.7 MB, free: 14.13 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001304/0.1331, allocations: 31.92 kB / 355.8 MB, free: 14.1 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.1331, allocations: 0 / 355.8 MB, free: 14.1 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.874e-05/0.1331, allocations: 11.98 kB / 355.8 MB, free: 14.09 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003781/0.1335, allocations: 28.33 kB / 355.8 MB, free: 14.06 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001268/0.1348, allocations: 1.406 MB / 357.2 MB, free: 12.54 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002432/0.135, allocations: 0.6963 MB / 357.9 MB, free: 11.82 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.194e-05/0.1351, allocations: 3.984 kB / 357.9 MB, free: 11.82 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.873e-05/0.1351, allocations: 15.44 kB / 357.9 MB, free: 11.8 MB / 302.1 MB Notification: Performance of SimCode: time 1.523e-06/0.1351, allocations: 0 / 357.9 MB, free: 11.8 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7693/0.9044, allocations: 1.548 MB / 359.5 MB, free: 10.39 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003/0.9048, allocations: 214.2 kB / 359.7 MB, free: 10.13 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.151/3.056, allocations: 0 / 359.7 MB, free: 10.13 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SubSample_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SubSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SubSample/SubSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches