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.001101/0.001108, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00119/0.00119, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.368/1.368, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 61.34 kB / 307 MB, free: 0.5547 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09647/0.09778, allocations: 50.53 MB / 357.6 MB, free: 14.02 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.002769/0.1006, allocations: 1.491 MB / 359.1 MB, free: 12.51 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008679/0.1015, allocations: 0.4965 MB / 359.6 MB, free: 12.01 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.677e-05/0.1016, allocations: 4 kB / 359.6 MB, free: 12.01 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.853e-05/0.1017, allocations: 11.86 kB / 359.6 MB, free: 12 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 9.576e-05/0.1018, allocations: 11.86 kB / 359.6 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002127/0.102, allocations: 35.89 kB / 359.6 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001223/0.1021, allocations: 83.64 kB / 359.7 MB, free: 11.87 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.691e-05/0.1022, allocations: 8.172 kB / 359.7 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001639/0.1023, allocations: 39.86 kB / 359.8 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.28e-05/0.1024, allocations: 31.84 kB / 359.8 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.897e-05/0.1024, allocations: 7.984 kB / 359.8 MB, free: 11.78 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.747e-05/0.1025, allocations: 19.92 kB / 359.8 MB, free: 11.76 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.428e-05/0.1025, allocations: 4 kB / 359.8 MB, free: 11.76 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.893e-05/0.1026, allocations: 31.8 kB / 359.9 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000129/0.1027, allocations: 60.08 kB / 359.9 MB, free: 11.67 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.1027, allocations: 0 / 359.9 MB, free: 11.67 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1027, allocations: 0 / 359.9 MB, free: 11.67 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.01e-06/0.1027, allocations: 0 / 359.9 MB, free: 11.67 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.0006138/0.1034, allocations: 399.1 kB / 360.3 MB, free: 11.23 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.1034, allocations: 8.031 kB / 360.3 MB, free: 11.22 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.225e-05/0.1034, allocations: 30.75 kB / 360.3 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003159/0.1038, allocations: 32.81 kB / 360.4 MB, free: 11.15 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001683/0.1039, allocations: 195.1 kB / 360.6 MB, free: 10.93 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.104, allocations: 8.375 kB / 360.6 MB, free: 10.92 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.429e-05/0.104, allocations: 8.312 kB / 360.6 MB, free: 10.91 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002456/0.1042, allocations: 88.16 kB / 360.7 MB, free: 10.81 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.1043, allocations: 0 / 360.7 MB, free: 10.81 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.1043, allocations: 4 kB / 360.7 MB, free: 10.8 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.1043, allocations: 0 / 360.7 MB, free: 10.8 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000263/0.1045, allocations: 67.88 kB / 360.7 MB, free: 10.74 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001771/0.1047, allocations: 179.5 kB / 360.9 MB, free: 10.51 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002838/0.105, allocations: 103.8 kB / 361 MB, free: 10.38 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001458/0.1052, allocations: 46.61 kB / 361.1 MB, free: 10.32 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.398e-05/0.1052, allocations: 11.92 kB / 361.1 MB, free: 10.31 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.574e-05/0.1052, allocations: 34.56 kB / 361.1 MB, free: 10.27 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.513e-06/0.1053, allocations: 0 / 361.1 MB, free: 10.27 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005304/0.1058, allocations: 145.4 kB / 361.2 MB, free: 10.12 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.612e-05/0.1058, allocations: 103.2 kB / 361.3 MB, free: 9.996 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.827e-05/0.1059, allocations: 133.8 kB / 361.5 MB, free: 9.855 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.324e-05/0.106, allocations: 25.7 kB / 361.5 MB, free: 9.824 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.889e-05/0.106, allocations: 88.14 kB / 361.6 MB, free: 9.734 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.253e-05/0.1061, allocations: 11.91 kB / 361.6 MB, free: 9.723 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.45e-05/0.1061, allocations: 13.7 kB / 361.6 MB, free: 9.703 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000112/0.1062, allocations: 326.8 kB / 361.9 MB, free: 9.375 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001325/0.1064, allocations: 27.97 kB / 362 MB, free: 9.348 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001392/0.1065, allocations: 54.55 kB / 362 MB, free: 9.285 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002685/0.1068, allocations: 86.39 kB / 362.1 MB, free: 9.191 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.1068, allocations: 0 / 362.1 MB, free: 9.191 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003242/0.1071, allocations: 117.4 kB / 362.2 MB, free: 9.07 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.1071, allocations: 4 kB / 362.2 MB, free: 9.066 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.1072, allocations: 0 / 362.2 MB, free: 9.066 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.1072, allocations: 4 kB / 362.2 MB, free: 9.062 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001479/0.1073, allocations: 24.06 kB / 362.2 MB, free: 9.039 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.1074, allocations: 3.938 kB / 362.2 MB, free: 9.035 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000103/0.1075, allocations: 15.92 kB / 362.3 MB, free: 9.02 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-06/0.1075, allocations: 3.938 kB / 362.3 MB, free: 9.016 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 8.739e-05/0.1076, allocations: 117.8 kB / 362.4 MB, free: 8.891 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.184e-05/0.1076, allocations: 11.94 kB / 362.4 MB, free: 8.879 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.391e-05/0.1076, allocations: 23.8 kB / 362.4 MB, free: 8.852 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.1076, allocations: 4 kB / 362.4 MB, free: 8.848 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.1077, allocations: 0 / 362.4 MB, free: 8.848 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.1077, allocations: 0 / 362.4 MB, free: 8.848 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001314/0.1078, allocations: 177.6 kB / 362.6 MB, free: 8.625 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.1078, allocations: 0 / 362.6 MB, free: 8.625 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001222/0.1079, allocations: 19.97 kB / 362.6 MB, free: 8.605 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.1079, allocations: 4 kB / 362.6 MB, free: 8.602 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.217e-06/0.108, allocations: 0 / 362.6 MB, free: 8.602 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.108, allocations: 0 / 362.6 MB, free: 8.602 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.095e-06/0.108, allocations: 4 kB / 362.6 MB, free: 8.598 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003459/0.1083, allocations: 150.6 kB / 362.8 MB, free: 8.426 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.725e-05/0.1084, allocations: 81.02 kB / 362.8 MB, free: 8.328 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.353e-05/0.1084, allocations: 11.98 kB / 362.9 MB, free: 8.316 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.62e-05/0.1085, allocations: 15.98 kB / 362.9 MB, free: 8.301 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.854e-05/0.1086, allocations: 4 kB / 362.9 MB, free: 8.297 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.404e-06/0.1086, allocations: 4 kB / 362.9 MB, free: 8.293 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.994e-05/0.1086, allocations: 101.9 kB / 363 MB, free: 8.195 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1086, allocations: 0 / 363 MB, free: 8.195 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002051/0.1089, allocations: 12 kB / 363 MB, free: 8.184 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.0005933/0.1095, allocations: 0.6725 MB / 363.7 MB, free: 7.477 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003277/0.1098, allocations: 79.86 kB / 363.7 MB, free: 7.398 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1098, allocations: 0 / 363.7 MB, free: 7.398 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001463/0.11, allocations: 35.97 kB / 363.8 MB, free: 7.363 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001649/0.1101, allocations: 14.61 kB / 363.8 MB, free: 7.352 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001823/0.112, allocations: 1.457 MB / 365.2 MB, free: 5.789 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002191/0.1122, allocations: 0.6924 MB / 365.9 MB, free: 5.07 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.621e-05/0.1123, allocations: 4 kB / 365.9 MB, free: 5.066 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.452e-05/0.1123, allocations: 23.36 kB / 366 MB, free: 5.047 MB / 302.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1123, allocations: 0 / 366 MB, free: 5.047 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02989/0.1422, allocations: 1.708 MB / 367.7 MB, free: 3.391 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.212/8.355, allocations: 11.42 kB / 367.7 MB, free: 3.383 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