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.001648/0.001648, allocations: 115.7 kB / 18.49 MB, free: 4.59 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.001274/0.001274, allocations: 194.5 kB / 21.43 MB, free: 1.66 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.403/1.403, allocations: 225.6 MB / 249.8 MB, free: 3.738 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.CompareSincExpSine,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_CompareSincExpSine",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001506/0.001506, allocations: 47.94 kB / 366.3 MB, free: 0.875 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1099, allocations: 52.14 MB / 418.5 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.002784/0.1127, allocations: 1.511 MB / 420 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007999/0.1135, allocations: 450.8 kB / 420.4 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.1e-05/0.1135, allocations: 0 / 420.4 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.041e-05/0.1135, allocations: 7.938 kB / 420.4 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001054/0.1136, allocations: 23.78 kB / 420.4 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001518/0.1138, allocations: 23.97 kB / 420.5 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000119/0.1139, allocations: 71.66 kB / 420.5 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.445e-05/0.114, allocations: 4 kB / 420.5 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001346/0.1141, allocations: 35.89 kB / 420.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.772e-05/0.1142, allocations: 39.78 kB / 420.6 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.194e-05/0.1142, allocations: 4 kB / 420.6 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.239e-05/0.1142, allocations: 4 kB / 420.6 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.873e-05/0.1142, allocations: 15.94 kB / 420.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.544e-05/0.1143, allocations: 23.84 kB / 420.7 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001141/0.1144, allocations: 55.75 kB / 420.7 MB, free: 10.38 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.1144, allocations: 0 / 420.7 MB, free: 10.38 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1144, allocations: 0 / 420.7 MB, free: 10.38 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.119e-06/0.1144, allocations: 0 / 420.7 MB, free: 10.38 MB / 350.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.0007454/0.1152, allocations: 391.1 kB / 421.1 MB, free: 9.945 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.1152, allocations: 12.03 kB / 421.1 MB, free: 9.934 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.956e-05/0.1152, allocations: 8.188 kB / 421.1 MB, free: 9.926 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.436e-05/0.1153, allocations: 30.75 kB / 421.2 MB, free: 9.887 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.194e-05/0.1153, allocations: 8.891 kB / 421.2 MB, free: 9.879 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001775/0.1155, allocations: 184.2 kB / 421.3 MB, free: 9.66 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.1155, allocations: 3.938 kB / 421.3 MB, free: 9.656 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.481e-05/0.1155, allocations: 0 / 421.3 MB, free: 9.656 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002798/0.1158, allocations: 96.16 kB / 421.4 MB, free: 9.547 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.1158, allocations: 4 kB / 421.4 MB, free: 9.543 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.1158, allocations: 0 / 421.4 MB, free: 9.543 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.1158, allocations: 0 / 421.4 MB, free: 9.543 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002822/0.1161, allocations: 63.86 kB / 421.5 MB, free: 9.48 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002428/0.1163, allocations: 199.3 kB / 421.7 MB, free: 9.23 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002847/0.1166, allocations: 95.75 kB / 421.8 MB, free: 9.109 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001573/0.1168, allocations: 50.61 kB / 421.8 MB, free: 9.051 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.147e-05/0.1168, allocations: 3.984 kB / 421.8 MB, free: 9.047 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/0.1168, allocations: 34.56 kB / 421.9 MB, free: 9.004 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.1168, allocations: 0 / 421.9 MB, free: 9.004 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.000561/0.1174, allocations: 145.4 kB / 422 MB, free: 8.855 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.541e-05/0.1175, allocations: 102.8 kB / 422.1 MB, free: 8.73 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001173/0.1176, allocations: 130.1 kB / 422.2 MB, free: 8.59 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.47e-05/0.1176, allocations: 25.7 kB / 422.3 MB, free: 8.559 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.956e-05/0.1177, allocations: 92.52 kB / 422.4 MB, free: 8.465 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.291e-05/0.1177, allocations: 19.84 kB / 422.4 MB, free: 8.445 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.51e-05/0.1178, allocations: 17.7 kB / 422.4 MB, free: 8.422 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.1179, allocations: 318.8 kB / 422.7 MB, free: 8.102 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001491/0.1181, allocations: 27.97 kB / 422.7 MB, free: 8.074 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001596/0.1182, allocations: 54.55 kB / 422.8 MB, free: 8.012 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002899/0.1185, allocations: 82.39 kB / 422.9 MB, free: 7.922 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.1185, allocations: 0 / 422.9 MB, free: 7.922 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003501/0.1189, allocations: 117.5 kB / 423 MB, free: 7.801 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.1189, allocations: 4 kB / 423 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.1189, allocations: 0 / 423 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.1189, allocations: 4 kB / 423 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001503/0.1191, allocations: 15.98 kB / 423 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.1191, allocations: 3.984 kB / 423 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001009/0.1192, allocations: 16.05 kB / 423 MB, free: 7.758 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/0.1192, allocations: 3.984 kB / 423 MB, free: 7.754 MB / 350.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 0.0001005/0.1193, allocations: 121.7 kB / 423.2 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.817e-05/0.1193, allocations: 7.953 kB / 423.2 MB, free: 7.617 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.176e-05/0.1193, allocations: 11.88 kB / 423.2 MB, free: 7.602 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.1193, allocations: 0 / 423.2 MB, free: 7.602 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.1193, allocations: 3.984 kB / 423.2 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.1193, allocations: 0 / 423.2 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001579/0.1195, allocations: 177.6 kB / 423.4 MB, free: 7.375 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1195, allocations: 4 kB / 423.4 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001197/0.1196, allocations: 15.98 kB / 423.4 MB, free: 7.355 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.58e-06/0.1196, allocations: 4 kB / 423.4 MB, free: 7.352 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.175e-05/0.1196, allocations: 3.984 kB / 423.4 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.1196, allocations: 0 / 423.4 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1196, allocations: 0 / 423.4 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003564/0.12, allocations: 154.6 kB / 423.5 MB, free: 7.172 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.198e-05/0.12, allocations: 77.11 kB / 423.6 MB, free: 7.078 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.856e-05/0.1201, allocations: 4 kB / 423.6 MB, free: 7.074 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.1202, allocations: 15.92 kB / 423.6 MB, free: 7.059 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.153e-05/0.1202, allocations: 11.98 kB / 423.6 MB, free: 7.047 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-06/0.1202, allocations: 8 kB / 423.6 MB, free: 7.039 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.088e-05/0.1203, allocations: 97.52 kB / 423.7 MB, free: 6.945 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1203, allocations: 0 / 423.7 MB, free: 6.945 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001921/0.1205, allocations: 8 kB / 423.7 MB, free: 6.938 MB / 350.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.0006917/0.1212, allocations: 0.6842 MB / 424.4 MB, free: 6.219 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003568/0.1215, allocations: 71.88 kB / 424.5 MB, free: 6.148 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.1215, allocations: 4.188 kB / 424.5 MB, free: 6.145 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001513/0.1217, allocations: 35.95 kB / 424.5 MB, free: 6.109 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001544/0.1218, allocations: 4 kB / 424.5 MB, free: 6.105 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006585/0.1225, allocations: 230.6 kB / 424.8 MB, free: 5.836 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003695/0.1229, allocations: 0.6961 MB / 425.5 MB, free: 5.113 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.507e-05/0.1229, allocations: 4.172 kB / 425.5 MB, free: 5.109 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.093e-05/0.123, allocations: 23.42 kB / 425.5 MB, free: 5.086 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.123, allocations: 0 / 425.5 MB, free: 5.086 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01745/0.1404, allocations: 1.762 MB / 427.3 MB, free: 3.406 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.888/8.029, allocations: 10.41 kB / 427.3 MB, free: 3.398 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/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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.59088537102798]