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.001376/0.001376, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002065/0.002065, allocations: 214.3 kB / 23.73 MB, free: 4.164 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.584/1.584, allocations: 230.5 MB / 257.4 MB, free: 7.797 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.002086/0.002086, allocations: 67.89 kB / 377.7 MB, free: 2.828 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3654/0.3675, allocations: 53.4 MB / 431.1 MB, free: 6.43 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.003898/0.3714, allocations: 1.503 MB / 432.6 MB, free: 4.926 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001114/0.3725, allocations: 474.7 kB / 433.1 MB, free: 4.457 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.397e-05/0.3726, allocations: 0 / 433.1 MB, free: 4.457 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.464e-05/0.3727, allocations: 7.875 kB / 433.1 MB, free: 4.449 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00012/0.3728, allocations: 19.86 kB / 433.1 MB, free: 4.43 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003037/0.3731, allocations: 39.89 kB / 433.2 MB, free: 4.391 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001818/0.3733, allocations: 71.66 kB / 433.2 MB, free: 4.32 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.699e-05/0.3733, allocations: 4.188 kB / 433.2 MB, free: 4.316 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002278/0.3736, allocations: 47.83 kB / 433.3 MB, free: 4.27 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.099e-05/0.3737, allocations: 31.84 kB / 433.3 MB, free: 4.238 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.369e-05/0.3737, allocations: 4 kB / 433.3 MB, free: 4.234 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.699e-05/0.3738, allocations: 8 kB / 433.3 MB, free: 4.227 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.401e-05/0.3738, allocations: 15.98 kB / 433.3 MB, free: 4.211 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.376e-05/0.3738, allocations: 23.86 kB / 433.4 MB, free: 4.188 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001989/0.374, allocations: 69.41 kB / 433.4 MB, free: 4.125 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.015e-06/0.374, allocations: 0 / 433.4 MB, free: 4.125 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.374, allocations: 0 / 433.4 MB, free: 4.125 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.065e-05/0.3741, allocations: 0 / 433.4 MB, free: 4.125 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.0008402/0.3749, allocations: 314 kB / 433.7 MB, free: 3.789 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.048e-05/0.375, allocations: 11.98 kB / 433.7 MB, free: 3.777 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.1e-05/0.375, allocations: 42.73 kB / 433.8 MB, free: 3.727 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003554/0.3754, allocations: 32.86 kB / 433.8 MB, free: 3.695 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003429/0.3757, allocations: 118.5 kB / 433.9 MB, free: 3.555 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.3757, allocations: 8.312 kB / 433.9 MB, free: 3.547 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.777e-05/0.3757, allocations: 8.312 kB / 433.9 MB, free: 3.539 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002879/0.376, allocations: 84.16 kB / 434 MB, free: 3.441 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.376, allocations: 0 / 434 MB, free: 3.441 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.522e-05/0.3761, allocations: 4 kB / 434 MB, free: 3.438 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.3761, allocations: 4 kB / 434 MB, free: 3.434 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002847/0.3763, allocations: 63.86 kB / 434.1 MB, free: 3.371 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002615/0.3766, allocations: 162.4 kB / 434.3 MB, free: 3.164 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000352/0.377, allocations: 95.75 kB / 434.4 MB, free: 3.043 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001503/0.3771, allocations: 50.61 kB / 434.4 MB, free: 2.984 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.513e-05/0.3771, allocations: 3.938 kB / 434.4 MB, free: 2.98 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.949e-05/0.3772, allocations: 38.56 kB / 434.4 MB, free: 2.934 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.31e-07/0.3772, allocations: 0 / 434.4 MB, free: 2.934 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.000581/0.3778, allocations: 141.8 kB / 434.6 MB, free: 2.789 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.994e-05/0.3779, allocations: 110.8 kB / 434.7 MB, free: 2.656 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000159/0.378, allocations: 128.6 kB / 434.8 MB, free: 2.523 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.375e-05/0.378, allocations: 25.7 kB / 434.8 MB, free: 2.492 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.845e-05/0.3781, allocations: 96.12 kB / 434.9 MB, free: 2.395 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.598e-05/0.3782, allocations: 11.91 kB / 434.9 MB, free: 2.383 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.739e-05/0.3782, allocations: 21.7 kB / 435 MB, free: 2.355 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001983/0.3784, allocations: 314.8 kB / 435.3 MB, free: 2.039 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001337/0.3785, allocations: 32.06 kB / 435.3 MB, free: 2.008 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001402/0.3787, allocations: 50.53 kB / 435.4 MB, free: 1.949 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002814/0.379, allocations: 86.45 kB / 435.4 MB, free: 1.855 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.379, allocations: 0 / 435.4 MB, free: 1.855 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003598/0.3793, allocations: 113.5 kB / 435.6 MB, free: 1.738 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.3794, allocations: 8 kB / 435.6 MB, free: 1.73 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.3794, allocations: 0 / 435.6 MB, free: 1.73 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/0.3794, allocations: 0 / 435.6 MB, free: 1.73 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001495/0.3795, allocations: 15.98 kB / 435.6 MB, free: 1.715 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.738e-06/0.3795, allocations: 8.031 kB / 435.6 MB, free: 1.707 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.547e-05/0.3796, allocations: 15.98 kB / 435.6 MB, free: 1.691 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.592e-05/0.3796, allocations: 8 kB / 435.6 MB, free: 1.684 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.0001191/0.3798, allocations: 113.8 kB / 435.7 MB, free: 1.562 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.39e-05/0.3798, allocations: 11.89 kB / 435.7 MB, free: 1.551 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.883e-05/0.3798, allocations: 11.92 kB / 435.7 MB, free: 1.535 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.798e-06/0.3798, allocations: 4 kB / 435.7 MB, free: 1.531 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.752e-06/0.3798, allocations: 3.938 kB / 435.7 MB, free: 1.527 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.3799, allocations: 0 / 435.7 MB, free: 1.527 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000175/0.38, allocations: 152.6 kB / 435.9 MB, free: 1.336 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.38, allocations: 4 kB / 435.9 MB, free: 1.332 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001134/0.3801, allocations: 19.97 kB / 435.9 MB, free: 1.312 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.3801, allocations: 0 / 435.9 MB, free: 1.312 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/0.3802, allocations: 8 kB / 435.9 MB, free: 1.305 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.3802, allocations: 0 / 435.9 MB, free: 1.305 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.3802, allocations: 0 / 435.9 MB, free: 1.305 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000365/0.3805, allocations: 146.7 kB / 436.1 MB, free: 1.137 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.981e-05/0.3805, allocations: 15.89 kB / 436.1 MB, free: 1.121 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.133e-05/0.3806, allocations: 3.984 kB / 436.1 MB, free: 1.117 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.932e-05/0.3807, allocations: 8 kB / 436.1 MB, free: 1.109 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.304e-05/0.3807, allocations: 11.98 kB / 436.1 MB, free: 1.098 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-06/0.3807, allocations: 0 / 436.1 MB, free: 1.098 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.674e-05/0.3808, allocations: 99.25 kB / 436.2 MB, free: 1 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3808, allocations: 0 / 436.2 MB, free: 1 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002038/0.381, allocations: 16 kB / 436.2 MB, free: 0.9844 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.0006785/0.3817, allocations: 0.6764 MB / 436.9 MB, free: 280 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003273/0.382, allocations: 75.86 kB / 437 MB, free: 204 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.382, allocations: 0 / 437 MB, free: 204 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001424/0.3822, allocations: 36.16 kB / 437 MB, free: 168 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001871/0.3823, allocations: 8 kB / 437 MB, free: 160 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002174/0.3845, allocations: 1.455 MB / 438.5 MB, free: 14.6 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.865e-05/0.3846, allocations: 79.27 kB / 438.5 MB, free: 14.5 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.475e-05/0.3846, allocations: 8.031 kB / 438.6 MB, free: 14.5 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.658e-05/0.3847, allocations: 23.42 kB / 438.6 MB, free: 14.47 MB / 350.1 MB Notification: Performance of SimCode: time 5.72e-07/0.3847, allocations: 0 / 438.6 MB, free: 14.47 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03102/0.4157, allocations: 2.28 MB / 440.9 MB, free: 12.29 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.84/11.25, allocations: 7.438 kB / 440.9 MB, free: 12.29 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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 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.csv","/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.089998881798238]