Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.CompareSincExpSine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001571/0.001571, 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 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001712/0.001712, allocations: 215.3 kB / 23.73 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.469/1.469, allocations: 230.6 MB / 257.5 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.CompareSincExpSine,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_CompareSincExpSine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.CompareSincExpSine,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_CompareSincExpSine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001981/0.001981, allocations: 47.92 kB / 377.7 MB, free: 2.992 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3126/0.3146, allocations: 53.37 MB / 431.1 MB, free: 6.797 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.00343/0.318, allocations: 1.489 MB / 432.6 MB, free: 5.305 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001274/0.3193, allocations: 478.8 kB / 433 MB, free: 4.832 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001078/0.3194, allocations: 3.938 kB / 433 MB, free: 4.828 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.104e-05/0.3194, allocations: 3.938 kB / 433 MB, free: 4.824 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001453/0.3196, allocations: 19.84 kB / 433.1 MB, free: 4.805 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003129/0.3199, allocations: 35.84 kB / 433.1 MB, free: 4.77 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001863/0.3201, allocations: 75.69 kB / 433.2 MB, free: 4.695 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.539e-05/0.3201, allocations: 4.188 kB / 433.2 MB, free: 4.691 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002581/0.3204, allocations: 39.86 kB / 433.2 MB, free: 4.652 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.411e-05/0.3205, allocations: 39.83 kB / 433.2 MB, free: 4.613 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.223e-05/0.3205, allocations: 4 kB / 433.3 MB, free: 4.609 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.985e-05/0.3206, allocations: 12 kB / 433.3 MB, free: 4.598 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.406e-05/0.3206, allocations: 11.92 kB / 433.3 MB, free: 4.586 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.312e-05/0.3207, allocations: 23.86 kB / 433.3 MB, free: 4.562 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001731/0.3208, allocations: 61.77 kB / 433.4 MB, free: 4.508 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3208, allocations: 3.938 kB / 433.4 MB, free: 4.504 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.3208, allocations: 0 / 433.4 MB, free: 4.504 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.3208, allocations: 3.938 kB / 433.4 MB, free: 4.5 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.0007305/0.3216, allocations: 326 kB / 433.7 MB, free: 4.152 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/0.3216, allocations: 8.031 kB / 433.7 MB, free: 4.145 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.898e-05/0.3217, allocations: 34.75 kB / 433.7 MB, free: 4.102 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003461/0.322, allocations: 32.86 kB / 433.8 MB, free: 4.07 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000277/0.3223, allocations: 130.4 kB / 433.9 MB, free: 3.918 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/0.3223, allocations: 384 / 433.9 MB, free: 3.918 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.479e-05/0.3223, allocations: 4.375 kB / 433.9 MB, free: 3.914 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002788/0.3226, allocations: 92.16 kB / 434 MB, free: 3.809 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.3226, allocations: 0 / 434 MB, free: 3.809 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.3226, allocations: 0 / 434 MB, free: 3.809 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.3226, allocations: 0 / 434 MB, free: 3.809 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002729/0.3229, allocations: 67.86 kB / 434 MB, free: 3.742 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002182/0.3231, allocations: 154.5 kB / 434.2 MB, free: 3.543 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002816/0.3234, allocations: 95.75 kB / 434.3 MB, free: 3.422 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001535/0.3236, allocations: 54.59 kB / 434.3 MB, free: 3.359 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.38e-05/0.3236, allocations: 3.938 kB / 434.3 MB, free: 3.355 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.275e-05/0.3236, allocations: 38.5 kB / 434.4 MB, free: 3.309 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.3236, allocations: 0 / 434.4 MB, free: 3.309 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005724/0.3242, allocations: 141.5 kB / 434.5 MB, free: 3.164 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.571e-05/0.3243, allocations: 102.8 kB / 434.6 MB, free: 3.039 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001402/0.3244, allocations: 132.3 kB / 434.8 MB, free: 2.902 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.485e-05/0.3244, allocations: 25.7 kB / 434.8 MB, free: 2.871 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.297e-05/0.3245, allocations: 88.14 kB / 434.9 MB, free: 2.781 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.201e-05/0.3245, allocations: 19.84 kB / 434.9 MB, free: 2.762 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.441e-05/0.3246, allocations: 18.08 kB / 434.9 MB, free: 2.738 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.3247, allocations: 322.8 kB / 435.2 MB, free: 2.414 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001366/0.3249, allocations: 27.97 kB / 435.2 MB, free: 2.387 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001466/0.325, allocations: 54.48 kB / 435.3 MB, free: 2.324 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002738/0.3253, allocations: 82.52 kB / 435.4 MB, free: 2.234 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.3253, allocations: 0 / 435.4 MB, free: 2.234 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003432/0.3256, allocations: 113.5 kB / 435.5 MB, free: 2.117 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.3257, allocations: 11.94 kB / 435.5 MB, free: 2.105 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.3257, allocations: 0 / 435.5 MB, free: 2.105 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.3257, allocations: 4.094 kB / 435.5 MB, free: 2.102 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001565/0.3258, allocations: 23.91 kB / 435.5 MB, free: 2.078 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.3258, allocations: 0 / 435.5 MB, free: 2.078 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.396e-05/0.3259, allocations: 11.98 kB / 435.5 MB, free: 2.066 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.331e-05/0.326, allocations: 4 kB / 435.5 MB, free: 2.062 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.3261, allocations: 113.8 kB / 435.7 MB, free: 1.941 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.554e-05/0.3261, allocations: 11.98 kB / 435.7 MB, free: 1.93 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.11e-05/0.3261, allocations: 19.89 kB / 435.7 MB, free: 1.906 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.3261, allocations: 7.938 kB / 435.7 MB, free: 1.898 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/0.3261, allocations: 4 kB / 435.7 MB, free: 1.895 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.3261, allocations: 0 / 435.7 MB, free: 1.895 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001456/0.3263, allocations: 144.6 kB / 435.8 MB, free: 1.711 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.3263, allocations: 0 / 435.8 MB, free: 1.711 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001162/0.3264, allocations: 19.97 kB / 435.9 MB, free: 1.691 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.3264, allocations: 0 / 435.9 MB, free: 1.691 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-06/0.3264, allocations: 4 kB / 435.9 MB, free: 1.688 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.3264, allocations: 4 kB / 435.9 MB, free: 1.684 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.3264, allocations: 3.938 kB / 435.9 MB, free: 1.68 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003649/0.3268, allocations: 150.7 kB / 436 MB, free: 1.508 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.155e-05/0.3268, allocations: 11.95 kB / 436 MB, free: 1.496 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.001e-05/0.3268, allocations: 0 / 436 MB, free: 1.496 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.664e-05/0.3269, allocations: 11.98 kB / 436 MB, free: 1.484 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.984e-05/0.327, allocations: 7.984 kB / 436 MB, free: 1.477 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.573e-06/0.327, allocations: 0 / 436 MB, free: 1.477 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.35e-05/0.3271, allocations: 99.27 kB / 436.1 MB, free: 1.379 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3271, allocations: 4 kB / 436.1 MB, free: 1.375 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002144/0.3273, allocations: 12 kB / 436.2 MB, free: 1.363 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.0006833/0.328, allocations: 0.6803 MB / 436.8 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000328/0.3283, allocations: 71.94 kB / 436.9 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.3283, allocations: 0 / 436.9 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001531/0.3285, allocations: 43.89 kB / 437 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00019/0.3286, allocations: 4 kB / 437 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002186/0.3308, allocations: 1.462 MB / 438.4 MB, free: 14.97 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.327e-05/0.3309, allocations: 71.34 kB / 438.5 MB, free: 14.88 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.551e-05/0.331, allocations: 7.922 kB / 438.5 MB, free: 14.87 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.777e-05/0.331, allocations: 19.44 kB / 438.5 MB, free: 14.85 MB / 350.1 MB Notification: Performance of SimCode: time 6.61e-07/0.331, allocations: 0 / 438.5 MB, free: 14.85 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03122/0.3622, allocations: 2.277 MB / 440.8 MB, free: 12.7 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/11.73, allocations: 4.812 kB / 440.8 MB, free: 12.7 MB / 350.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.CompareSincExpSine.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_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_4_1_0_Modelica_Blocks_Examples_CompareSincExpSine.fmu > Modelica_4.1.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.577078497037292]