Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.CompareSincExpSine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001513/0.001513, allocations: 120.1 kB / 18.49 MB, free: 4.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001573/0.001573, allocations: 215 kB / 21.45 MB, free: 1.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.516/1.516, allocations: 230.6 MB / 254.8 MB, free: 15.23 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.CompareSincExpSine,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_CompareSincExpSine",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.CompareSincExpSine,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_CompareSincExpSine",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001604/0.001604, allocations: 47.94 kB / 373.7 MB, free: 10.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.1323, allocations: 53.34 MB / 427 MB, free: 4.824 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.003957/0.1363, allocations: 1.509 MB / 428.5 MB, free: 3.305 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001315/0.1376, allocations: 0.4987 MB / 429 MB, free: 2.801 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.834e-05/0.1377, allocations: 4 kB / 429 MB, free: 2.797 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.217e-05/0.1377, allocations: 3.938 kB / 429 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001452/0.1379, allocations: 23.78 kB / 429 MB, free: 2.77 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003149/0.1382, allocations: 31.91 kB / 429.1 MB, free: 2.738 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000247/0.1384, allocations: 75.69 kB / 429.2 MB, free: 2.664 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.118e-05/0.1385, allocations: 192 / 429.2 MB, free: 2.664 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002689/0.1388, allocations: 43.86 kB / 429.2 MB, free: 2.621 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001072/0.1389, allocations: 31.89 kB / 429.2 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.498e-05/0.1389, allocations: 8 kB / 429.2 MB, free: 2.582 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.184e-05/0.139, allocations: 23.92 kB / 429.3 MB, free: 2.559 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.563e-05/0.139, allocations: 7.938 kB / 429.3 MB, free: 2.551 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.437e-05/0.1391, allocations: 23.86 kB / 429.3 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002075/0.1393, allocations: 59.73 kB / 429.3 MB, free: 2.469 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.563e-06/0.1393, allocations: 0 / 429.3 MB, free: 2.469 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1393, allocations: 0 / 429.3 MB, free: 2.469 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.384e-06/0.1393, allocations: 0 / 429.3 MB, free: 2.469 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.0009747/0.1403, allocations: 407 kB / 429.7 MB, free: 2.023 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.579e-05/0.1403, allocations: 8.031 kB / 429.8 MB, free: 2.016 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.835e-05/0.1404, allocations: 8.125 kB / 429.8 MB, free: 2.008 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.475e-05/0.1404, allocations: 30.75 kB / 429.8 MB, free: 1.969 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003995/0.1408, allocations: 32.86 kB / 429.8 MB, free: 1.938 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003423/0.1411, allocations: 188.2 kB / 430 MB, free: 1.715 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.626e-05/0.1412, allocations: 4.375 kB / 430 MB, free: 1.711 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.818e-05/0.1412, allocations: 8.125 kB / 430 MB, free: 1.703 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003476/0.1415, allocations: 92.14 kB / 430.1 MB, free: 1.598 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.1415, allocations: 0 / 430.1 MB, free: 1.598 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.1415, allocations: 0 / 430.1 MB, free: 1.598 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/0.1416, allocations: 4 kB / 430.1 MB, free: 1.594 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003705/0.1419, allocations: 63.88 kB / 430.2 MB, free: 1.531 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003028/0.1422, allocations: 191.5 kB / 430.4 MB, free: 1.289 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003698/0.1426, allocations: 99.75 kB / 430.5 MB, free: 1.164 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000219/0.1428, allocations: 50.53 kB / 430.5 MB, free: 1.105 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.697e-05/0.1428, allocations: 4 kB / 430.5 MB, free: 1.102 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.392e-05/0.1429, allocations: 38.56 kB / 430.5 MB, free: 1.055 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.763e-06/0.1429, allocations: 0 / 430.5 MB, free: 1.055 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0007407/0.1436, allocations: 141.4 kB / 430.7 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.593e-05/0.1437, allocations: 103.2 kB / 430.8 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001756/0.1439, allocations: 135.9 kB / 430.9 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.527e-05/0.1439, allocations: 29.7 kB / 431 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.55e-05/0.144, allocations: 92.14 kB / 431 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.751e-05/0.144, allocations: 15.89 kB / 431.1 MB, free: 0.5 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.73e-05/0.1441, allocations: 17.72 kB / 431.1 MB, free: 488 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001849/0.1443, allocations: 318.8 kB / 431.4 MB, free: 160 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001847/0.1445, allocations: 27.97 kB / 431.4 MB, free: 132 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001906/0.1446, allocations: 50.55 kB / 431.5 MB, free: 72 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004134/0.1451, allocations: 86.45 kB / 431.5 MB, free: 15.98 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-06/0.1451, allocations: 0 / 431.5 MB, free: 15.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000452/0.1455, allocations: 113.5 kB / 431.7 MB, free: 15.86 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.275e-05/0.1455, allocations: 4 kB / 431.7 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.1455, allocations: 4 kB / 431.7 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.963e-05/0.1456, allocations: 0 / 431.7 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000195/0.1458, allocations: 24.06 kB / 431.7 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.1458, allocations: 0 / 431.7 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001264/0.1459, allocations: 11.98 kB / 431.7 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/0.1459, allocations: 3.938 kB / 431.7 MB, free: 15.81 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 0.0001356/0.146, allocations: 117.8 kB / 431.8 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.739e-05/0.1461, allocations: 11.89 kB / 431.8 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.114e-05/0.1461, allocations: 15.86 kB / 431.8 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.1461, allocations: 7.938 kB / 431.9 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.1461, allocations: 0 / 431.9 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.806e-06/0.1461, allocations: 4 kB / 431.9 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002289/0.1464, allocations: 177.6 kB / 432 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.1464, allocations: 4 kB / 432 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001579/0.1465, allocations: 19.97 kB / 432.1 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.1465, allocations: 0 / 432.1 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.255e-05/0.1465, allocations: 0 / 432.1 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.1465, allocations: 0 / 432.1 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.1465, allocations: 4 kB / 432.1 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005046/0.1471, allocations: 146.6 kB / 432.2 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.538e-05/0.1471, allocations: 92.98 kB / 432.3 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.393e-05/0.1472, allocations: 0 / 432.3 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001347/0.1473, allocations: 19.98 kB / 432.3 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.812e-05/0.1473, allocations: 0 / 432.3 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2e-05/0.1474, allocations: 12.12 kB / 432.3 MB, free: 15.08 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001094/0.1475, allocations: 101.8 kB / 432.4 MB, free: 14.98 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1475, allocations: 0 / 432.4 MB, free: 14.98 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003127/0.1478, allocations: 12 kB / 432.4 MB, free: 14.97 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.0009061/0.1487, allocations: 0.6803 MB / 433.1 MB, free: 14.26 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004788/0.1492, allocations: 75.92 kB / 433.2 MB, free: 14.18 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.1492, allocations: 3.938 kB / 433.2 MB, free: 14.18 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002107/0.1494, allocations: 31.97 kB / 433.2 MB, free: 14.15 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002555/0.1496, allocations: 8 kB / 433.2 MB, free: 14.14 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003024/0.1527, allocations: 1.467 MB / 434.7 MB, free: 12.57 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004369/0.1531, allocations: 0.6885 MB / 435.4 MB, free: 11.86 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.677e-05/0.1532, allocations: 8 kB / 435.4 MB, free: 11.85 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.234e-05/0.1533, allocations: 19.42 kB / 435.4 MB, free: 11.83 MB / 366.1 MB Notification: Performance of SimCode: time 6.32e-07/0.1533, allocations: 0 / 435.4 MB, free: 11.83 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02314/0.1764, allocations: 1.79 MB / 437.2 MB, free: 10.13 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.005/8.181, allocations: 8.062 kB / 437.2 MB, free: 10.12 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.CompareSincExpSine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Blocks.Examples.CompareSincExpSine_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Blocks_Examples_CompareSincExpSine_fmu --startTime=0 --stopTime=1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Blocks_Examples_CompareSincExpSine.fmu > Modelica_4.1.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.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: 11.065979154023807]