Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.CompareSincExpSine,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_CompareSincExpSine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.CompareSincExpSine,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_CompareSincExpSine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001709/0.001709, allocations: 122.1 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001978/0.001978, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.537/1.537, allocations: 227.4 MB / 247 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001929/0.001929, allocations: 59.91 kB / 358.3 MB, free: 13.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3369/0.3389, allocations: 50.54 MB / 408.8 MB, free: 1.492 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.002826/0.3417, allocations: 1.523 MB / 410.3 MB, free: 15.96 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009173/0.3427, allocations: 0.4932 MB / 410.8 MB, free: 15.47 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.225e-05/0.3428, allocations: 0 / 410.8 MB, free: 15.47 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.386e-05/0.3428, allocations: 11.88 kB / 410.8 MB, free: 15.46 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.873e-05/0.3429, allocations: 15.86 kB / 410.9 MB, free: 15.44 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002085/0.3431, allocations: 31.89 kB / 410.9 MB, free: 15.41 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001515/0.3433, allocations: 79.66 kB / 411 MB, free: 15.33 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.212e-05/0.3434, allocations: 8.172 kB / 411 MB, free: 15.32 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001683/0.3435, allocations: 39.84 kB / 411 MB, free: 15.29 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.992e-05/0.3436, allocations: 35.84 kB / 411 MB, free: 15.25 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.003e-05/0.3437, allocations: 4 kB / 411 MB, free: 15.25 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.767e-05/0.3437, allocations: 19.98 kB / 411.1 MB, free: 15.23 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.734e-05/0.3437, allocations: 7.984 kB / 411.1 MB, free: 15.22 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.5e-05/0.3438, allocations: 31.8 kB / 411.1 MB, free: 15.19 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001432/0.3439, allocations: 54.89 kB / 411.2 MB, free: 15.14 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.3439, allocations: 0 / 411.2 MB, free: 15.14 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.344, allocations: 0 / 411.2 MB, free: 15.14 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.04e-06/0.344, allocations: 0 / 411.2 MB, free: 15.14 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006686/0.3446, allocations: 403.1 kB / 411.6 MB, free: 14.7 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.3447, allocations: 8.031 kB / 411.6 MB, free: 14.69 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.527e-05/0.3447, allocations: 30.75 kB / 411.6 MB, free: 14.65 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002975/0.345, allocations: 32.86 kB / 411.6 MB, free: 14.62 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002393/0.3453, allocations: 184.3 kB / 411.8 MB, free: 14.4 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.415e-06/0.3453, allocations: 4.312 kB / 411.8 MB, free: 14.39 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.625e-05/0.3453, allocations: 4.375 kB / 411.8 MB, free: 14.39 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002534/0.3456, allocations: 96.09 kB / 411.9 MB, free: 14.28 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.3456, allocations: 0 / 411.9 MB, free: 14.28 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.3456, allocations: 0 / 411.9 MB, free: 14.28 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-06/0.3456, allocations: 0 / 411.9 MB, free: 14.28 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002801/0.3459, allocations: 71.86 kB / 412 MB, free: 14.21 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000212/0.3461, allocations: 191.3 kB / 412.2 MB, free: 13.96 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002696/0.3464, allocations: 103.8 kB / 412.3 MB, free: 13.84 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001514/0.3466, allocations: 46.61 kB / 412.3 MB, free: 13.78 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.345e-05/0.3466, allocations: 11.91 kB / 412.3 MB, free: 13.77 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.65e-05/0.3466, allocations: 34.56 kB / 412.4 MB, free: 13.73 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 2.895e-06/0.3467, allocations: 4 kB / 412.4 MB, free: 13.72 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005368/0.3472, allocations: 137.5 kB / 412.5 MB, free: 13.58 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.213e-05/0.3473, allocations: 106.8 kB / 412.6 MB, free: 13.45 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001094/0.3474, allocations: 126.2 kB / 412.7 MB, free: 13.32 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.517e-05/0.3474, allocations: 33.7 kB / 412.8 MB, free: 13.28 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.942e-05/0.3475, allocations: 88.14 kB / 412.8 MB, free: 13.19 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.009e-05/0.3475, allocations: 11.91 kB / 412.9 MB, free: 13.18 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.431e-05/0.3476, allocations: 21.7 kB / 412.9 MB, free: 13.15 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.00014/0.3477, allocations: 318.8 kB / 413.2 MB, free: 12.83 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001447/0.3479, allocations: 31.91 kB / 413.2 MB, free: 12.8 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000144/0.348, allocations: 50.55 kB / 413.3 MB, free: 12.74 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002835/0.3483, allocations: 82.45 kB / 413.3 MB, free: 12.65 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.3483, allocations: 4 kB / 413.3 MB, free: 12.65 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003562/0.3487, allocations: 113.5 kB / 413.5 MB, free: 12.53 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.3487, allocations: 6.812 kB / 413.5 MB, free: 12.53 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.3487, allocations: 8 kB / 413.5 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.3487, allocations: 0 / 413.5 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001422/0.3489, allocations: 24.06 kB / 413.5 MB, free: 12.5 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.246e-06/0.3489, allocations: 3.938 kB / 413.5 MB, free: 12.49 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.354e-05/0.349, allocations: 11.98 kB / 413.5 MB, free: 12.48 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.222e-05/0.349, allocations: 4 kB / 413.5 MB, free: 12.48 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 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 8.546e-05/0.3491, allocations: 109.8 kB / 413.6 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.136e-05/0.3491, allocations: 11.89 kB / 413.6 MB, free: 12.35 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.12e-05/0.3492, allocations: 19.81 kB / 413.7 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.3492, allocations: 0 / 413.7 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.3492, allocations: 4 kB / 413.7 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.3492, allocations: 4 kB / 413.7 MB, free: 12.31 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001643/0.3494, allocations: 181.5 kB / 413.8 MB, free: 12.09 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.3494, allocations: 4 kB / 413.8 MB, free: 12.08 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001186/0.3495, allocations: 19.97 kB / 413.9 MB, free: 12.06 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.3495, allocations: 0 / 413.9 MB, free: 12.06 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.997e-06/0.3495, allocations: 0 / 413.9 MB, free: 12.06 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.3496, allocations: 7.938 kB / 413.9 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3496, allocations: 0 / 413.9 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003626/0.3499, allocations: 142.7 kB / 414 MB, free: 11.89 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.915e-05/0.35, allocations: 89 kB / 414.1 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.125e-05/0.35, allocations: 7.984 kB / 414.1 MB, free: 11.78 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.681e-05/0.3501, allocations: 15.98 kB / 414.1 MB, free: 11.76 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.721e-05/0.3502, allocations: 0 / 414.1 MB, free: 11.76 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.811e-06/0.3502, allocations: 4 kB / 414.1 MB, free: 11.76 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.561e-05/0.3503, allocations: 103.2 kB / 414.2 MB, free: 11.66 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3503, allocations: 0 / 414.2 MB, free: 11.66 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001996/0.3505, allocations: 12 kB / 414.2 MB, free: 11.64 MB / 334.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.0006711/0.3512, allocations: 0.6725 MB / 414.9 MB, free: 10.94 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003583/0.3515, allocations: 79.86 kB / 415 MB, free: 10.86 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.3515, allocations: 3.938 kB / 415 MB, free: 10.86 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001483/0.3517, allocations: 35.97 kB / 415 MB, free: 10.82 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001623/0.3519, allocations: 4 kB / 415 MB, free: 10.82 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002069/0.3539, allocations: 1.462 MB / 416.5 MB, free: 9.254 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003426/0.3543, allocations: 0.6886 MB / 417.2 MB, free: 8.539 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.973e-05/0.3544, allocations: 11.98 kB / 417.2 MB, free: 8.527 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.618e-05/0.3544, allocations: 23.42 kB / 417.2 MB, free: 8.504 MB / 334.1 MB Notification: Performance of SimCode: time 1.9e-07/0.3544, allocations: 0 / 417.2 MB, free: 8.504 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02298/0.3774, allocations: 1.743 MB / 419 MB, free: 6.828 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.405/8.783, allocations: 10.06 kB / 419 MB, free: 6.82 MB / 334.1 MB (rm -f Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine_res.mat --tempDir=temp_Modelica_trunk_Modelica_Blocks_Examples_CompareSincExpSine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Blocks_Examples_CompareSincExpSine.fmu > Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/CompareSincExpSine/CompareSincExpSine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches