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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001575/0.001575, allocations: 122.7 kB / 18.5 MB, free: 4.578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001842/0.001842, allocations: 210.5 kB / 21.46 MB, free: 1.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.403/1.403, allocations: 230.2 MB / 254.5 MB, free: 15.26 MB / 206.1 MB " [Timeout remaining time 178] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001837/0.001837, allocations: 71.88 kB / 373.3 MB, free: 10.44 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.1155, allocations: 53.32 MB / 426.7 MB, free: 5.02 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.002788/0.1183, allocations: 1.517 MB / 428.2 MB, free: 3.496 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009068/0.1192, allocations: 0.4987 MB / 428.7 MB, free: 2.992 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.02e-05/0.1193, allocations: 0 / 428.7 MB, free: 2.992 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.984e-05/0.1193, allocations: 11.92 kB / 428.7 MB, free: 2.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.324e-05/0.1194, allocations: 11.81 kB / 428.7 MB, free: 2.969 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002095/0.1196, allocations: 39.88 kB / 428.7 MB, free: 2.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001416/0.1198, allocations: 67.78 kB / 428.8 MB, free: 2.863 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.255e-05/0.1198, allocations: 4.188 kB / 428.8 MB, free: 2.859 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001877/0.12, allocations: 47.77 kB / 428.8 MB, free: 2.812 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.305e-05/0.1201, allocations: 31.91 kB / 428.9 MB, free: 2.781 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.74e-05/0.1201, allocations: 8 kB / 428.9 MB, free: 2.773 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.45e-05/0.1201, allocations: 12 kB / 428.9 MB, free: 2.762 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.112e-05/0.1202, allocations: 15.92 kB / 428.9 MB, free: 2.746 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.072e-05/0.1202, allocations: 27.84 kB / 428.9 MB, free: 2.719 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001463/0.1203, allocations: 59.73 kB / 429 MB, free: 2.66 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.1203, allocations: 3.938 kB / 429 MB, free: 2.656 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1204, allocations: 0 / 429 MB, free: 2.656 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.511e-06/0.1204, allocations: 0 / 429 MB, free: 2.656 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.0006997/0.1211, allocations: 403.1 kB / 429.4 MB, free: 2.215 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.1211, allocations: 11.97 kB / 429.4 MB, free: 2.203 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.454e-05/0.1211, allocations: 34.75 kB / 429.4 MB, free: 2.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002975/0.1214, allocations: 32.86 kB / 429.5 MB, free: 2.129 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002367/0.1217, allocations: 184.3 kB / 429.7 MB, free: 1.91 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.1217, allocations: 384 / 429.7 MB, free: 1.91 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.301e-05/0.1217, allocations: 384 / 429.7 MB, free: 1.91 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002573/0.122, allocations: 92.16 kB / 429.7 MB, free: 1.805 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/0.122, allocations: 7.938 kB / 429.8 MB, free: 1.797 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.122, allocations: 0 / 429.8 MB, free: 1.797 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.122, allocations: 3.938 kB / 429.8 MB, free: 1.793 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002431/0.1222, allocations: 59.92 kB / 429.8 MB, free: 1.734 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002179/0.1224, allocations: 191.5 kB / 430 MB, free: 1.492 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002517/0.1227, allocations: 99.75 kB / 430.1 MB, free: 1.367 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001423/0.1228, allocations: 50.55 kB / 430.1 MB, free: 1.309 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.055e-05/0.1229, allocations: 3.938 kB / 430.2 MB, free: 1.305 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.551e-05/0.1229, allocations: 38.56 kB / 430.2 MB, free: 1.258 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.1229, allocations: 0 / 430.2 MB, free: 1.258 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005109/0.1234, allocations: 137.5 kB / 430.3 MB, free: 1.117 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.488e-05/0.1235, allocations: 110.8 kB / 430.4 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000119/0.1236, allocations: 132.3 kB / 430.6 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.982e-05/0.1236, allocations: 26.08 kB / 430.6 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.666e-05/0.1237, allocations: 100.1 kB / 430.7 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.117e-05/0.1237, allocations: 11.89 kB / 430.7 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.473e-05/0.1238, allocations: 25.7 kB / 430.7 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.1239, allocations: 314.8 kB / 431 MB, free: 364 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000121/0.124, allocations: 31.97 kB / 431.1 MB, free: 332 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001416/0.1242, allocations: 50.53 kB / 431.1 MB, free: 272 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002508/0.1244, allocations: 86.45 kB / 431.2 MB, free: 176 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1244, allocations: 4 kB / 431.2 MB, free: 172 kB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002968/0.1247, allocations: 109.5 kB / 431.3 MB, free: 56 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.1247, allocations: 8 kB / 431.3 MB, free: 48 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.1247, allocations: 0 / 431.3 MB, free: 48 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.1248, allocations: 0 / 431.3 MB, free: 48 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001363/0.1249, allocations: 15.98 kB / 431.3 MB, free: 32 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.1249, allocations: 4.094 kB / 431.3 MB, free: 28 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.722e-05/0.125, allocations: 12.08 kB / 431.3 MB, free: 16 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.144e-05/0.125, allocations: 11.92 kB / 431.4 MB, free: 4 kB / 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.000104/0.1251, allocations: 113.8 kB / 431.5 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.139e-05/0.1251, allocations: 15.88 kB / 431.5 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.465e-05/0.1252, allocations: 7.875 kB / 431.5 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.1252, allocations: 4 kB / 431.5 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.1252, allocations: 0 / 431.5 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.1252, allocations: 4 kB / 431.5 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001588/0.1253, allocations: 185.6 kB / 431.7 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.1253, allocations: 0 / 431.7 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001134/0.1254, allocations: 19.92 kB / 431.7 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.1254, allocations: 0 / 431.7 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.1255, allocations: 4 kB / 431.7 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.222e-06/0.1255, allocations: 7.984 kB / 431.7 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1255, allocations: 0 / 431.7 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003237/0.1258, allocations: 142.7 kB / 431.9 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.976e-05/0.1258, allocations: 92.94 kB / 431.9 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.03e-05/0.1259, allocations: 4 kB / 431.9 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.149e-05/0.1259, allocations: 11.98 kB / 432 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.553e-05/0.126, allocations: 15.92 kB / 432 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.21e-06/0.126, allocations: 0 / 432 MB, free: 15.28 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.875e-05/0.1261, allocations: 105.3 kB / 432.1 MB, free: 15.18 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1261, allocations: 0 / 432.1 MB, free: 15.18 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0001907/0.1263, allocations: 8 kB / 432.1 MB, free: 15.17 MB / 366.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.0006246/0.1269, allocations: 0.6765 MB / 432.8 MB, free: 14.46 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003035/0.1272, allocations: 71.94 kB / 432.8 MB, free: 14.39 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1272, allocations: 0 / 432.8 MB, free: 14.39 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001365/0.1273, allocations: 39.89 kB / 432.9 MB, free: 14.35 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001591/0.1275, allocations: 8 kB / 432.9 MB, free: 14.34 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001894/0.1294, allocations: 1.464 MB / 434.3 MB, free: 12.77 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000302/0.1297, allocations: 0.6846 MB / 435 MB, free: 12.06 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.108e-05/0.1297, allocations: 7.984 kB / 435 MB, free: 12.05 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.314e-05/0.1298, allocations: 19.44 kB / 435.1 MB, free: 12.04 MB / 366.1 MB Notification: Performance of SimCode: time 7.91e-07/0.1298, allocations: 0 / 435.1 MB, free: 12.04 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02363/0.1534, allocations: 1.745 MB / 436.8 MB, free: 10.36 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.936/8.089, allocations: 13.91 kB / 436.8 MB, free: 10.35 MB / 366.1 MB " [Timeout remaining time 652] (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 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Blocks_Examples_CompareSincExpSine.fmu > Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/CompareSincExpSine/CompareSincExpSine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_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.739266420248896]