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.001682/0.001682, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001564/0.001564, allocations: 206.4 kB / 23.72 MB, free: 4.391 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.578/1.578, allocations: 230.5 MB / 257.4 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="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 0.002088/0.002088, allocations: 59.91 kB / 377.7 MB, free: 2.805 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3524/0.3544, allocations: 53.41 MB / 431.1 MB, free: 6.438 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.002776/0.3572, allocations: 1.499 MB / 432.6 MB, free: 4.938 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009057/0.3581, allocations: 478.8 kB / 433.1 MB, free: 4.465 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.158e-05/0.3582, allocations: 4 kB / 433.1 MB, free: 4.461 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.831e-05/0.3582, allocations: 3.938 kB / 433.1 MB, free: 4.457 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.669e-05/0.3583, allocations: 15.8 kB / 433.1 MB, free: 4.441 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002244/0.3585, allocations: 39.89 kB / 433.2 MB, free: 4.402 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001401/0.3587, allocations: 75.64 kB / 433.2 MB, free: 4.328 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.156e-05/0.3587, allocations: 192 / 433.2 MB, free: 4.328 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001774/0.3589, allocations: 39.91 kB / 433.3 MB, free: 4.289 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.726e-05/0.359, allocations: 39.84 kB / 433.3 MB, free: 4.25 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.835e-05/0.359, allocations: 7.938 kB / 433.3 MB, free: 4.242 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.678e-05/0.3591, allocations: 11.98 kB / 433.3 MB, free: 4.23 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.103e-05/0.3591, allocations: 15.92 kB / 433.3 MB, free: 4.215 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.573e-05/0.3591, allocations: 23.86 kB / 433.4 MB, free: 4.191 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001409/0.3593, allocations: 61.42 kB / 433.4 MB, free: 4.137 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.3593, allocations: 0 / 433.4 MB, free: 4.137 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3593, allocations: 0 / 433.4 MB, free: 4.137 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.562e-06/0.3593, allocations: 0 / 433.4 MB, free: 4.137 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.0006662/0.3599, allocations: 326 kB / 433.7 MB, free: 3.789 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/0.36, allocations: 15.98 kB / 433.8 MB, free: 3.773 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.495e-05/0.36, allocations: 30.75 kB / 433.8 MB, free: 3.734 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003068/0.3603, allocations: 32.86 kB / 433.8 MB, free: 3.703 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002137/0.3605, allocations: 125 kB / 433.9 MB, free: 3.559 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.197e-06/0.3605, allocations: 384 / 433.9 MB, free: 3.559 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.078e-05/0.3606, allocations: 384 / 433.9 MB, free: 3.559 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002553/0.3608, allocations: 100.1 kB / 434 MB, free: 3.445 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.066e-06/0.3608, allocations: 0 / 434 MB, free: 3.445 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.3608, allocations: 0 / 434 MB, free: 3.445 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.3608, allocations: 3.984 kB / 434 MB, free: 3.441 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002597/0.3611, allocations: 59.94 kB / 434.1 MB, free: 3.383 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001974/0.3613, allocations: 162.4 kB / 434.3 MB, free: 3.176 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002653/0.3616, allocations: 103.7 kB / 434.4 MB, free: 3.047 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001458/0.3617, allocations: 46.59 kB / 434.4 MB, free: 2.992 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.082e-05/0.3617, allocations: 7.938 kB / 434.4 MB, free: 2.984 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.535e-05/0.3618, allocations: 34.56 kB / 434.4 MB, free: 2.941 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.103e-06/0.3618, allocations: 4 kB / 434.5 MB, free: 2.938 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005249/0.3623, allocations: 137.5 kB / 434.6 MB, free: 2.797 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.095e-05/0.3624, allocations: 110.8 kB / 434.7 MB, free: 2.664 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001078/0.3625, allocations: 129.8 kB / 434.8 MB, free: 2.527 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.207e-05/0.3625, allocations: 25.7 kB / 434.8 MB, free: 2.496 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.349e-05/0.3626, allocations: 92.14 kB / 434.9 MB, free: 2.402 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.652e-05/0.3626, allocations: 16.25 kB / 435 MB, free: 2.387 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.17e-05/0.3626, allocations: 21.72 kB / 435 MB, free: 2.359 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.3628, allocations: 318.8 kB / 435.3 MB, free: 2.039 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001333/0.3629, allocations: 27.97 kB / 435.3 MB, free: 2.012 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001331/0.3631, allocations: 50.55 kB / 435.4 MB, free: 1.953 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002932/0.3633, allocations: 82.45 kB / 435.4 MB, free: 1.863 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.3633, allocations: 0 / 435.4 MB, free: 1.863 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003205/0.3637, allocations: 117.5 kB / 435.6 MB, free: 1.742 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.3637, allocations: 4 kB / 435.6 MB, free: 1.738 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.3637, allocations: 0 / 435.6 MB, free: 1.738 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.3637, allocations: 8.094 kB / 435.6 MB, free: 1.73 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001403/0.3638, allocations: 24 kB / 435.6 MB, free: 1.707 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.3639, allocations: 0 / 435.6 MB, free: 1.707 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.351e-05/0.3639, allocations: 11.98 kB / 435.6 MB, free: 1.695 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.969e-06/0.364, allocations: 3.984 kB / 435.6 MB, free: 1.691 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.0001017/0.3641, allocations: 113.8 kB / 435.7 MB, free: 1.57 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.71e-05/0.3641, allocations: 11.89 kB / 435.7 MB, free: 1.559 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.57e-05/0.3641, allocations: 19.91 kB / 435.8 MB, free: 1.535 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.3641, allocations: 0 / 435.8 MB, free: 1.535 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.3641, allocations: 11.94 kB / 435.8 MB, free: 1.523 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.3641, allocations: 0 / 435.8 MB, free: 1.523 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001321/0.3643, allocations: 144.6 kB / 435.9 MB, free: 1.34 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.3643, allocations: 3.984 kB / 435.9 MB, free: 1.336 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001122/0.3644, allocations: 15.98 kB / 435.9 MB, free: 1.32 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.3644, allocations: 0 / 435.9 MB, free: 1.32 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.3644, allocations: 0 / 435.9 MB, free: 1.32 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.3644, allocations: 7.938 kB / 435.9 MB, free: 1.312 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.3644, allocations: 3.984 kB / 435.9 MB, free: 1.309 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003534/0.3648, allocations: 150.7 kB / 436.1 MB, free: 1.137 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.595e-05/0.3648, allocations: 11.89 kB / 436.1 MB, free: 1.125 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.116e-05/0.3648, allocations: 4 kB / 436.1 MB, free: 1.121 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.241e-05/0.3649, allocations: 11.98 kB / 436.1 MB, free: 1.109 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.037e-05/0.3649, allocations: 3.984 kB / 436.1 MB, free: 1.105 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.554e-06/0.3649, allocations: 4 kB / 436.1 MB, free: 1.102 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.933e-05/0.365, allocations: 101.8 kB / 436.2 MB, free: 1.004 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.365, allocations: 4 kB / 436.2 MB, free: 1 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001925/0.3652, allocations: 8 kB / 436.2 MB, free: 0.9922 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.0006367/0.3658, allocations: 0.6764 MB / 436.9 MB, free: 288 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003195/0.3662, allocations: 71.94 kB / 437 MB, free: 216 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.3662, allocations: 0 / 437 MB, free: 216 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001518/0.3663, allocations: 43.89 kB / 437 MB, free: 172 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001641/0.3665, allocations: 0 / 437 MB, free: 172 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002068/0.3686, allocations: 1.455 MB / 438.5 MB, free: 14.61 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.125e-05/0.3686, allocations: 71.34 kB / 438.5 MB, free: 14.52 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.357e-05/0.3687, allocations: 7.984 kB / 438.6 MB, free: 14.51 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.996e-05/0.3687, allocations: 19.52 kB / 438.6 MB, free: 14.49 MB / 350.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3687, allocations: 0 / 438.6 MB, free: 14.49 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2921/0.6608, allocations: 2.294 MB / 440.9 MB, free: 12.29 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/12.08, allocations: 3.75 kB / 440.9 MB, free: 12.29 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: 15.67009603511542]