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.00127/0.00127, allocations: 109.8 kB / 16.51 MB, free: 6.707 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.001307/0.001307, allocations: 190.5 kB / 17.43 MB, free: 6.066 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.501/1.501, allocations: 222.9 MB / 241.1 MB, free: 13.66 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001486/0.001486, allocations: 48.33 kB / 300.1 MB, free: 5.957 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1303/0.1318, allocations: 49.43 MB / 349.5 MB, free: 4.52 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample): time 0.004495/0.1364, allocations: 1.635 MB / 351.1 MB, free: 2.867 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00116/0.1376, allocations: 486.7 kB / 351.6 MB, free: 2.387 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001353/0.1377, allocations: 0 / 351.6 MB, free: 2.387 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 7.773e-05/0.1379, allocations: 3.938 kB / 351.6 MB, free: 2.383 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000169/0.138, allocations: 15.86 kB / 351.6 MB, free: 2.367 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003661/0.1384, allocations: 46.28 kB / 351.7 MB, free: 2.324 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001267/0.1386, allocations: 43.86 kB / 351.7 MB, free: 2.281 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001415/0.1387, allocations: 20.16 kB / 351.7 MB, free: 2.262 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.845e-05/0.1388, allocations: 19.92 kB / 351.8 MB, free: 2.242 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.093e-05/0.1389, allocations: 15.88 kB / 351.8 MB, free: 2.227 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.141e-05/0.1389, allocations: 4 kB / 351.8 MB, free: 2.223 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.456e-05/0.1389, allocations: 0 / 351.8 MB, free: 2.223 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.987e-05/0.139, allocations: 15.92 kB / 351.8 MB, free: 2.207 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.167e-05/0.1391, allocations: 35.78 kB / 351.8 MB, free: 2.172 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001323/0.1392, allocations: 47.77 kB / 351.9 MB, free: 2.125 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.1392, allocations: 0 / 351.9 MB, free: 2.125 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1392, allocations: 0 / 351.9 MB, free: 2.125 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.109e-06/0.1392, allocations: 0 / 351.9 MB, free: 2.125 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.0006969/0.1399, allocations: 387.3 kB / 352.3 MB, free: 1.699 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.808e-05/0.14, allocations: 8.031 kB / 352.3 MB, free: 1.691 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.736e-05/0.1401, allocations: 34.75 kB / 352.3 MB, free: 1.648 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.917e-05/0.1401, allocations: 12.84 kB / 352.3 MB, free: 1.637 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003036/0.1404, allocations: 196.1 kB / 352.5 MB, free: 1.406 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.1405, allocations: 384 / 352.5 MB, free: 1.406 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.621e-05/0.1405, allocations: 4.375 kB / 352.5 MB, free: 1.402 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000359/0.1409, allocations: 117.8 kB / 352.6 MB, free: 1.266 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.1409, allocations: 4 kB / 352.6 MB, free: 1.262 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.1409, allocations: 0 / 352.6 MB, free: 1.262 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.221e-06/0.1409, allocations: 0 / 352.6 MB, free: 1.262 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.891e-05/0.141, allocations: 27.91 kB / 352.7 MB, free: 1.234 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004852/0.1415, allocations: 278.5 kB / 352.9 MB, free: 0.9062 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000144/0.1417, allocations: 75.72 kB / 353 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.176e-05/0.1418, allocations: 38.56 kB / 353 MB, free: 0.7578 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.898e-05/0.1418, allocations: 0 / 353 MB, free: 0.7578 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.479e-05/0.1418, allocations: 38.56 kB / 353.1 MB, free: 0.7109 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.1418, allocations: 0 / 353.1 MB, free: 0.7109 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003653/0.1422, allocations: 81.52 kB / 353.2 MB, free: 0.625 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.548e-05/0.1423, allocations: 114.7 kB / 353.3 MB, free: 500 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001622/0.1425, allocations: 141 kB / 353.4 MB, free: 352 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.933e-05/0.1425, allocations: 29.7 kB / 353.4 MB, free: 316 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.426e-05/0.1426, allocations: 84.14 kB / 353.5 MB, free: 228 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.983e-05/0.1426, allocations: 19.88 kB / 353.5 MB, free: 208 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.067e-05/0.1427, allocations: 13.72 kB / 353.5 MB, free: 188 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001825/0.1429, allocations: 322.7 kB / 353.9 MB, free: 15.86 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.166e-05/0.1429, allocations: 11.98 kB / 353.9 MB, free: 15.85 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.907e-05/0.143, allocations: 35.42 kB / 353.9 MB, free: 15.8 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001053/0.1431, allocations: 47.36 kB / 354 MB, free: 15.74 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.1431, allocations: 0 / 354 MB, free: 15.74 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001635/0.1433, allocations: 73.53 kB / 354 MB, free: 15.66 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/0.1433, allocations: 10.64 kB / 354 MB, free: 15.66 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.1433, allocations: 4 kB / 354 MB, free: 15.65 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.1434, allocations: 0 / 354 MB, free: 15.65 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.827e-05/0.1435, allocations: 11.94 kB / 354.1 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.1435, allocations: 0 / 354.1 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.928e-05/0.1435, allocations: 7.984 kB / 354.1 MB, free: 15.63 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.1435, allocations: 0 / 354.1 MB, free: 15.63 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.0001066/0.1437, allocations: 125.9 kB / 354.2 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.827e-05/0.1438, allocations: 53.53 kB / 354.2 MB, free: 15.44 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.627e-05/0.1438, allocations: 11.88 kB / 354.2 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.1438, allocations: 0 / 354.2 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.1438, allocations: 0 / 354.2 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.278e-06/0.1439, allocations: 4 kB / 354.3 MB, free: 15.42 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002228/0.1441, allocations: 173.6 kB / 354.4 MB, free: 15.2 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.932e-06/0.1441, allocations: 4 kB / 354.4 MB, free: 15.2 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.196e-05/0.1442, allocations: 4 kB / 354.4 MB, free: 15.2 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.549e-06/0.1442, allocations: 8.062 kB / 354.4 MB, free: 15.19 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.1442, allocations: 0 / 354.4 MB, free: 15.19 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.1442, allocations: 3.938 kB / 354.4 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.1442, allocations: 4 kB / 354.4 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002221/0.1444, allocations: 181 kB / 354.6 MB, free: 14.98 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.833e-05/0.1445, allocations: 101 kB / 354.7 MB, free: 14.86 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.791e-05/0.1446, allocations: 0 / 354.7 MB, free: 14.86 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.255e-05/0.1446, allocations: 4 kB / 354.7 MB, free: 14.86 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.742e-05/0.1447, allocations: 0 / 354.7 MB, free: 14.86 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.718e-06/0.1447, allocations: 8 kB / 354.7 MB, free: 14.85 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.985e-05/0.1448, allocations: 107.2 kB / 354.8 MB, free: 14.75 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1448, allocations: 0 / 354.8 MB, free: 14.75 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002445/0.1451, allocations: 8 kB / 354.8 MB, free: 14.74 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.0006152/0.1457, allocations: 0.7139 MB / 355.6 MB, free: 13.99 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001586/0.1459, allocations: 39.91 kB / 355.6 MB, free: 13.95 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1459, allocations: 4.25 kB / 355.6 MB, free: 13.95 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.763e-05/0.1459, allocations: 4 kB / 355.6 MB, free: 13.95 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004865/0.1464, allocations: 27.95 kB / 355.6 MB, free: 13.92 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001701/0.1481, allocations: 1.406 MB / 357 MB, free: 12.4 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005336/0.1487, allocations: 0.6965 MB / 357.7 MB, free: 11.68 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.379e-05/0.1487, allocations: 4 kB / 357.7 MB, free: 11.67 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.839e-05/0.1488, allocations: 19.42 kB / 357.8 MB, free: 11.65 MB / 302.1 MB Notification: Performance of SimCode: time 9.22e-07/0.1488, allocations: 0 / 357.8 MB, free: 11.65 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01358/0.1624, allocations: 1.489 MB / 359.2 MB, free: 10.28 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002308/0.1627, allocations: 214 kB / 359.5 MB, free: 10.03 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.028/2.191, allocations: 4 kB / 359.5 MB, free: 10.02 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