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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001645/0.001645, allocations: 116.7 kB / 17.74 MB, free: 5.312 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001946/0.001946, allocations: 186.9 kB / 20.68 MB, free: 2.383 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.529/1.529, allocations: 222.9 MB / 246.4 MB, free: 4.195 MB / 190.1 MB " [Timeout remaining time 178] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001469/0.001469, allocations: 51.92 kB / 357.5 MB, free: 8.945 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09765/0.09913, allocations: 49.43 MB / 406.9 MB, free: 7.473 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.002579/0.1018, allocations: 1.507 MB / 408.4 MB, free: 5.965 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000737/0.1025, allocations: 450.9 kB / 408.8 MB, free: 5.523 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.09e-05/0.1026, allocations: 0 / 408.8 MB, free: 5.523 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.946e-05/0.1026, allocations: 7.922 kB / 408.9 MB, free: 5.516 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.323e-05/0.1027, allocations: 15.8 kB / 408.9 MB, free: 5.5 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001505/0.1029, allocations: 35.91 kB / 408.9 MB, free: 5.465 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001063/0.103, allocations: 67.72 kB / 409 MB, free: 5.398 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.906e-05/0.103, allocations: 7.984 kB / 409 MB, free: 5.391 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001325/0.1032, allocations: 35.84 kB / 409 MB, free: 5.355 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.503e-05/0.1033, allocations: 35.84 kB / 409 MB, free: 5.32 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.792e-05/0.1033, allocations: 4 kB / 409.1 MB, free: 5.316 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.63e-05/0.1033, allocations: 4 kB / 409.1 MB, free: 5.312 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.156e-05/0.1033, allocations: 7.984 kB / 409.1 MB, free: 5.305 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.452e-05/0.1034, allocations: 31.84 kB / 409.1 MB, free: 5.273 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001084/0.1035, allocations: 48.03 kB / 409.1 MB, free: 5.227 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.1035, allocations: 0 / 409.1 MB, free: 5.227 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1035, allocations: 0 / 409.1 MB, free: 5.227 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.856e-06/0.1035, allocations: 8 kB / 409.2 MB, free: 5.219 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.0006771/0.1042, allocations: 387.1 kB / 409.5 MB, free: 4.793 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.1042, allocations: 12.03 kB / 409.5 MB, free: 4.781 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.688e-05/0.1043, allocations: 34.73 kB / 409.6 MB, free: 4.738 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.807e-05/0.1043, allocations: 8.891 kB / 409.6 MB, free: 4.73 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001539/0.1045, allocations: 180.2 kB / 409.8 MB, free: 4.516 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/0.1045, allocations: 8.062 kB / 409.8 MB, free: 4.508 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.51e-05/0.1045, allocations: 4 kB / 409.8 MB, free: 4.504 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002552/0.1048, allocations: 96.14 kB / 409.9 MB, free: 4.395 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.1048, allocations: 0 / 409.9 MB, free: 4.395 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.468e-06/0.1048, allocations: 0 / 409.9 MB, free: 4.395 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.1048, allocations: 0 / 409.9 MB, free: 4.395 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002711/0.1051, allocations: 67.88 kB / 409.9 MB, free: 4.328 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002067/0.1053, allocations: 183.5 kB / 410.1 MB, free: 4.094 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002786/0.1056, allocations: 107.7 kB / 410.2 MB, free: 3.961 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001477/0.1058, allocations: 46.61 kB / 410.3 MB, free: 3.906 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.909e-05/0.1058, allocations: 4 kB / 410.3 MB, free: 3.902 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.199e-05/0.1058, allocations: 38.56 kB / 410.3 MB, free: 3.855 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.1058, allocations: 7.875 kB / 410.3 MB, free: 3.848 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005573/0.1064, allocations: 141.5 kB / 410.4 MB, free: 3.703 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.969e-05/0.1065, allocations: 103.2 kB / 410.5 MB, free: 3.578 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001108/0.1066, allocations: 132.1 kB / 410.7 MB, free: 3.438 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.601e-05/0.1066, allocations: 25.7 kB / 410.7 MB, free: 3.406 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.837e-05/0.1067, allocations: 92.14 kB / 410.8 MB, free: 3.312 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.063e-05/0.1067, allocations: 15.83 kB / 410.8 MB, free: 3.297 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.201e-05/0.1067, allocations: 17.72 kB / 410.8 MB, free: 3.273 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.1069, allocations: 318.8 kB / 411.1 MB, free: 2.953 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001409/0.107, allocations: 31.97 kB / 411.2 MB, free: 2.922 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001405/0.1072, allocations: 46.55 kB / 411.2 MB, free: 2.867 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002866/0.1075, allocations: 90.45 kB / 411.3 MB, free: 2.77 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/0.1075, allocations: 3.938 kB / 411.3 MB, free: 2.766 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003204/0.1078, allocations: 101.6 kB / 411.4 MB, free: 2.66 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.1078, allocations: 8 kB / 411.4 MB, free: 2.652 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.1079, allocations: 0 / 411.4 MB, free: 2.652 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.1079, allocations: 96 / 411.4 MB, free: 2.652 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000141/0.108, allocations: 27.97 kB / 411.4 MB, free: 2.625 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/0.108, allocations: 3.938 kB / 411.4 MB, free: 2.621 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.336e-05/0.1081, allocations: 15.94 kB / 411.5 MB, free: 2.605 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.252e-05/0.1082, allocations: 4 kB / 411.5 MB, free: 2.602 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.878e-05/0.1082, allocations: 117.8 kB / 411.6 MB, free: 2.477 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.735e-05/0.1083, allocations: 7.953 kB / 411.6 MB, free: 2.469 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.641e-05/0.1083, allocations: 11.86 kB / 411.6 MB, free: 2.453 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.1083, allocations: 4 kB / 411.6 MB, free: 2.449 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.1083, allocations: 4 kB / 411.6 MB, free: 2.445 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.1083, allocations: 3.938 kB / 411.6 MB, free: 2.441 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001585/0.1085, allocations: 185.6 kB / 411.8 MB, free: 2.211 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.1085, allocations: 0 / 411.8 MB, free: 2.211 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001166/0.1086, allocations: 19.97 kB / 411.8 MB, free: 2.191 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.1086, allocations: 0 / 411.8 MB, free: 2.191 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.836e-06/0.1086, allocations: 0 / 411.8 MB, free: 2.191 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.1087, allocations: 4 kB / 411.8 MB, free: 2.188 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.1087, allocations: 0 / 411.8 MB, free: 2.188 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003562/0.109, allocations: 146.6 kB / 412 MB, free: 2.02 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.951e-05/0.1091, allocations: 85.09 kB / 412 MB, free: 1.918 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.738e-05/0.1091, allocations: 0 / 412 MB, free: 1.918 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.625e-05/0.1092, allocations: 19.98 kB / 412.1 MB, free: 1.898 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.954e-05/0.1093, allocations: 4 kB / 412.1 MB, free: 1.895 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.925e-06/0.1093, allocations: 3.984 kB / 412.1 MB, free: 1.891 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.053e-05/0.1094, allocations: 99.27 kB / 412.2 MB, free: 1.793 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1094, allocations: 0 / 412.2 MB, free: 1.793 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001942/0.1096, allocations: 15.94 kB / 412.2 MB, free: 1.777 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.0006747/0.1102, allocations: 0.6842 MB / 412.9 MB, free: 1.059 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000345/0.1106, allocations: 79.91 kB / 412.9 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1106, allocations: 0 / 412.9 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001466/0.1108, allocations: 31.97 kB / 413 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001619/0.1109, allocations: 11.98 kB / 413 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006136/0.1115, allocations: 218.8 kB / 413.2 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000333/0.1119, allocations: 0.6923 MB / 413.9 MB, free: 15.96 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.541e-05/0.1119, allocations: 0 / 413.9 MB, free: 15.96 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.231e-05/0.112, allocations: 27.36 kB / 413.9 MB, free: 15.93 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.112, allocations: 0 / 413.9 MB, free: 15.93 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02165/0.1337, allocations: 1.712 MB / 415.6 MB, free: 14.29 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.815/7.948, allocations: 13.75 kB / 415.6 MB, free: 14.28 MB / 350.1 MB " [Timeout remaining time 652] (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 --stepSize=0.0001 --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) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/CompareSincExpSine/CompareSincExpSine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.51888452284038]