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.001649/0.001649, allocations: 109.1 kB / 21.22 MB, free: 0.7539 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.001879/0.001879, allocations: 217 kB / 24.53 MB, free: 4.008 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.538/1.538, allocations: 230.5 MB / 258.2 MB, free: 7.98 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.001932/0.001932, allocations: 59.91 kB / 378.6 MB, free: 3.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4435/0.4454, allocations: 53.41 MB / 432 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.003173/0.4486, allocations: 1.519 MB / 433.5 MB, free: 5.168 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00108/0.4496, allocations: 0.5025 MB / 434 MB, free: 4.66 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.024e-05/0.4497, allocations: 8 kB / 434 MB, free: 4.652 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.345e-05/0.4498, allocations: 3.938 kB / 434 MB, free: 4.648 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001168/0.4499, allocations: 19.78 kB / 434 MB, free: 4.629 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002623/0.4501, allocations: 35.89 kB / 434.1 MB, free: 4.594 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001675/0.4503, allocations: 67.72 kB / 434.1 MB, free: 4.527 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.861e-05/0.4504, allocations: 12.17 kB / 434.1 MB, free: 4.516 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002251/0.4506, allocations: 39.86 kB / 434.2 MB, free: 4.477 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001035/0.4507, allocations: 39.83 kB / 434.2 MB, free: 4.438 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.932e-05/0.4507, allocations: 4 kB / 434.2 MB, free: 4.434 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.369e-05/0.4508, allocations: 12 kB / 434.2 MB, free: 4.422 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.282e-05/0.4508, allocations: 11.98 kB / 434.2 MB, free: 4.41 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.742e-05/0.4509, allocations: 27.8 kB / 434.3 MB, free: 4.383 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001862/0.4511, allocations: 63.59 kB / 434.3 MB, free: 4.324 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.682e-06/0.4511, allocations: 0 / 434.3 MB, free: 4.324 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.394e-06/0.4511, allocations: 3.938 kB / 434.3 MB, free: 4.32 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.4511, allocations: 0 / 434.3 MB, free: 4.32 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.0008206/0.4519, allocations: 326.5 kB / 434.6 MB, free: 3.977 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.583e-05/0.4519, allocations: 8.031 kB / 434.7 MB, free: 3.969 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.81e-05/0.452, allocations: 4.125 kB / 434.7 MB, free: 3.965 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.128e-05/0.452, allocations: 34.75 kB / 434.7 MB, free: 3.922 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000362/0.4524, allocations: 28.86 kB / 434.7 MB, free: 3.895 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002814/0.4527, allocations: 126.5 kB / 434.8 MB, free: 3.746 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.4527, allocations: 4.375 kB / 434.8 MB, free: 3.742 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.074e-05/0.4527, allocations: 8.125 kB / 434.9 MB, free: 3.734 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003006/0.453, allocations: 84.22 kB / 434.9 MB, free: 3.637 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.453, allocations: 0 / 434.9 MB, free: 3.637 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/0.453, allocations: 3.938 kB / 434.9 MB, free: 3.633 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.038e-05/0.453, allocations: 4 kB / 434.9 MB, free: 3.629 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002704/0.4533, allocations: 59.94 kB / 435 MB, free: 3.57 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002493/0.4535, allocations: 162.5 kB / 435.2 MB, free: 3.363 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000299/0.4538, allocations: 103.7 kB / 435.3 MB, free: 3.234 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001769/0.454, allocations: 50.55 kB / 435.3 MB, free: 3.176 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.292e-05/0.454, allocations: 3.938 kB / 435.3 MB, free: 3.172 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.63e-05/0.4541, allocations: 34.56 kB / 435.4 MB, free: 3.129 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.452e-06/0.4541, allocations: 0 / 435.4 MB, free: 3.129 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.000576/0.4547, allocations: 141.5 kB / 435.5 MB, free: 2.984 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.561e-05/0.4547, allocations: 103.2 kB / 435.6 MB, free: 2.859 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001536/0.4549, allocations: 136.2 kB / 435.7 MB, free: 2.719 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.676e-05/0.4549, allocations: 29.7 kB / 435.8 MB, free: 2.684 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.384e-05/0.455, allocations: 92.08 kB / 435.8 MB, free: 2.59 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.595e-05/0.455, allocations: 15.89 kB / 435.9 MB, free: 2.574 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.708e-05/0.4551, allocations: 17.72 kB / 435.9 MB, free: 2.551 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001764/0.4552, allocations: 314.8 kB / 436.2 MB, free: 2.234 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001385/0.4554, allocations: 35.91 kB / 436.2 MB, free: 2.199 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001424/0.4555, allocations: 54.53 kB / 436.3 MB, free: 2.137 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002778/0.4558, allocations: 78.52 kB / 436.3 MB, free: 2.051 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.4558, allocations: 3.938 kB / 436.4 MB, free: 2.047 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003422/0.4561, allocations: 117.5 kB / 436.5 MB, free: 1.926 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.4562, allocations: 4 kB / 436.5 MB, free: 1.922 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.4562, allocations: 4 kB / 436.5 MB, free: 1.918 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.021e-05/0.4562, allocations: 4.094 kB / 436.5 MB, free: 1.914 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001552/0.4563, allocations: 19.97 kB / 436.5 MB, free: 1.895 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.794e-06/0.4564, allocations: 0 / 436.5 MB, free: 1.895 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.894e-05/0.4565, allocations: 11.98 kB / 436.5 MB, free: 1.883 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.4565, allocations: 0 / 436.5 MB, free: 1.883 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.0001272/0.4566, allocations: 117.8 kB / 436.6 MB, free: 1.758 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.225e-05/0.4566, allocations: 15.88 kB / 436.6 MB, free: 1.742 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.547e-05/0.4567, allocations: 15.92 kB / 436.7 MB, free: 1.723 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.4567, allocations: 4 kB / 436.7 MB, free: 1.719 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.4567, allocations: 0 / 436.7 MB, free: 1.719 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.4567, allocations: 4 kB / 436.7 MB, free: 1.715 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001869/0.4569, allocations: 152.6 kB / 436.8 MB, free: 1.523 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.4569, allocations: 4 kB / 436.8 MB, free: 1.52 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001159/0.457, allocations: 23.97 kB / 436.8 MB, free: 1.496 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.043e-06/0.457, allocations: 3.938 kB / 436.8 MB, free: 1.492 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/0.457, allocations: 0 / 436.8 MB, free: 1.492 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.457, allocations: 4 kB / 436.8 MB, free: 1.488 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.457, allocations: 0 / 436.8 MB, free: 1.488 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003824/0.4574, allocations: 150.7 kB / 437 MB, free: 1.316 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.14e-05/0.4574, allocations: 11.89 kB / 437 MB, free: 1.305 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.022e-05/0.4574, allocations: 4 kB / 437 MB, free: 1.301 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.275e-05/0.4575, allocations: 11.98 kB / 437 MB, free: 1.289 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.93e-05/0.4576, allocations: 11.98 kB / 437 MB, free: 1.277 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.521e-06/0.4576, allocations: 3.938 kB / 437 MB, free: 1.273 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.006e-05/0.4577, allocations: 101.8 kB / 437.1 MB, free: 1.176 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4577, allocations: 0 / 437.1 MB, free: 1.176 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002019/0.4579, allocations: 12 kB / 437.1 MB, free: 1.164 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.0006868/0.4586, allocations: 0.6726 MB / 437.8 MB, free: 468 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003423/0.4589, allocations: 71.88 kB / 437.9 MB, free: 396 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.4589, allocations: 3.938 kB / 437.9 MB, free: 392 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001552/0.4591, allocations: 43.89 kB / 437.9 MB, free: 348 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001852/0.4592, allocations: 7.938 kB / 437.9 MB, free: 340 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002223/0.4615, allocations: 1.459 MB / 439.4 MB, free: 14.77 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003734/0.4618, allocations: 0.6846 MB / 440.1 MB, free: 14.06 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.597e-05/0.4619, allocations: 12.22 kB / 440.1 MB, free: 14.05 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.123e-05/0.462, allocations: 23.42 kB / 440.1 MB, free: 14.03 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.462, allocations: 0 / 440.1 MB, free: 14.03 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02382/0.4858, allocations: 1.898 MB / 442 MB, free: 12.24 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/11.94, allocations: 8.062 kB / 442 MB, free: 12.23 MB / 350.1 MB " [Timeout remaining time 648] (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.822206685028505]