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.001262/0.001262, allocations: 123.9 kB / 17.79 MB, free: 5.266 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.001227/0.001227, allocations: 185.2 kB / 20.73 MB, free: 2.332 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.373/1.373, allocations: 225.6 MB / 249.1 MB, free: 3.605 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.001494/0.001494, allocations: 51.92 kB / 365.6 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1112, allocations: 52.15 MB / 417.8 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.00288/0.1141, allocations: 1.482 MB / 419.3 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007601/0.1148, allocations: 458.8 kB / 419.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.984e-05/0.1149, allocations: 0 / 419.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.58e-05/0.1149, allocations: 7.922 kB / 419.7 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.992e-05/0.115, allocations: 15.81 kB / 419.7 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002034/0.1152, allocations: 27.95 kB / 419.8 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001177/0.1153, allocations: 75.66 kB / 419.8 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.176e-05/0.1154, allocations: 7.984 kB / 419.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001307/0.1155, allocations: 27.92 kB / 419.9 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.528e-05/0.1156, allocations: 35.83 kB / 419.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.853e-05/0.1156, allocations: 8 kB / 419.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.421e-05/0.1156, allocations: 4 kB / 419.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.442e-05/0.1157, allocations: 15.86 kB / 419.9 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.499e-05/0.1157, allocations: 27.86 kB / 420 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001112/0.1158, allocations: 51.73 kB / 420 MB, free: 10.36 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.1158, allocations: 0 / 420 MB, free: 10.36 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.1158, allocations: 0 / 420 MB, free: 10.36 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.229e-06/0.1158, allocations: 4 kB / 420 MB, free: 10.35 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.0007431/0.1166, allocations: 391.1 kB / 420.4 MB, free: 9.922 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.559e-05/0.1166, allocations: 12.03 kB / 420.4 MB, free: 9.91 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.336e-05/0.1167, allocations: 34.73 kB / 420.4 MB, free: 9.867 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.073e-05/0.1167, allocations: 8.891 kB / 420.4 MB, free: 9.859 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001589/0.1169, allocations: 180.2 kB / 420.6 MB, free: 9.645 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/0.1169, allocations: 4.125 kB / 420.6 MB, free: 9.641 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.168e-05/0.1169, allocations: 7.938 kB / 420.6 MB, free: 9.633 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002668/0.1172, allocations: 96.14 kB / 420.7 MB, free: 9.523 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.1172, allocations: 0 / 420.7 MB, free: 9.523 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.1172, allocations: 0 / 420.7 MB, free: 9.523 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.1172, allocations: 0 / 420.7 MB, free: 9.523 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002719/0.1175, allocations: 63.94 kB / 420.8 MB, free: 9.461 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002185/0.1177, allocations: 187.4 kB / 421 MB, free: 9.223 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002855/0.118, allocations: 107.7 kB / 421.1 MB, free: 9.09 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001521/0.1181, allocations: 46.61 kB / 421.1 MB, free: 9.035 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.029e-05/0.1181, allocations: 0 / 421.1 MB, free: 9.035 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.781e-05/0.1182, allocations: 42.55 kB / 421.2 MB, free: 8.984 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.1182, allocations: 4 kB / 421.2 MB, free: 8.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005037/0.1187, allocations: 137.5 kB / 421.3 MB, free: 8.84 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.371e-05/0.1188, allocations: 111.1 kB / 421.4 MB, free: 8.707 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001275/0.1189, allocations: 128.4 kB / 421.5 MB, free: 8.57 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.207e-05/0.1189, allocations: 29.7 kB / 421.6 MB, free: 8.535 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.701e-05/0.119, allocations: 88.14 kB / 421.7 MB, free: 8.445 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.685e-05/0.119, allocations: 19.83 kB / 421.7 MB, free: 8.426 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.016e-05/0.119, allocations: 17.72 kB / 421.7 MB, free: 8.402 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001484/0.1192, allocations: 318.8 kB / 422 MB, free: 8.082 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001238/0.1193, allocations: 27.97 kB / 422 MB, free: 8.055 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001347/0.1194, allocations: 50.55 kB / 422.1 MB, free: 7.996 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002595/0.1197, allocations: 86.45 kB / 422.2 MB, free: 7.902 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.1197, allocations: 3.938 kB / 422.2 MB, free: 7.898 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003076/0.12, allocations: 105.6 kB / 422.3 MB, free: 7.789 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.12, allocations: 7.938 kB / 422.3 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.12, allocations: 0 / 422.3 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.1201, allocations: 4.094 kB / 422.3 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001422/0.1202, allocations: 23.97 kB / 422.3 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.1202, allocations: 0 / 422.3 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.45e-05/0.1203, allocations: 15.94 kB / 422.3 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.605e-06/0.1203, allocations: 0 / 422.3 MB, free: 7.738 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 9.758e-05/0.1204, allocations: 117.8 kB / 422.4 MB, free: 7.613 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.097e-05/0.1204, allocations: 11.94 kB / 422.4 MB, free: 7.602 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.292e-05/0.1205, allocations: 11.88 kB / 422.5 MB, free: 7.586 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.1205, allocations: 4 kB / 422.5 MB, free: 7.582 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.1205, allocations: 3.938 kB / 422.5 MB, free: 7.578 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.1205, allocations: 4 kB / 422.5 MB, free: 7.574 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001732/0.1206, allocations: 177.6 kB / 422.6 MB, free: 7.352 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.1206, allocations: 0 / 422.6 MB, free: 7.352 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001186/0.1208, allocations: 19.97 kB / 422.7 MB, free: 7.332 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.054e-06/0.1208, allocations: 4 kB / 422.7 MB, free: 7.328 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.1208, allocations: 3.938 kB / 422.7 MB, free: 7.324 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.1208, allocations: 0 / 422.7 MB, free: 7.324 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.1208, allocations: 4 kB / 422.7 MB, free: 7.32 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004049/0.1212, allocations: 146.6 kB / 422.8 MB, free: 7.152 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.368e-05/0.1212, allocations: 85.09 kB / 422.9 MB, free: 7.051 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.965e-05/0.1213, allocations: 4 kB / 422.9 MB, free: 7.047 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.288e-05/0.1214, allocations: 15.98 kB / 422.9 MB, free: 7.031 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.548e-05/0.1214, allocations: 4.141 kB / 422.9 MB, free: 7.027 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.03e-05/0.1214, allocations: 7.984 kB / 422.9 MB, free: 7.02 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.677e-05/0.1215, allocations: 98.36 kB / 423 MB, free: 6.926 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1215, allocations: 0 / 423 MB, free: 6.926 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001981/0.1217, allocations: 12 kB / 423 MB, free: 6.914 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.0007454/0.1224, allocations: 0.6842 MB / 423.7 MB, free: 6.195 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003128/0.1227, allocations: 71.92 kB / 423.8 MB, free: 6.125 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.1227, allocations: 0 / 423.8 MB, free: 6.125 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001417/0.1229, allocations: 39.91 kB / 423.8 MB, free: 6.086 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001544/0.123, allocations: 4 kB / 423.8 MB, free: 6.082 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006579/0.1237, allocations: 230.8 kB / 424.1 MB, free: 5.812 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003884/0.1241, allocations: 0.6844 MB / 424.7 MB, free: 5.102 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.103e-05/0.1241, allocations: 11.94 kB / 424.8 MB, free: 5.09 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.913e-05/0.1242, allocations: 23.42 kB / 424.8 MB, free: 5.066 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1242, allocations: 0 / 424.8 MB, free: 5.066 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02676/0.1509, allocations: 1.724 MB / 426.5 MB, free: 3.414 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.617/7.768, allocations: 9.969 kB / 426.5 MB, free: 3.406 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.15236098272726]