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.001324/0.001324, allocations: 117 kB / 18.49 MB, free: 4.59 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.001506/0.001506, allocations: 212.7 kB / 21.45 MB, free: 1.637 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.536/1.536, allocations: 230.5 MB / 254.7 MB, free: 15.18 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.CompareSincExpSine,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_CompareSincExpSine",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001862/0.001862, allocations: 63.89 kB / 373.7 MB, free: 10.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.126, allocations: 53.38 MB / 427.1 MB, free: 4.629 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.002825/0.1288, allocations: 1.516 MB / 428.6 MB, free: 3.109 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009313/0.1298, allocations: 0.5026 MB / 429.1 MB, free: 2.602 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.311e-05/0.1298, allocations: 0 / 429.1 MB, free: 2.602 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.571e-05/0.1298, allocations: 3.938 kB / 429.1 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.578e-05/0.1299, allocations: 23.8 kB / 429.1 MB, free: 2.574 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001941/0.1301, allocations: 35.89 kB / 429.1 MB, free: 2.539 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001299/0.1302, allocations: 71.7 kB / 429.2 MB, free: 2.469 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.642e-05/0.1303, allocations: 192 / 429.2 MB, free: 2.469 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000166/0.1304, allocations: 47.84 kB / 429.2 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.824e-05/0.1305, allocations: 27.91 kB / 429.3 MB, free: 2.395 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.671e-05/0.1305, allocations: 4 kB / 429.3 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.366e-05/0.1306, allocations: 19.92 kB / 429.3 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.919e-05/0.1306, allocations: 11.94 kB / 429.3 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.036e-05/0.1306, allocations: 27.84 kB / 429.3 MB, free: 2.332 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001344/0.1308, allocations: 63.73 kB / 429.4 MB, free: 2.27 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.1308, allocations: 3.938 kB / 429.4 MB, free: 2.266 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.516e-06/0.1308, allocations: 3.984 kB / 429.4 MB, free: 2.262 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.057e-06/0.1308, allocations: 0 / 429.4 MB, free: 2.262 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.0006604/0.1315, allocations: 395.1 kB / 429.8 MB, free: 1.828 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.1315, allocations: 8.031 kB / 429.8 MB, free: 1.82 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.067e-05/0.1315, allocations: 4.125 kB / 429.8 MB, free: 1.816 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.384e-05/0.1315, allocations: 42.73 kB / 429.8 MB, free: 1.766 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003027/0.1318, allocations: 28.88 kB / 429.9 MB, free: 1.738 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002223/0.1321, allocations: 186.4 kB / 430.1 MB, free: 1.52 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.1321, allocations: 4.375 kB / 430.1 MB, free: 1.516 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.787e-05/0.1321, allocations: 8.125 kB / 430.1 MB, free: 1.508 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002591/0.1324, allocations: 84.16 kB / 430.2 MB, free: 1.41 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.1324, allocations: 4 kB / 430.2 MB, free: 1.406 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.1324, allocations: 0 / 430.2 MB, free: 1.406 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.757e-06/0.1324, allocations: 4 kB / 430.2 MB, free: 1.402 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002765/0.1327, allocations: 63.88 kB / 430.2 MB, free: 1.34 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002039/0.1329, allocations: 187.5 kB / 430.4 MB, free: 1.102 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002899/0.1332, allocations: 103.7 kB / 430.5 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001581/0.1333, allocations: 50.55 kB / 430.6 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.961e-05/0.1333, allocations: 4 kB / 430.6 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.991e-05/0.1334, allocations: 34.56 kB / 430.6 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.1334, allocations: 0 / 430.6 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005675/0.1339, allocations: 149.8 kB / 430.7 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.525e-05/0.134, allocations: 102.8 kB / 430.8 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001084/0.1341, allocations: 125.8 kB / 431 MB, free: 468 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.662e-05/0.1341, allocations: 25.7 kB / 431 MB, free: 436 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.354e-05/0.1342, allocations: 96.14 kB / 431.1 MB, free: 336 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.604e-05/0.1342, allocations: 19.88 kB / 431.1 MB, free: 316 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.829e-05/0.1343, allocations: 13.72 kB / 431.1 MB, free: 296 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001709/0.1344, allocations: 322.9 kB / 431.4 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001407/0.1346, allocations: 31.97 kB / 431.5 MB, free: 15.93 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001435/0.1347, allocations: 46.55 kB / 431.5 MB, free: 15.88 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000289/0.135, allocations: 86.45 kB / 431.6 MB, free: 15.79 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.135, allocations: 0 / 431.6 MB, free: 15.79 MB / 366.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003431/0.1353, allocations: 117.5 kB / 431.7 MB, free: 15.66 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.1354, allocations: 10.44 kB / 431.7 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.1354, allocations: 0 / 431.7 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.1354, allocations: 4 kB / 431.7 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001502/0.1355, allocations: 19.97 kB / 431.7 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.1355, allocations: 0 / 431.7 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.842e-05/0.1356, allocations: 11.98 kB / 431.8 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.336e-06/0.1356, allocations: 4.031 kB / 431.8 MB, free: 15.62 MB / 366.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.646e-05/0.1357, allocations: 125.7 kB / 431.9 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.343e-05/0.1358, allocations: 15.88 kB / 431.9 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.662e-05/0.1358, allocations: 15.86 kB / 431.9 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.1358, allocations: 0 / 431.9 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.1358, allocations: 0 / 431.9 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.1358, allocations: 4 kB / 431.9 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000158/0.136, allocations: 173.6 kB / 432.1 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.136, allocations: 0 / 432.1 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001227/0.1361, allocations: 19.97 kB / 432.1 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/0.1361, allocations: 4 kB / 432.1 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.708e-06/0.1361, allocations: 4 kB / 432.1 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.1361, allocations: 0 / 432.1 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.1361, allocations: 4 kB / 432.1 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003601/0.1365, allocations: 150.6 kB / 432.3 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.946e-05/0.1365, allocations: 88.98 kB / 432.3 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.756e-05/0.1365, allocations: 4 kB / 432.4 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001007/0.1366, allocations: 15.98 kB / 432.4 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.761e-05/0.1367, allocations: 0 / 432.4 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.007e-05/0.1367, allocations: 7.984 kB / 432.4 MB, free: 14.89 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.762e-05/0.1368, allocations: 99.27 kB / 432.5 MB, free: 14.79 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1368, allocations: 0 / 432.5 MB, free: 14.79 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0001925/0.137, allocations: 8 kB / 432.5 MB, free: 14.78 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.0006576/0.1376, allocations: 0.6804 MB / 433.2 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003427/0.138, allocations: 71.92 kB / 433.2 MB, free: 14 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.138, allocations: 3.938 kB / 433.2 MB, free: 13.99 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001505/0.1381, allocations: 36.28 kB / 433.3 MB, free: 13.96 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000153/0.1383, allocations: 6.031 kB / 433.3 MB, free: 13.95 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00205/0.1403, allocations: 1.462 MB / 434.7 MB, free: 12.39 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002985/0.1406, allocations: 0.6924 MB / 435.4 MB, free: 11.67 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.408e-05/0.1407, allocations: 0 / 435.4 MB, free: 11.67 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.052e-05/0.1407, allocations: 23.42 kB / 435.5 MB, free: 11.64 MB / 366.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1407, allocations: 0 / 435.5 MB, free: 11.64 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02434/0.1651, allocations: 1.786 MB / 437.2 MB, free: 9.938 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.347/8.512, allocations: 4.062 kB / 437.2 MB, free: 9.934 MB / 366.1 MB " [Timeout remaining time 651] (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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/CompareSincExpSine/CompareSincExpSine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 11.49755131098209]