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.001048/0.001058, allocations: 89.67 kB / 16.65 MB, free: 6.59 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.001023/0.001023, allocations: 182.5 kB / 17.56 MB, free: 6.203 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.656/1.656, allocations: 223.3 MB / 241.6 MB, free: 116 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003132/0.0003133, allocations: 8 kB / 301.5 MB, free: 6.02 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1444/0.1447, allocations: 50.41 MB / 351.9 MB, free: 3.602 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample): time 0.002954/0.1478, allocations: 1.292 MB / 353.2 MB, free: 2.297 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001206/0.149, allocations: 470.9 kB / 353.7 MB, free: 1.832 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001215/0.1492, allocations: 0 / 353.7 MB, free: 1.832 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.356e-05/0.1492, allocations: 11.86 kB / 353.7 MB, free: 1.82 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001745/0.1494, allocations: 11.94 kB / 353.7 MB, free: 1.809 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003738/0.1498, allocations: 47.14 kB / 353.8 MB, free: 1.766 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001276/0.1499, allocations: 43.8 kB / 353.8 MB, free: 1.723 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001608/0.1501, allocations: 12.17 kB / 353.8 MB, free: 1.711 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000102/0.1502, allocations: 23.92 kB / 353.8 MB, free: 1.688 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.392e-05/0.1503, allocations: 19.86 kB / 353.9 MB, free: 1.668 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.482e-05/0.1503, allocations: 0 / 353.9 MB, free: 1.668 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.829e-05/0.1504, allocations: 4 kB / 353.9 MB, free: 1.664 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.374e-05/0.1504, allocations: 11.94 kB / 353.9 MB, free: 1.652 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.2e-05/0.1505, allocations: 53.48 kB / 353.9 MB, free: 1.594 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000131/0.1507, allocations: 43.81 kB / 354 MB, free: 1.551 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.1507, allocations: 0 / 354 MB, free: 1.551 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.1507, allocations: 0 / 354 MB, free: 1.551 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.563e-06/0.1507, allocations: 0 / 354 MB, free: 1.551 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.0006772/0.1514, allocations: 379.4 kB / 354.3 MB, free: 1.133 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.598e-05/0.1515, allocations: 8.031 kB / 354.4 MB, free: 1.125 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.362e-05/0.1515, allocations: 34.75 kB / 354.4 MB, free: 1.082 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.173e-05/0.1516, allocations: 12.83 kB / 354.4 MB, free: 1.07 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002759/0.1519, allocations: 194.8 kB / 354.6 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/0.1519, allocations: 4.375 kB / 354.6 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.355e-05/0.1519, allocations: 384 / 354.6 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003751/0.1523, allocations: 133.8 kB / 354.7 MB, free: 0.6875 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.1523, allocations: 0 / 354.7 MB, free: 0.6875 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.492e-05/0.1523, allocations: 3.984 kB / 354.7 MB, free: 0.6836 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.1523, allocations: 0 / 354.7 MB, free: 0.6836 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001011/0.1525, allocations: 27.92 kB / 354.8 MB, free: 0.6562 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004691/0.1529, allocations: 282.5 kB / 355 MB, free: 332 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001528/0.1531, allocations: 71.78 kB / 355.1 MB, free: 232 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.17e-05/0.1532, allocations: 30.64 kB / 355.1 MB, free: 192 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.64e-05/0.1532, allocations: 3.984 kB / 355.1 MB, free: 188 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.613e-05/0.1533, allocations: 38.5 kB / 355.2 MB, free: 140 kB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.1533, allocations: 0 / 355.2 MB, free: 140 kB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003426/0.1536, allocations: 93.52 kB / 355.3 MB, free: 40 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.198e-05/0.1537, allocations: 102.8 kB / 355.4 MB, free: 15.91 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001609/0.1539, allocations: 141.8 kB / 355.5 MB, free: 15.77 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.299e-05/0.1539, allocations: 26.08 kB / 355.5 MB, free: 15.73 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.557e-05/0.154, allocations: 100.1 kB / 355.6 MB, free: 15.63 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.571e-05/0.154, allocations: 11.83 kB / 355.6 MB, free: 15.62 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.617e-05/0.1541, allocations: 9.719 kB / 355.6 MB, free: 15.61 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001811/0.1543, allocations: 326.8 kB / 356 MB, free: 15.28 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.582e-05/0.1543, allocations: 8 kB / 356 MB, free: 15.27 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.323e-05/0.1544, allocations: 43.36 kB / 356 MB, free: 15.21 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001141/0.1545, allocations: 47.36 kB / 356.1 MB, free: 15.16 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.1545, allocations: 0 / 356.1 MB, free: 15.16 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001405/0.1547, allocations: 77.7 kB / 356.1 MB, free: 15.07 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.1547, allocations: 10.81 kB / 356.1 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.1547, allocations: 0 / 356.1 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.1547, allocations: 3.984 kB / 356.2 MB, free: 15.06 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.407e-05/0.1548, allocations: 11.98 kB / 356.2 MB, free: 15.05 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.1548, allocations: 7.938 kB / 356.2 MB, free: 15.04 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.237e-05/0.1549, allocations: 8.031 kB / 356.2 MB, free: 15.04 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.714e-06/0.1549, allocations: 4 kB / 356.2 MB, free: 15.03 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.677e-05/0.155, allocations: 117.8 kB / 356.3 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.914e-05/0.1551, allocations: 53.59 kB / 356.4 MB, free: 14.85 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.042e-05/0.1551, allocations: 11.88 kB / 356.4 MB, free: 14.83 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.1551, allocations: 3.938 kB / 356.4 MB, free: 14.83 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.1552, allocations: 3.984 kB / 356.4 MB, free: 14.82 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.1552, allocations: 0 / 356.4 MB, free: 14.82 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001957/0.1554, allocations: 177.7 kB / 356.5 MB, free: 14.6 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1554, allocations: 0 / 356.5 MB, free: 14.6 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.783e-05/0.1554, allocations: 11.98 kB / 356.6 MB, free: 14.59 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.1554, allocations: 4 kB / 356.6 MB, free: 14.59 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.1555, allocations: 0 / 356.6 MB, free: 14.59 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.1555, allocations: 0 / 356.6 MB, free: 14.59 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.1555, allocations: 4 kB / 356.6 MB, free: 14.58 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002251/0.1557, allocations: 189 kB / 356.7 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.625e-05/0.1558, allocations: 93 kB / 356.8 MB, free: 14.27 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.792e-05/0.1558, allocations: 0 / 356.8 MB, free: 14.27 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.987e-05/0.1559, allocations: 8 kB / 356.8 MB, free: 14.26 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.384e-05/0.1559, allocations: 0 / 356.8 MB, free: 14.26 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.953e-06/0.1559, allocations: 7.984 kB / 356.9 MB, free: 14.25 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.53e-05/0.156, allocations: 109.8 kB / 357 MB, free: 14.14 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.094e-06/0.156, allocations: 0 / 357 MB, free: 14.14 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002267/0.1563, allocations: 11.94 kB / 357 MB, free: 14.13 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.0005723/0.1568, allocations: 0.7217 MB / 357.7 MB, free: 13.38 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001556/0.157, allocations: 35.98 kB / 357.7 MB, free: 13.34 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.157, allocations: 0 / 357.7 MB, free: 13.34 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.224e-05/0.1571, allocations: 16.17 kB / 357.7 MB, free: 13.33 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004412/0.1575, allocations: 24.03 kB / 357.8 MB, free: 13.3 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001645/0.1592, allocations: 1.427 MB / 359.2 MB, free: 11.77 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000407/0.1596, allocations: 0.6887 MB / 359.9 MB, free: 11.05 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.197e-05/0.1597, allocations: 7.984 kB / 359.9 MB, free: 11.05 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.598e-05/0.1597, allocations: 15.44 kB / 359.9 MB, free: 11.03 MB / 302.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1597, allocations: 0 / 359.9 MB, free: 11.03 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01224/0.172, allocations: 1.422 MB / 361.3 MB, free: 9.746 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002492/0.1722, allocations: 214.4 kB / 361.5 MB, free: 9.488 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.008/2.18, allocations: 0 / 361.5 MB, free: 9.488 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