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.001689/0.001689, allocations: 106.8 kB / 16.62 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.002024/0.002024, allocations: 189.9 kB / 17.55 MB, free: 5.953 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.481/1.481, allocations: 222.9 MB / 241.2 MB, free: 15.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001025/0.001025, allocations: 39.78 kB / 300.2 MB, free: 6.105 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08706/0.0881, allocations: 49.45 MB / 349.7 MB, free: 4.648 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.002597/0.09074, allocations: 1.624 MB / 351.3 MB, free: 3.008 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00076/0.09151, allocations: 0.4987 MB / 351.8 MB, free: 2.504 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.268e-05/0.09161, allocations: 4 kB / 351.8 MB, free: 2.5 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.737e-05/0.09167, allocations: 3.938 kB / 351.8 MB, free: 2.496 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001101/0.09179, allocations: 3.938 kB / 351.8 MB, free: 2.492 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002697/0.09206, allocations: 54.02 kB / 351.9 MB, free: 2.441 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.881e-05/0.09217, allocations: 55.78 kB / 351.9 MB, free: 2.387 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.922e-05/0.09228, allocations: 16.17 kB / 351.9 MB, free: 2.371 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.542e-05/0.09235, allocations: 15.94 kB / 352 MB, free: 2.355 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.667e-05/0.0924, allocations: 23.84 kB / 352 MB, free: 2.332 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.655e-05/0.09242, allocations: 4 kB / 352 MB, free: 2.328 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.142e-05/0.09244, allocations: 4 kB / 352 MB, free: 2.324 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.435e-05/0.09249, allocations: 15.92 kB / 352 MB, free: 2.309 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.095e-05/0.09253, allocations: 31.81 kB / 352 MB, free: 2.277 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 9.527e-05/0.09263, allocations: 51.8 kB / 352.1 MB, free: 2.227 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.09263, allocations: 0 / 352.1 MB, free: 2.227 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.09264, allocations: 0 / 352.1 MB, free: 2.227 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.09265, allocations: 0 / 352.1 MB, free: 2.227 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.0004243/0.09308, allocations: 387.2 kB / 352.5 MB, free: 1.801 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.09313, allocations: 11.97 kB / 352.5 MB, free: 1.789 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.94e-05/0.09317, allocations: 38.73 kB / 352.5 MB, free: 1.742 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.039e-05/0.09321, allocations: 8.844 kB / 352.5 MB, free: 1.734 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001924/0.0934, allocations: 200.1 kB / 352.7 MB, free: 1.5 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.203e-06/0.09342, allocations: 384 / 352.7 MB, free: 1.5 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.027e-05/0.09344, allocations: 4.375 kB / 352.7 MB, free: 1.496 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002422/0.09368, allocations: 125.8 kB / 352.8 MB, free: 1.352 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.0937, allocations: 0 / 352.8 MB, free: 1.352 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.253e-06/0.09371, allocations: 0 / 352.8 MB, free: 1.352 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.09372, allocations: 4 kB / 352.9 MB, free: 1.348 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.736e-05/0.0938, allocations: 23.92 kB / 352.9 MB, free: 1.324 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003115/0.09412, allocations: 278.5 kB / 353.1 MB, free: 0.9961 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001057/0.09424, allocations: 71.78 kB / 353.2 MB, free: 0.8984 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.228e-05/0.09431, allocations: 34.56 kB / 353.3 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.158e-05/0.09434, allocations: 4 kB / 353.3 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.099e-05/0.09436, allocations: 38.56 kB / 353.3 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.093e-06/0.09437, allocations: 0 / 353.3 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002454/0.09462, allocations: 81.52 kB / 353.4 MB, free: 0.7188 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.115e-05/0.09468, allocations: 106.8 kB / 353.5 MB, free: 0.5898 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001136/0.0948, allocations: 148.6 kB / 353.6 MB, free: 448 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.32e-05/0.09482, allocations: 30.02 kB / 353.7 MB, free: 412 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.895e-05/0.09487, allocations: 88.14 kB / 353.7 MB, free: 320 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.517e-05/0.09489, allocations: 11.91 kB / 353.8 MB, free: 308 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.484e-05/0.09493, allocations: 17.7 kB / 353.8 MB, free: 284 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.09505, allocations: 318.8 kB / 354.1 MB, free: 15.96 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.304e-05/0.0951, allocations: 11.98 kB / 354.1 MB, free: 15.95 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.816e-05/0.09515, allocations: 35.42 kB / 354.1 MB, free: 15.9 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.574e-05/0.09525, allocations: 47.36 kB / 354.2 MB, free: 15.84 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.09526, allocations: 0 / 354.2 MB, free: 15.84 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001304/0.0954, allocations: 73.62 kB / 354.2 MB, free: 15.76 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/0.09542, allocations: 4 kB / 354.2 MB, free: 15.76 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.09543, allocations: 4 kB / 354.3 MB, free: 15.75 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.859e-06/0.09545, allocations: 96 / 354.3 MB, free: 15.75 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.661e-05/0.09553, allocations: 15.92 kB / 354.3 MB, free: 15.74 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.09554, allocations: 0 / 354.3 MB, free: 15.74 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.15e-05/0.09558, allocations: 7.984 kB / 354.3 MB, free: 15.73 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.0956, allocations: 0 / 354.3 MB, free: 15.73 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 7.622e-05/0.09568, allocations: 125.8 kB / 354.4 MB, free: 15.6 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.133e-05/0.09576, allocations: 53.58 kB / 354.5 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.115e-05/0.09579, allocations: 15.86 kB / 354.5 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.0958, allocations: 0 / 354.5 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.441e-06/0.09581, allocations: 4 kB / 354.5 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.09582, allocations: 3.938 kB / 354.5 MB, free: 15.51 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001517/0.09597, allocations: 169.6 kB / 354.6 MB, free: 15.3 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.09598, allocations: 4 kB / 354.6 MB, free: 15.29 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.863e-05/0.09605, allocations: 11.98 kB / 354.7 MB, free: 15.28 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.09606, allocations: 0 / 354.7 MB, free: 15.28 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.213e-06/0.09607, allocations: 64 / 354.7 MB, free: 15.28 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.09607, allocations: 4 kB / 354.7 MB, free: 15.28 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.09608, allocations: 4 kB / 354.7 MB, free: 15.27 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001771/0.09626, allocations: 181 kB / 354.8 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.285e-05/0.09632, allocations: 93 kB / 354.9 MB, free: 14.96 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.511e-05/0.09635, allocations: 0 / 354.9 MB, free: 14.96 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.315e-05/0.09643, allocations: 11.98 kB / 354.9 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.536e-05/0.09646, allocations: 0 / 354.9 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.536e-06/0.09647, allocations: 8 kB / 354.9 MB, free: 14.95 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.752e-05/0.09654, allocations: 111.2 kB / 355.1 MB, free: 14.84 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.09655, allocations: 0 / 355.1 MB, free: 14.84 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002249/0.09678, allocations: 8 kB / 355.1 MB, free: 14.83 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.0004088/0.09719, allocations: 0.7139 MB / 355.8 MB, free: 14.08 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001362/0.09734, allocations: 35.92 kB / 355.8 MB, free: 14.05 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.09735, allocations: 0 / 355.8 MB, free: 14.05 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.687e-05/0.09739, allocations: 12.23 kB / 355.8 MB, free: 14.04 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003629/0.09776, allocations: 24.02 kB / 355.9 MB, free: 14.01 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001211/0.09899, allocations: 1.409 MB / 357.3 MB, free: 12.49 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002393/0.09924, allocations: 0.6963 MB / 358 MB, free: 11.77 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.94e-05/0.09927, allocations: 0 / 358 MB, free: 11.77 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.433e-05/0.09932, allocations: 19.38 kB / 358 MB, free: 11.75 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.09933, allocations: 0 / 358 MB, free: 11.75 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.456/0.5553, allocations: 1.544 MB / 359.5 MB, free: 10.34 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003074/0.5557, allocations: 215.6 kB / 359.7 MB, free: 10.09 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.119/2.675, allocations: 0 / 359.7 MB, free: 10.09 MB / 302.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