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.001603/0.001603, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001426/0.001426, allocations: 214.2 kB / 24.52 MB, free: 3.918 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.513/1.513, allocations: 230.5 MB / 258.2 MB, free: 7.742 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.001919/0.001919, allocations: 63.89 kB / 378.5 MB, free: 2.84 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3997/0.4016, allocations: 53.4 MB / 431.9 MB, free: 6.469 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.002865/0.4045, allocations: 1.496 MB / 433.4 MB, free: 4.969 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009102/0.4054, allocations: 470.8 kB / 433.8 MB, free: 4.504 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.404e-05/0.4054, allocations: 0 / 433.8 MB, free: 4.504 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.519e-05/0.4055, allocations: 11.86 kB / 433.9 MB, free: 4.492 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.356e-05/0.4056, allocations: 19.86 kB / 433.9 MB, free: 4.473 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002212/0.4058, allocations: 35.89 kB / 433.9 MB, free: 4.438 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001478/0.4059, allocations: 79.64 kB / 434 MB, free: 4.359 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.308e-05/0.406, allocations: 4.188 kB / 434 MB, free: 4.355 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001832/0.4062, allocations: 43.84 kB / 434 MB, free: 4.312 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.212e-05/0.4062, allocations: 35.83 kB / 434.1 MB, free: 4.277 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.733e-05/0.4063, allocations: 4 kB / 434.1 MB, free: 4.273 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.277e-05/0.4063, allocations: 12 kB / 434.1 MB, free: 4.262 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.374e-05/0.4063, allocations: 11.98 kB / 434.1 MB, free: 4.25 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.636e-05/0.4064, allocations: 19.88 kB / 434.1 MB, free: 4.23 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001585/0.4065, allocations: 69.41 kB / 434.2 MB, free: 4.168 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.4065, allocations: 0 / 434.2 MB, free: 4.168 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.4065, allocations: 0 / 434.2 MB, free: 4.168 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.268e-06/0.4065, allocations: 0 / 434.2 MB, free: 4.168 MB / 334.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.0007186/0.4073, allocations: 314 kB / 434.5 MB, free: 3.832 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.056e-05/0.4073, allocations: 15.97 kB / 434.5 MB, free: 3.816 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.782e-05/0.4073, allocations: 192 / 434.5 MB, free: 3.816 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.002e-05/0.4074, allocations: 38.73 kB / 434.5 MB, free: 3.77 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003613/0.4077, allocations: 32.86 kB / 434.6 MB, free: 3.738 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002498/0.408, allocations: 130.4 kB / 434.7 MB, free: 3.586 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.408, allocations: 384 / 434.7 MB, free: 3.586 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.875e-05/0.408, allocations: 12.06 kB / 434.7 MB, free: 3.574 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002768/0.4083, allocations: 84.22 kB / 434.8 MB, free: 3.477 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.4083, allocations: 0 / 434.8 MB, free: 3.477 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.4083, allocations: 4 kB / 434.8 MB, free: 3.473 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.4083, allocations: 4 kB / 434.8 MB, free: 3.469 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002535/0.4086, allocations: 59.88 kB / 434.9 MB, free: 3.41 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002084/0.4088, allocations: 162.4 kB / 435 MB, free: 3.203 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002868/0.4091, allocations: 99.75 kB / 435.1 MB, free: 3.078 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001596/0.4092, allocations: 50.55 kB / 435.2 MB, free: 3.02 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.635e-05/0.4092, allocations: 0 / 435.2 MB, free: 3.02 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.144e-05/0.4093, allocations: 38.5 kB / 435.2 MB, free: 2.973 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.4093, allocations: 0 / 435.2 MB, free: 2.973 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005458/0.4098, allocations: 141.7 kB / 435.4 MB, free: 2.828 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.465e-05/0.4099, allocations: 102.8 kB / 435.5 MB, free: 2.703 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001349/0.41, allocations: 129.8 kB / 435.6 MB, free: 2.566 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.614e-05/0.4101, allocations: 29.7 kB / 435.6 MB, free: 2.531 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.225e-05/0.4101, allocations: 92.12 kB / 435.7 MB, free: 2.438 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.287e-05/0.4102, allocations: 11.91 kB / 435.7 MB, free: 2.426 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.889e-05/0.4102, allocations: 21.7 kB / 435.7 MB, free: 2.398 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001561/0.4104, allocations: 310.8 kB / 436 MB, free: 2.086 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001372/0.4105, allocations: 36.16 kB / 436.1 MB, free: 2.051 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001374/0.4106, allocations: 54.47 kB / 436.1 MB, free: 1.988 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002685/0.4109, allocations: 78.52 kB / 436.2 MB, free: 1.902 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.4109, allocations: 8 kB / 436.2 MB, free: 1.895 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003124/0.4112, allocations: 109.5 kB / 436.3 MB, free: 1.781 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.4112, allocations: 14.64 kB / 436.3 MB, free: 1.77 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.4112, allocations: 0 / 436.3 MB, free: 1.77 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.4113, allocations: 0 / 436.3 MB, free: 1.77 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001369/0.4114, allocations: 15.98 kB / 436.3 MB, free: 1.754 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.074e-06/0.4114, allocations: 12.03 kB / 436.4 MB, free: 1.742 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001047/0.4115, allocations: 7.984 kB / 436.4 MB, free: 1.734 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-06/0.4115, allocations: 4 kB / 436.4 MB, free: 1.73 MB / 334.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.0001041/0.4116, allocations: 121.8 kB / 436.5 MB, free: 1.602 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.966e-05/0.4116, allocations: 7.953 kB / 436.5 MB, free: 1.594 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.279e-05/0.4117, allocations: 15.92 kB / 436.5 MB, free: 1.574 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.4117, allocations: 0 / 436.5 MB, free: 1.574 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.4117, allocations: 7.969 kB / 436.5 MB, free: 1.566 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.4117, allocations: 3.984 kB / 436.5 MB, free: 1.562 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001551/0.4118, allocations: 152.6 kB / 436.7 MB, free: 1.371 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.4118, allocations: 0 / 436.7 MB, free: 1.371 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001211/0.412, allocations: 19.97 kB / 436.7 MB, free: 1.352 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.412, allocations: 4 kB / 436.7 MB, free: 1.348 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.858e-06/0.412, allocations: 0 / 436.7 MB, free: 1.348 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.412, allocations: 0 / 436.7 MB, free: 1.348 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.412, allocations: 4 kB / 436.7 MB, free: 1.344 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003381/0.4123, allocations: 146.7 kB / 436.8 MB, free: 1.176 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.914e-05/0.4123, allocations: 15.89 kB / 436.9 MB, free: 1.16 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.895e-05/0.4123, allocations: 3.984 kB / 436.9 MB, free: 1.156 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.141e-05/0.4124, allocations: 8 kB / 436.9 MB, free: 1.148 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.359e-05/0.4125, allocations: 7.984 kB / 436.9 MB, free: 1.141 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.346e-06/0.4125, allocations: 4 kB / 436.9 MB, free: 1.137 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.032e-05/0.4126, allocations: 103.2 kB / 437 MB, free: 1.035 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4126, allocations: 0 / 437 MB, free: 1.035 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001956/0.4128, allocations: 8 kB / 437 MB, free: 1.027 MB / 334.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.0006622/0.4134, allocations: 0.6765 MB / 437.7 MB, free: 324 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003087/0.4137, allocations: 75.86 kB / 437.7 MB, free: 248 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.4137, allocations: 192 / 437.7 MB, free: 248 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001357/0.4139, allocations: 35.97 kB / 437.8 MB, free: 212 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001561/0.414, allocations: 6.953 kB / 437.8 MB, free: 208 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001998/0.416, allocations: 1.466 MB / 439.2 MB, free: 14.64 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.346e-05/0.4161, allocations: 71.33 kB / 439.3 MB, free: 14.55 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.448e-05/0.4161, allocations: 8 kB / 439.3 MB, free: 14.54 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.446e-05/0.4162, allocations: 19.42 kB / 439.3 MB, free: 14.52 MB / 350.1 MB Notification: Performance of SimCode: time 2.61e-07/0.4162, allocations: 0 / 439.3 MB, free: 14.52 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02238/0.4386, allocations: 1.942 MB / 441.3 MB, free: 12.69 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.87/11.31, allocations: 10.5 kB / 441.3 MB, free: 12.68 MB / 350.1 MB " [Timeout remaining time 649] (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: 14.119684627046809]