Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.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.SuperSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample",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.002153/0.002153, allocations: 110.6 kB / 17.06 MB, free: 5.98 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.00275/0.002751, allocations: 195 kB / 18 MB, free: 5.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 2.802/2.802, allocations: 222.9 MB / 241.7 MB, free: 15.06 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002069/0.002069, allocations: 43.94 kB / 350.8 MB, free: 3.711 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5636/0.5657, allocations: 49.44 MB / 400.2 MB, free: 8.391 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.006728/0.5725, allocations: 1.575 MB / 401.8 MB, free: 7.168 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001792/0.5744, allocations: 0.498 MB / 402.3 MB, free: 6.715 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001542/0.5746, allocations: 0 / 402.3 MB, free: 6.715 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 8.953e-05/0.5747, allocations: 3.938 kB / 402.3 MB, free: 6.711 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002369/0.575, allocations: 19.8 kB / 402.3 MB, free: 6.691 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005989/0.5756, allocations: 51.83 kB / 402.4 MB, free: 6.641 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002246/0.5759, allocations: 55.77 kB / 402.4 MB, free: 6.586 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001722/0.5761, allocations: 12.19 kB / 402.5 MB, free: 6.574 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001449/0.5762, allocations: 19.92 kB / 402.5 MB, free: 6.555 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001071/0.5763, allocations: 23.86 kB / 402.5 MB, free: 6.531 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.715e-05/0.5764, allocations: 4 kB / 402.5 MB, free: 6.527 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.234e-05/0.5764, allocations: 4 kB / 402.5 MB, free: 6.523 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.755e-05/0.5765, allocations: 23.86 kB / 402.5 MB, free: 6.5 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.049e-05/0.5766, allocations: 23.8 kB / 402.6 MB, free: 6.477 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002121/0.5769, allocations: 63.73 kB / 402.6 MB, free: 6.414 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.017e-06/0.5769, allocations: 0 / 402.6 MB, free: 6.414 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.5769, allocations: 0 / 402.6 MB, free: 6.414 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.415e-06/0.5769, allocations: 0 / 402.6 MB, free: 6.414 MB / 318.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.0008576/0.5778, allocations: 372.9 kB / 403 MB, free: 6.004 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.954e-05/0.5779, allocations: 8.031 kB / 403 MB, free: 5.996 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.624e-05/0.578, allocations: 30.75 kB / 403 MB, free: 5.957 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.67e-05/0.578, allocations: 12.84 kB / 403 MB, free: 5.945 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004769/0.5785, allocations: 211.2 kB / 403.2 MB, free: 5.703 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.94e-05/0.5786, allocations: 4.312 kB / 403.2 MB, free: 5.699 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.392e-05/0.5786, allocations: 8.375 kB / 403.2 MB, free: 5.691 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004237/0.579, allocations: 113.8 kB / 403.4 MB, free: 5.559 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.5791, allocations: 0 / 403.4 MB, free: 5.559 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.237e-05/0.5791, allocations: 4 kB / 403.4 MB, free: 5.555 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.5791, allocations: 0 / 403.4 MB, free: 5.555 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001501/0.5793, allocations: 23.97 kB / 403.4 MB, free: 5.531 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005375/0.5798, allocations: 282.5 kB / 403.7 MB, free: 5.199 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001949/0.58, allocations: 67.78 kB / 403.7 MB, free: 5.105 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001384/0.5802, allocations: 34.62 kB / 403.8 MB, free: 5.062 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.442e-05/0.5802, allocations: 7.922 kB / 403.8 MB, free: 5.055 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.27e-05/0.5803, allocations: 34.56 kB / 403.8 MB, free: 5.012 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 2.013e-06/0.5803, allocations: 0 / 403.8 MB, free: 5.012 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004997/0.5808, allocations: 89.45 kB / 403.9 MB, free: 4.918 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000114/0.5809, allocations: 107.2 kB / 404 MB, free: 4.789 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000221/0.5812, allocations: 145.8 kB / 404.1 MB, free: 4.637 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.538e-05/0.5812, allocations: 29.7 kB / 404.2 MB, free: 4.602 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.565e-05/0.5813, allocations: 88.14 kB / 404.3 MB, free: 4.512 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.319e-05/0.5814, allocations: 0 / 404.3 MB, free: 4.512 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.17e-05/0.5815, allocations: 21.7 kB / 404.3 MB, free: 4.484 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000172/0.5816, allocations: 322.8 kB / 404.6 MB, free: 4.16 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.001e-05/0.5817, allocations: 7.984 kB / 404.6 MB, free: 4.152 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.264e-05/0.5818, allocations: 39.42 kB / 404.6 MB, free: 4.102 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001802/0.582, allocations: 51.3 kB / 404.7 MB, free: 4.039 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/0.5821, allocations: 4 kB / 404.7 MB, free: 4.035 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002476/0.5823, allocations: 69.47 kB / 404.8 MB, free: 3.961 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.289e-05/0.5824, allocations: 8 kB / 404.8 MB, free: 3.953 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.5824, allocations: 0 / 404.8 MB, free: 3.953 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.272e-05/0.5824, allocations: 0 / 404.8 MB, free: 3.953 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001375/0.5826, allocations: 11.98 kB / 404.8 MB, free: 3.941 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.65e-05/0.5826, allocations: 4 kB / 404.8 MB, free: 3.938 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.887e-05/0.5827, allocations: 7.938 kB / 404.8 MB, free: 3.93 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.661e-05/0.5827, allocations: 4 kB / 404.8 MB, free: 3.926 MB / 318.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.0001297/0.5829, allocations: 125.9 kB / 404.9 MB, free: 3.793 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001377/0.583, allocations: 53.55 kB / 405 MB, free: 3.734 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.542e-05/0.5831, allocations: 11.86 kB / 405 MB, free: 3.719 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.429e-06/0.5831, allocations: 4 kB / 405 MB, free: 3.715 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/0.5831, allocations: 0 / 405 MB, free: 3.715 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.5832, allocations: 0 / 405 MB, free: 3.715 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00032/0.5835, allocations: 173.6 kB / 405.2 MB, free: 3.496 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.5835, allocations: 0 / 405.2 MB, free: 3.496 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001015/0.5836, allocations: 16.05 kB / 405.2 MB, free: 3.48 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.005e-05/0.5837, allocations: 4 kB / 405.2 MB, free: 3.477 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.802e-05/0.5837, allocations: 4 kB / 405.2 MB, free: 3.473 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.813e-06/0.5837, allocations: 3.938 kB / 405.2 MB, free: 3.469 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/0.5837, allocations: 0 / 405.2 MB, free: 3.469 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000343/0.5841, allocations: 185 kB / 405.4 MB, free: 3.266 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001234/0.5842, allocations: 93 kB / 405.5 MB, free: 3.156 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.305e-05/0.5843, allocations: 0 / 405.5 MB, free: 3.156 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001318/0.5844, allocations: 3.984 kB / 405.5 MB, free: 3.152 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.84e-05/0.5845, allocations: 8 kB / 405.5 MB, free: 3.145 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.506e-06/0.5845, allocations: 0 / 405.5 MB, free: 3.145 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001697/0.5847, allocations: 113.8 kB / 405.6 MB, free: 3.035 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.5847, allocations: 0 / 405.6 MB, free: 3.035 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004543/0.5852, allocations: 4 kB / 405.6 MB, free: 3.031 MB / 318.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.0007541/0.5859, allocations: 0.7178 MB / 406.3 MB, free: 2.281 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002384/0.5862, allocations: 36.11 kB / 406.3 MB, free: 2.246 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.5862, allocations: 0 / 406.3 MB, free: 2.246 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.602e-05/0.5863, allocations: 11.98 kB / 406.3 MB, free: 2.234 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006014/0.5869, allocations: 31.89 kB / 406.4 MB, free: 2.203 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002283/0.5892, allocations: 1.397 MB / 407.8 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005486/0.5898, allocations: 0.6922 MB / 408.5 MB, free: 15.98 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.516e-05/0.5899, allocations: 11.98 kB / 408.5 MB, free: 15.96 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.591e-05/0.59, allocations: 11.44 kB / 408.5 MB, free: 15.95 MB / 334.1 MB Notification: Performance of SimCode: time 5.31e-07/0.59, allocations: 4 kB / 408.5 MB, free: 15.95 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0973/0.6873, allocations: 1.686 MB / 410.2 MB, free: 14.38 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.5/12.19, allocations: 11.48 kB / 410.2 MB, free: 14.38 MB / 334.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample_fmu --startTime=0 --stopTime=0.08 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches