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.0008267/0.0008267, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 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.0007741/0.0007741, allocations: 156.9 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.9561/0.9561, allocations: 177 MB / 204.1 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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 1.583e-06/1.583e-06, allocations: 0 / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.019e-05/2.177e-05, allocations: 2.281 kB / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.001838/0.00186, allocations: 1.494 MB / 326 MB, free: 14.38 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000583/0.002443, allocations: 482.7 kB / 326.5 MB, free: 13.9 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.977e-05/0.002492, allocations: 0 / 326.5 MB, free: 13.9 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.735e-05/0.00252, allocations: 3.938 kB / 326.5 MB, free: 13.9 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 9.04e-05/0.00261, allocations: 23.78 kB / 326.5 MB, free: 13.88 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002027/0.002813, allocations: 43.83 kB / 326.5 MB, free: 13.83 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001081/0.002921, allocations: 71.7 kB / 326.6 MB, free: 13.76 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.336e-05/0.002964, allocations: 4.188 kB / 326.6 MB, free: 13.76 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001673/0.003131, allocations: 51.83 kB / 326.7 MB, free: 13.71 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.091e-05/0.003182, allocations: 27.91 kB / 326.7 MB, free: 13.68 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.527e-05/0.003198, allocations: 4 kB / 326.7 MB, free: 13.68 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.256e-05/0.00324, allocations: 15.94 kB / 326.7 MB, free: 13.66 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.588e-05/0.003256, allocations: 11.92 kB / 326.7 MB, free: 13.65 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.37e-05/0.00328, allocations: 19.97 kB / 326.7 MB, free: 13.63 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001175/0.003397, allocations: 67.78 kB / 326.8 MB, free: 13.56 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.315e-06/0.0034, allocations: 4 kB / 326.8 MB, free: 13.56 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.003401, allocations: 0 / 326.8 MB, free: 13.56 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.118e-06/0.003405, allocations: 0 / 326.8 MB, free: 13.56 MB / 298.7 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.000407/0.003812, allocations: 318 kB / 327.1 MB, free: 13.22 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.003852, allocations: 15.98 kB / 327.1 MB, free: 13.2 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.768e-05/0.00388, allocations: 30.75 kB / 327.2 MB, free: 13.16 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001642/0.004044, allocations: 32.86 kB / 327.2 MB, free: 13.13 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001631/0.004207, allocations: 133.6 kB / 327.3 MB, free: 12.98 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.346e-06/0.004215, allocations: 384 / 327.3 MB, free: 12.98 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.318e-06/0.004225, allocations: 384 / 327.3 MB, free: 12.98 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001596/0.004384, allocations: 88.78 kB / 327.4 MB, free: 12.88 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.163e-06/0.004391, allocations: 4.172 kB / 327.4 MB, free: 12.87 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.448e-06/0.004401, allocations: 7.875 kB / 327.4 MB, free: 12.86 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.004405, allocations: 0 / 327.4 MB, free: 12.86 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001387/0.004544, allocations: 67.88 kB / 327.5 MB, free: 12.8 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001443/0.004688, allocations: 154.5 kB / 327.6 MB, free: 12.6 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001399/0.004828, allocations: 95.75 kB / 327.7 MB, free: 12.48 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.792e-05/0.004906, allocations: 50.61 kB / 327.8 MB, free: 12.42 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.57e-05/0.004922, allocations: 4 kB / 327.8 MB, free: 12.41 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.166e-05/0.004943, allocations: 42.5 kB / 327.8 MB, free: 12.36 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.004944, allocations: 0 / 327.8 MB, free: 12.36 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003014/0.005246, allocations: 133.5 kB / 328 MB, free: 12.23 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002822/0.005528, allocations: 111.2 kB / 328.1 MB, free: 12.09 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.852e-05/0.005606, allocations: 133.3 kB / 328.2 MB, free: 11.96 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.544e-05/0.005622, allocations: 29.64 kB / 328.2 MB, free: 11.92 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.427e-05/0.005656, allocations: 96.12 kB / 328.3 MB, free: 11.82 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.163e-05/0.005688, allocations: 15.83 kB / 328.3 MB, free: 11.81 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.175e-05/0.00572, allocations: 21.7 kB / 328.4 MB, free: 11.78 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.192e-05/0.005801, allocations: 318.8 kB / 328.7 MB, free: 11.46 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.839e-05/0.00587, allocations: 27.97 kB / 328.7 MB, free: 11.43 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.256e-05/0.005942, allocations: 50.53 kB / 328.7 MB, free: 11.38 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001411/0.006084, allocations: 86.45 kB / 328.8 MB, free: 11.28 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.006087, allocations: 8 kB / 328.8 MB, free: 11.27 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001693/0.006257, allocations: 109.5 kB / 328.9 MB, free: 11.16 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.006271, allocations: 7.938 kB / 329 MB, free: 11.15 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.094e-06/0.006278, allocations: 4 kB / 329 MB, free: 11.15 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.006291, allocations: 0 / 329 MB, free: 11.15 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.171e-05/0.006373, allocations: 15.98 kB / 329 MB, free: 11.13 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.72e-06/0.006379, allocations: 3.938 kB / 329 MB, free: 11.13 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.408e-05/0.006423, allocations: 11.98 kB / 329 MB, free: 11.12 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.628e-06/0.006432, allocations: 11.98 kB / 329 MB, free: 11.11 MB / 298.7 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 6.059e-05/0.006493, allocations: 109.9 kB / 329.1 MB, free: 10.99 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.019e-05/0.006503, allocations: 7.953 kB / 329.1 MB, free: 10.98 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.645e-05/0.00653, allocations: 19.86 kB / 329.1 MB, free: 10.96 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.006533, allocations: 0 / 329.1 MB, free: 10.96 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.006538, allocations: 4 kB / 329.1 MB, free: 10.96 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.006541, allocations: 0 / 329.1 MB, free: 10.96 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.492e-05/0.006636, allocations: 144.7 kB / 329.3 MB, free: 10.77 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.006637, allocations: 3.938 kB / 329.3 MB, free: 10.77 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.065e-05/0.006688, allocations: 19.97 kB / 329.3 MB, free: 10.75 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/0.006689, allocations: 4 kB / 329.3 MB, free: 10.75 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.006699, allocations: 11.94 kB / 329.3 MB, free: 10.73 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.12e-07/0.0067, allocations: 0 / 329.3 MB, free: 10.73 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.006701, allocations: 0 / 329.3 MB, free: 10.73 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001888/0.006889, allocations: 138.7 kB / 329.5 MB, free: 10.57 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.816e-06/0.006898, allocations: 3.953 kB / 329.5 MB, free: 10.57 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.45e-05/0.006913, allocations: 11.92 kB / 329.5 MB, free: 10.56 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.81e-05/0.006951, allocations: 15.98 kB / 329.5 MB, free: 10.54 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.917e-05/0.00699, allocations: 0 / 329.5 MB, free: 10.54 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.056e-06/0.006998, allocations: 7.984 kB / 329.5 MB, free: 10.54 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.449e-05/0.007043, allocations: 103.2 kB / 329.6 MB, free: 10.43 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007043, allocations: 0 / 329.6 MB, free: 10.43 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001384/0.007181, allocations: 12 kB / 329.6 MB, free: 10.42 MB / 298.7 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.0003501/0.007531, allocations: 0.6725 MB / 330.3 MB, free: 9.715 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001824/0.007714, allocations: 71.86 kB / 330.3 MB, free: 9.645 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.007715, allocations: 3.938 kB / 330.4 MB, free: 9.641 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.919e-05/0.007784, allocations: 35.97 kB / 330.4 MB, free: 9.605 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001335/0.007918, allocations: 21.66 kB / 330.4 MB, free: 9.59 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001214/0.009132, allocations: 1.461 MB / 331.9 MB, free: 8.02 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.924e-05/0.009181, allocations: 75.19 kB / 331.9 MB, free: 7.926 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.097e-05/0.009222, allocations: 4 kB / 331.9 MB, free: 7.922 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.372e-05/0.009276, allocations: 20.48 kB / 332 MB, free: 7.902 MB / 298.7 MB Notification: Performance of SimCode: time 5.71e-07/0.009276, allocations: 0 / 332 MB, free: 7.902 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01591/0.02519, allocations: 2.417 MB / 334.4 MB, free: 5.574 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.53/6.555, allocations: 7.969 kB / 334.4 MB, free: 5.566 MB / 298.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/CompareSincExpSine/CompareSincExpSine.csv","/var/lib/jenkins/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: 8.338759807869792]