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.001364/0.001364, allocations: 117.8 kB / 17.79 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001625/0.001625, allocations: 199.8 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.445/1.445, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.00133, allocations: 71.81 kB / 358.2 MB, free: 13.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3684/0.3697, allocations: 50.54 MB / 408.7 MB, free: 1.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.003361/0.3732, allocations: 1.496 MB / 410.2 MB, free: 56 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009561/0.3741, allocations: 0.4972 MB / 410.7 MB, free: 15.55 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.522e-05/0.3742, allocations: 4 kB / 410.7 MB, free: 15.55 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.626e-05/0.3743, allocations: 7.922 kB / 410.7 MB, free: 15.54 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000107/0.3744, allocations: 15.86 kB / 410.8 MB, free: 15.53 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002241/0.3746, allocations: 39.83 kB / 410.8 MB, free: 15.49 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001396/0.3748, allocations: 71.7 kB / 410.9 MB, free: 15.42 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.356e-05/0.3748, allocations: 8.188 kB / 410.9 MB, free: 15.41 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001775/0.375, allocations: 39.84 kB / 410.9 MB, free: 15.37 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.137e-05/0.3751, allocations: 39.83 kB / 411 MB, free: 15.33 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.801e-05/0.3751, allocations: 4 kB / 411 MB, free: 15.33 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.752e-05/0.3752, allocations: 16 kB / 411 MB, free: 15.31 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.801e-05/0.3752, allocations: 11.98 kB / 411 MB, free: 15.3 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.079e-05/0.3753, allocations: 23.8 kB / 411 MB, free: 15.28 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001391/0.3754, allocations: 65.48 kB / 411.1 MB, free: 15.21 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.3754, allocations: 3.938 kB / 411.1 MB, free: 15.21 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.3754, allocations: 0 / 411.1 MB, free: 15.21 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.949e-06/0.3754, allocations: 0 / 411.1 MB, free: 15.21 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.0007302/0.3762, allocations: 399.1 kB / 411.5 MB, free: 14.77 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.3762, allocations: 8.031 kB / 411.5 MB, free: 14.77 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.022e-05/0.3763, allocations: 30.75 kB / 411.5 MB, free: 14.73 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003321/0.3766, allocations: 40.75 kB / 411.5 MB, free: 14.69 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002509/0.3769, allocations: 190.9 kB / 411.7 MB, free: 14.46 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.948e-06/0.3769, allocations: 384 / 411.7 MB, free: 14.46 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.378e-05/0.3769, allocations: 4.375 kB / 411.7 MB, free: 14.46 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002735/0.3772, allocations: 92.16 kB / 411.8 MB, free: 14.36 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.3772, allocations: 0 / 411.8 MB, free: 14.36 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/0.3772, allocations: 3.984 kB / 411.8 MB, free: 14.35 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.348e-06/0.3772, allocations: 3.984 kB / 411.8 MB, free: 14.35 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002718/0.3775, allocations: 63.88 kB / 411.9 MB, free: 14.28 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002002/0.3777, allocations: 187.5 kB / 412.1 MB, free: 14.04 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002649/0.378, allocations: 99.75 kB / 412.2 MB, free: 13.92 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001466/0.3782, allocations: 46.61 kB / 412.2 MB, free: 13.86 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.215e-05/0.3782, allocations: 7.938 kB / 412.2 MB, free: 13.86 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.813e-05/0.3782, allocations: 38.5 kB / 412.3 MB, free: 13.81 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/0.3782, allocations: 0 / 412.3 MB, free: 13.81 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005372/0.3788, allocations: 141.4 kB / 412.4 MB, free: 13.66 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.49e-05/0.3788, allocations: 102.8 kB / 412.5 MB, free: 13.54 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001019/0.3789, allocations: 129.8 kB / 412.6 MB, free: 13.4 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.403e-05/0.379, allocations: 26.08 kB / 412.7 MB, free: 13.37 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.268e-05/0.379, allocations: 100.1 kB / 412.8 MB, free: 13.27 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.058e-05/0.379, allocations: 11.81 kB / 412.8 MB, free: 13.26 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.524e-05/0.3791, allocations: 17.7 kB / 412.8 MB, free: 13.23 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001084/0.3792, allocations: 318.8 kB / 413.1 MB, free: 12.91 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001363/0.3793, allocations: 31.91 kB / 413.1 MB, free: 12.88 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001385/0.3795, allocations: 58.47 kB / 413.2 MB, free: 12.82 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002692/0.3798, allocations: 74.52 kB / 413.3 MB, free: 12.73 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.3798, allocations: 0 / 413.3 MB, free: 12.73 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003466/0.3801, allocations: 121.4 kB / 413.4 MB, free: 12.61 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.3802, allocations: 4 kB / 413.4 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.3802, allocations: 0 / 413.4 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.93e-05/0.3802, allocations: 4 kB / 413.4 MB, free: 12.6 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001468/0.3803, allocations: 19.92 kB / 413.4 MB, free: 12.58 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.209e-06/0.3804, allocations: 96 / 413.4 MB, free: 12.58 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.511e-05/0.3805, allocations: 15.98 kB / 413.4 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.172e-05/0.3805, allocations: 3.984 kB / 413.4 MB, free: 12.56 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 9.936e-05/0.3806, allocations: 117.8 kB / 413.5 MB, free: 12.44 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.91e-05/0.3806, allocations: 15.78 kB / 413.6 MB, free: 12.42 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.358e-05/0.3807, allocations: 15.83 kB / 413.6 MB, free: 12.4 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.3807, allocations: 0 / 413.6 MB, free: 12.4 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.3807, allocations: 0 / 413.6 MB, free: 12.4 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.3807, allocations: 4 kB / 413.6 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001446/0.3808, allocations: 189.5 kB / 413.8 MB, free: 12.16 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3808, allocations: 0 / 413.8 MB, free: 12.16 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001115/0.381, allocations: 15.98 kB / 413.8 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.381, allocations: 4 kB / 413.8 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.269e-05/0.381, allocations: 3.984 kB / 413.8 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.381, allocations: 0 / 413.8 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.381, allocations: 7.938 kB / 413.8 MB, free: 12.13 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004268/0.3814, allocations: 146.6 kB / 413.9 MB, free: 11.96 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.154e-05/0.3815, allocations: 85.02 kB / 414 MB, free: 11.86 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.808e-05/0.3815, allocations: 0 / 414 MB, free: 11.86 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.3816, allocations: 15.98 kB / 414 MB, free: 11.84 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.02e-05/0.3817, allocations: 7.984 kB / 414 MB, free: 11.84 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.695e-06/0.3817, allocations: 4 kB / 414 MB, free: 11.83 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.849e-05/0.3818, allocations: 102.5 kB / 414.1 MB, free: 11.73 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3818, allocations: 0 / 414.1 MB, free: 11.73 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001975/0.382, allocations: 8 kB / 414.2 MB, free: 11.73 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.000608/0.3826, allocations: 0.6803 MB / 414.8 MB, free: 11.01 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003404/0.383, allocations: 72 kB / 414.9 MB, free: 10.94 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.383, allocations: 0 / 414.9 MB, free: 10.94 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000152/0.3831, allocations: 47.83 kB / 415 MB, free: 10.89 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001682/0.3833, allocations: 8 kB / 415 MB, free: 10.89 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002074/0.3854, allocations: 1.462 MB / 416.4 MB, free: 9.324 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002682/0.3857, allocations: 0.6846 MB / 417.1 MB, free: 8.613 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.37e-05/0.3857, allocations: 8.016 kB / 417.1 MB, free: 8.605 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.74e-05/0.3858, allocations: 23.44 kB / 417.1 MB, free: 8.582 MB / 334.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3858, allocations: 0 / 417.1 MB, free: 8.582 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01949/0.4053, allocations: 1.763 MB / 418.9 MB, free: 6.883 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.634/8.039, allocations: 0 / 418.9 MB, free: 6.883 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.0.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