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.0008245/0.0008289, allocations: 94.25 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0007942/0.0007942, allocations: 201.9 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.246/1.246, allocations: 227.7 MB / 246.8 MB, free: 11.27 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002088/0.0002088, allocations: 8 kB / 307.8 MB, free: 0.707 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0964/0.09663, allocations: 51.51 MB / 359.3 MB, free: 13.19 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.00146/0.09813, allocations: 1.231 MB / 360.6 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007399/0.09888, allocations: 494.9 kB / 361.1 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.187e-05/0.09895, allocations: 0 / 361.1 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.622e-05/0.09898, allocations: 7.922 kB / 361.1 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001099/0.0991, allocations: 19.86 kB / 361.1 MB, free: 11.44 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001615/0.09927, allocations: 27.97 kB / 361.1 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000132/0.09941, allocations: 75.64 kB / 361.2 MB, free: 11.34 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.933e-05/0.09946, allocations: 8.172 kB / 361.2 MB, free: 11.33 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001684/0.09964, allocations: 35.91 kB / 361.2 MB, free: 11.29 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.625e-05/0.09973, allocations: 35.77 kB / 361.3 MB, free: 11.26 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.763e-05/0.09975, allocations: 4 kB / 361.3 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.703e-05/0.09982, allocations: 12 kB / 361.3 MB, free: 11.24 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.844e-05/0.09984, allocations: 11.98 kB / 361.3 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.86e-05/0.0999, allocations: 49.52 kB / 361.3 MB, free: 11.18 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001361/0.1, allocations: 60.06 kB / 361.4 MB, free: 11.12 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.1001, allocations: 0 / 361.4 MB, free: 11.12 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.756e-06/0.1001, allocations: 0 / 361.4 MB, free: 11.12 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.617e-06/0.1001, allocations: 3.938 kB / 361.4 MB, free: 11.11 MB / 302.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.0005893/0.1007, allocations: 399.2 kB / 361.8 MB, free: 10.68 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/0.1007, allocations: 12.02 kB / 361.8 MB, free: 10.66 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.27e-05/0.1008, allocations: 30.75 kB / 361.8 MB, free: 10.62 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000274/0.101, allocations: 36.91 kB / 361.9 MB, free: 10.59 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000162/0.1012, allocations: 188.1 kB / 362.1 MB, free: 10.37 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.944e-06/0.1012, allocations: 4.375 kB / 362.1 MB, free: 10.36 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.403e-05/0.1012, allocations: 4.375 kB / 362.1 MB, free: 10.36 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002411/0.1015, allocations: 100.1 kB / 362.2 MB, free: 10.25 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.1015, allocations: 0 / 362.2 MB, free: 10.25 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.1015, allocations: 4 kB / 362.2 MB, free: 10.24 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.373e-06/0.1015, allocations: 3.984 kB / 362.2 MB, free: 10.24 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002817/0.1018, allocations: 83.88 kB / 362.3 MB, free: 10.16 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001773/0.102, allocations: 183.5 kB / 362.4 MB, free: 9.922 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002579/0.1023, allocations: 115.7 kB / 362.5 MB, free: 9.781 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001562/0.1024, allocations: 62.61 kB / 362.6 MB, free: 9.711 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.694e-05/0.1025, allocations: 3.938 kB / 362.6 MB, free: 9.707 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.261e-05/0.1025, allocations: 34.56 kB / 362.6 MB, free: 9.664 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.1025, allocations: 0 / 362.6 MB, free: 9.664 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.000525/0.103, allocations: 173.7 kB / 362.8 MB, free: 9.488 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.361e-05/0.1031, allocations: 102.8 kB / 362.9 MB, free: 9.363 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001004/0.1032, allocations: 136.3 kB / 363 MB, free: 9.223 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.44e-05/0.1032, allocations: 25.7 kB / 363.1 MB, free: 9.191 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.906e-05/0.1033, allocations: 88.14 kB / 363.2 MB, free: 9.102 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.234e-05/0.1033, allocations: 15.8 kB / 363.2 MB, free: 9.086 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.358e-05/0.1033, allocations: 9.719 kB / 363.2 MB, free: 9.07 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001078/0.1034, allocations: 318.8 kB / 363.5 MB, free: 8.75 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001351/0.1036, allocations: 43.98 kB / 363.5 MB, free: 8.707 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001369/0.1037, allocations: 54.55 kB / 363.6 MB, free: 8.645 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000286/0.104, allocations: 102.5 kB / 363.7 MB, free: 8.535 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.104, allocations: 3.938 kB / 363.7 MB, free: 8.531 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003244/0.1044, allocations: 137.4 kB / 363.8 MB, free: 8.391 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.1044, allocations: 4 kB / 363.8 MB, free: 8.387 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.1044, allocations: 0 / 363.8 MB, free: 8.387 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.1044, allocations: 4 kB / 363.8 MB, free: 8.383 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001386/0.1045, allocations: 20.08 kB / 363.9 MB, free: 8.363 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.191e-06/0.1046, allocations: 7.984 kB / 363.9 MB, free: 8.355 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001035/0.1047, allocations: 15.94 kB / 363.9 MB, free: 8.34 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.147e-06/0.1047, allocations: 3.984 kB / 363.9 MB, free: 8.336 MB / 302.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 7.499e-05/0.1048, allocations: 117.8 kB / 364 MB, free: 8.211 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.989e-05/0.1048, allocations: 11.84 kB / 364 MB, free: 8.199 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.789e-05/0.1048, allocations: 15.77 kB / 364 MB, free: 8.18 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.1048, allocations: 11.94 kB / 364 MB, free: 8.168 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.1048, allocations: 4 kB / 364 MB, free: 8.164 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.1049, allocations: 3.984 kB / 364 MB, free: 8.16 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001301/0.105, allocations: 177.6 kB / 364.2 MB, free: 7.938 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.105, allocations: 0 / 364.2 MB, free: 7.938 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001195/0.1051, allocations: 19.98 kB / 364.2 MB, free: 7.918 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.1051, allocations: 0 / 364.2 MB, free: 7.918 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.243e-05/0.1052, allocations: 7.984 kB / 364.2 MB, free: 7.91 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.1052, allocations: 0 / 364.2 MB, free: 7.91 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1052, allocations: 4 kB / 364.2 MB, free: 7.906 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003504/0.1055, allocations: 166.6 kB / 364.4 MB, free: 7.719 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.343e-05/0.1056, allocations: 81.11 kB / 364.5 MB, free: 7.621 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.599e-05/0.1056, allocations: 0 / 364.5 MB, free: 7.621 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.559e-05/0.1057, allocations: 15.98 kB / 364.5 MB, free: 7.605 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.535e-05/0.1057, allocations: 11.98 kB / 364.5 MB, free: 7.594 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.622e-06/0.1058, allocations: 4 kB / 364.5 MB, free: 7.59 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.675e-05/0.1058, allocations: 99.17 kB / 364.6 MB, free: 7.492 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1058, allocations: 0 / 364.6 MB, free: 7.492 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000187/0.106, allocations: 12 kB / 364.6 MB, free: 7.48 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.0005968/0.1066, allocations: 0.6921 MB / 365.3 MB, free: 6.754 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003172/0.107, allocations: 92.05 kB / 365.4 MB, free: 6.664 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.107, allocations: 0 / 365.4 MB, free: 6.664 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001485/0.1071, allocations: 47.91 kB / 365.5 MB, free: 6.617 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001572/0.1073, allocations: 2.5 kB / 365.5 MB, free: 6.617 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00187/0.1092, allocations: 1.527 MB / 367 MB, free: 4.977 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002401/0.1094, allocations: 0.6887 MB / 367.7 MB, free: 4.262 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.658e-05/0.1095, allocations: 4.031 kB / 367.7 MB, free: 4.258 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.227e-05/0.1095, allocations: 23.42 kB / 367.7 MB, free: 4.238 MB / 302.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1095, allocations: 4 kB / 367.7 MB, free: 4.234 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01055/0.1201, allocations: 1.454 MB / 369.2 MB, free: 2.891 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002529/0.1204, allocations: 204.4 kB / 369.4 MB, free: 2.621 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.691/1.811, allocations: 0 / 369.4 MB, free: 2.621 MB / 302.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