Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.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.Blocks.Examples.CompareSincExpSine,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_CompareSincExpSine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.CompareSincExpSine,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_CompareSincExpSine",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.001129/0.001129, allocations: 98.62 kB / 16.5 MB, free: 6.688 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.001257/0.001257, allocations: 193.9 kB / 17.42 MB, free: 6.09 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.344/1.344, allocations: 222.9 MB / 241.1 MB, free: 15.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001108/0.001108, allocations: 47.11 kB / 300 MB, free: 6.148 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09384/0.09497, allocations: 49.46 MB / 349.5 MB, free: 4.684 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.002856/0.09786, allocations: 1.542 MB / 351.1 MB, free: 3.121 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006589/0.09855, allocations: 446.9 kB / 351.5 MB, free: 2.684 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.455e-05/0.09861, allocations: 0 / 351.5 MB, free: 2.684 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.41e-05/0.09867, allocations: 3.938 kB / 351.5 MB, free: 2.68 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.234e-05/0.09877, allocations: 23.84 kB / 351.5 MB, free: 2.656 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001405/0.09891, allocations: 19.98 kB / 351.5 MB, free: 2.637 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.703e-05/0.09902, allocations: 67.77 kB / 351.6 MB, free: 2.57 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.127e-05/0.09908, allocations: 4 kB / 351.6 MB, free: 2.566 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001406/0.09922, allocations: 35.78 kB / 351.6 MB, free: 2.531 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.42e-05/0.0993, allocations: 27.91 kB / 351.7 MB, free: 2.504 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.052e-05/0.09934, allocations: 0 / 351.7 MB, free: 2.504 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.653e-05/0.09936, allocations: 4 kB / 351.7 MB, free: 2.5 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.413e-05/0.09939, allocations: 15.92 kB / 351.7 MB, free: 2.484 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.337e-05/0.09944, allocations: 23.86 kB / 351.7 MB, free: 2.461 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 9.102e-05/0.09954, allocations: 52.08 kB / 351.8 MB, free: 2.41 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.09955, allocations: 0 / 351.8 MB, free: 2.41 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.09956, allocations: 0 / 351.8 MB, free: 2.41 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.059e-06/0.09957, allocations: 3.938 kB / 351.8 MB, free: 2.406 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006331/0.1002, allocations: 391.1 kB / 352.1 MB, free: 1.977 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.1003, allocations: 16.03 kB / 352.2 MB, free: 1.961 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.62e-05/0.1003, allocations: 30.75 kB / 352.2 MB, free: 1.922 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.181e-05/0.1003, allocations: 8.844 kB / 352.2 MB, free: 1.914 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001307/0.1005, allocations: 180.2 kB / 352.4 MB, free: 1.699 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.817e-06/0.1005, allocations: 384 / 352.4 MB, free: 1.699 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.753e-05/0.1005, allocations: 7.938 kB / 352.4 MB, free: 1.691 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002449/0.1008, allocations: 80.22 kB / 352.5 MB, free: 1.598 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.1008, allocations: 8 kB / 352.5 MB, free: 1.59 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.1008, allocations: 0 / 352.5 MB, free: 1.59 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.1008, allocations: 0 / 352.5 MB, free: 1.59 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002452/0.1011, allocations: 59.88 kB / 352.5 MB, free: 1.531 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001778/0.1012, allocations: 191.5 kB / 352.7 MB, free: 1.289 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002421/0.1015, allocations: 99.69 kB / 352.8 MB, free: 1.164 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001361/0.1016, allocations: 54.61 kB / 352.9 MB, free: 1.102 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.587e-05/0.1017, allocations: 0 / 352.9 MB, free: 1.102 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.444e-05/0.1017, allocations: 42.48 kB / 352.9 MB, free: 1.051 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 2.134e-06/0.1017, allocations: 0 / 352.9 MB, free: 1.051 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005038/0.1022, allocations: 149.6 kB / 353.1 MB, free: 0.8984 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.349e-05/0.1023, allocations: 102.8 kB / 353.2 MB, free: 0.7734 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.517e-05/0.1024, allocations: 125.4 kB / 353.3 MB, free: 0.6406 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.412e-05/0.1024, allocations: 25.7 kB / 353.3 MB, free: 0.6094 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.02e-05/0.1024, allocations: 92.12 kB / 353.4 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.797e-05/0.1025, allocations: 15.75 kB / 353.4 MB, free: 0.5 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.6e-05/0.1025, allocations: 25.89 kB / 353.4 MB, free: 480 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.451e-05/0.1026, allocations: 314.8 kB / 353.7 MB, free: 156 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001299/0.1028, allocations: 35.95 kB / 353.8 MB, free: 120 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001228/0.1029, allocations: 46.48 kB / 353.8 MB, free: 64 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002596/0.1031, allocations: 86.52 kB / 353.9 MB, free: 15.97 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.1032, allocations: 0 / 353.9 MB, free: 15.97 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003158/0.1035, allocations: 113.5 kB / 354 MB, free: 15.85 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.1035, allocations: 8 kB / 354 MB, free: 15.84 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.1035, allocations: 7.984 kB / 354 MB, free: 15.84 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.1035, allocations: 0 / 354 MB, free: 15.84 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001403/0.1037, allocations: 19.92 kB / 354.1 MB, free: 15.82 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.1037, allocations: 3.984 kB / 354.1 MB, free: 15.81 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.298e-05/0.1038, allocations: 8 kB / 354.1 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.413e-05/0.1038, allocations: 11.98 kB / 354.1 MB, free: 15.79 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.633e-05/0.1039, allocations: 117.9 kB / 354.2 MB, free: 15.67 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.796e-05/0.1039, allocations: 7.906 kB / 354.2 MB, free: 15.66 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.177e-05/0.104, allocations: 11.88 kB / 354.2 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.104, allocations: 3.938 kB / 354.2 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.104, allocations: 4 kB / 354.2 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.104, allocations: 3.984 kB / 354.2 MB, free: 15.63 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001269/0.1041, allocations: 181.6 kB / 354.4 MB, free: 15.41 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.117e-06/0.1041, allocations: 4 kB / 354.4 MB, free: 15.4 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000119/0.1043, allocations: 19.98 kB / 354.4 MB, free: 15.38 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.1043, allocations: 0 / 354.4 MB, free: 15.38 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.1043, allocations: 3.984 kB / 354.4 MB, free: 15.38 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.1043, allocations: 4 kB / 354.4 MB, free: 15.38 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.1043, allocations: 3.938 kB / 354.4 MB, free: 15.37 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003276/0.1046, allocations: 138.7 kB / 354.6 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.379e-05/0.1047, allocations: 85.02 kB / 354.7 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.132e-05/0.1047, allocations: 0 / 354.7 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.1048, allocations: 19.92 kB / 354.7 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.355e-05/0.1049, allocations: 3.984 kB / 354.7 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.945e-06/0.1049, allocations: 4 kB / 354.7 MB, free: 15.08 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.932e-05/0.105, allocations: 99.27 kB / 354.8 MB, free: 14.98 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.105, allocations: 0 / 354.8 MB, free: 14.98 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002024/0.1052, allocations: 12 kB / 354.8 MB, free: 14.97 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.0005969/0.1058, allocations: 0.6841 MB / 355.5 MB, free: 14.25 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003012/0.1061, allocations: 67.88 kB / 355.5 MB, free: 14.19 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1061, allocations: 0 / 355.5 MB, free: 14.19 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001474/0.1062, allocations: 44.14 kB / 355.6 MB, free: 14.14 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001798/0.1064, allocations: 14.44 kB / 355.6 MB, free: 14.13 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000644/0.1071, allocations: 232.4 kB / 355.8 MB, free: 13.86 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002491/0.1073, allocations: 0.6848 MB / 356.5 MB, free: 13.15 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.535e-05/0.1074, allocations: 4 kB / 356.5 MB, free: 13.14 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.774e-05/0.1075, allocations: 15.42 kB / 356.5 MB, free: 13.13 MB / 302.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1075, allocations: 4 kB / 356.5 MB, free: 13.12 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0112/0.1187, allocations: 1.491 MB / 358 MB, free: 11.7 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002014/0.1189, allocations: 197 kB / 358.2 MB, free: 11.45 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.786/1.905, allocations: 0 / 358.2 MB, free: 11.45 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Blocks_Examples_CompareSincExpSine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Blocks_Examples_CompareSincExpSine.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches