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.00152/0.00152, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.001693/0.001693, allocations: 211.9 kB / 24.51 MB, free: 3.945 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.437/1.437, allocations: 230.6 MB / 258.3 MB, free: 7.793 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.CompareSincExpSine,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_CompareSincExpSine",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001465, allocations: 43.92 kB / 378.5 MB, free: 2.996 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2411/0.2426, allocations: 53.35 MB / 431.8 MB, free: 6.668 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.002502/0.2451, allocations: 1.496 MB / 433.3 MB, free: 5.168 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008193/0.2459, allocations: 486.7 kB / 433.8 MB, free: 4.688 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.925e-05/0.246, allocations: 0 / 433.8 MB, free: 4.688 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.146e-05/0.246, allocations: 7.922 kB / 433.8 MB, free: 4.68 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.51e-05/0.2461, allocations: 19.8 kB / 433.8 MB, free: 4.66 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002056/0.2463, allocations: 35.89 kB / 433.9 MB, free: 4.625 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001269/0.2464, allocations: 75.7 kB / 433.9 MB, free: 4.551 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.55e-05/0.2465, allocations: 7.984 kB / 434 MB, free: 4.547 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001564/0.2466, allocations: 43.86 kB / 434 MB, free: 4.504 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.034e-05/0.2467, allocations: 31.89 kB / 434 MB, free: 4.473 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.66e-05/0.2467, allocations: 4 kB / 434 MB, free: 4.469 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.983e-05/0.2468, allocations: 15.98 kB / 434 MB, free: 4.453 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.556e-05/0.2468, allocations: 11.88 kB / 434.1 MB, free: 4.441 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.509e-05/0.2468, allocations: 23.86 kB / 434.1 MB, free: 4.418 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001266/0.2469, allocations: 62.05 kB / 434.1 MB, free: 4.359 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.2469, allocations: 0 / 434.1 MB, free: 4.359 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.2469, allocations: 0 / 434.1 MB, free: 4.359 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.589e-06/0.2469, allocations: 0 / 434.1 MB, free: 4.359 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.0005841/0.2475, allocations: 326 kB / 434.5 MB, free: 4.012 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.2476, allocations: 8.031 kB / 434.5 MB, free: 4.004 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.656e-05/0.2476, allocations: 192 / 434.5 MB, free: 4.004 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.047e-05/0.2476, allocations: 30.75 kB / 434.5 MB, free: 3.965 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000297/0.2479, allocations: 32.86 kB / 434.5 MB, free: 3.934 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001884/0.2481, allocations: 129.1 kB / 434.7 MB, free: 3.785 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.055e-06/0.2481, allocations: 384 / 434.7 MB, free: 3.785 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.453e-05/0.2481, allocations: 16.11 kB / 434.7 MB, free: 3.77 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002413/0.2484, allocations: 88.16 kB / 434.8 MB, free: 3.668 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.2484, allocations: 0 / 434.8 MB, free: 3.668 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.829e-06/0.2484, allocations: 0 / 434.8 MB, free: 3.668 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.2484, allocations: 4 kB / 434.8 MB, free: 3.664 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002416/0.2486, allocations: 59.88 kB / 434.8 MB, free: 3.605 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001951/0.2488, allocations: 162.5 kB / 435 MB, free: 3.398 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002583/0.2491, allocations: 99.8 kB / 435.1 MB, free: 3.273 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001393/0.2492, allocations: 50.48 kB / 435.1 MB, free: 3.215 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.473e-05/0.2492, allocations: 4 kB / 435.1 MB, free: 3.211 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.521e-05/0.2493, allocations: 30.56 kB / 435.2 MB, free: 3.172 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 3.036e-06/0.2493, allocations: 4 kB / 435.2 MB, free: 3.168 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004896/0.2497, allocations: 141.5 kB / 435.3 MB, free: 3.023 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.994e-05/0.2498, allocations: 106.8 kB / 435.4 MB, free: 2.895 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001094/0.2499, allocations: 133.8 kB / 435.5 MB, free: 2.754 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.777e-05/0.2499, allocations: 26.08 kB / 435.6 MB, free: 2.723 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.693e-05/0.25, allocations: 96.08 kB / 435.7 MB, free: 2.625 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.226e-05/0.25, allocations: 15.89 kB / 435.7 MB, free: 2.609 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.113e-05/0.2501, allocations: 17.72 kB / 435.7 MB, free: 2.586 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001287/0.2502, allocations: 314.8 kB / 436 MB, free: 2.27 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001247/0.2503, allocations: 31.97 kB / 436 MB, free: 2.238 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001328/0.2504, allocations: 50.55 kB / 436.1 MB, free: 2.18 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002497/0.2507, allocations: 82.45 kB / 436.2 MB, free: 2.09 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.2507, allocations: 0 / 436.2 MB, free: 2.09 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003025/0.251, allocations: 117.5 kB / 436.3 MB, free: 1.969 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.251, allocations: 8.094 kB / 436.3 MB, free: 1.961 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.251, allocations: 0 / 436.3 MB, free: 1.961 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.251, allocations: 0 / 436.3 MB, free: 1.961 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001358/0.2512, allocations: 19.97 kB / 436.3 MB, free: 1.941 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.2512, allocations: 4 kB / 436.3 MB, free: 1.938 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.027e-05/0.2513, allocations: 11.98 kB / 436.3 MB, free: 1.926 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.734e-06/0.2513, allocations: 0 / 436.3 MB, free: 1.926 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 8.779e-05/0.2513, allocations: 117.8 kB / 436.4 MB, free: 1.801 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.026e-05/0.2514, allocations: 11.95 kB / 436.4 MB, free: 1.789 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.219e-05/0.2514, allocations: 27.84 kB / 436.5 MB, free: 1.758 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.2514, allocations: 4.078 kB / 436.5 MB, free: 1.754 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.2514, allocations: 0 / 436.5 MB, free: 1.754 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.2514, allocations: 0 / 436.5 MB, free: 1.754 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001314/0.2515, allocations: 148.6 kB / 436.6 MB, free: 1.566 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.2515, allocations: 0 / 436.6 MB, free: 1.566 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001115/0.2517, allocations: 15.98 kB / 436.6 MB, free: 1.551 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.2517, allocations: 4 kB / 436.6 MB, free: 1.547 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.2517, allocations: 3.984 kB / 436.6 MB, free: 1.543 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.2517, allocations: 0 / 436.6 MB, free: 1.543 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.2517, allocations: 8 kB / 436.6 MB, free: 1.535 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000322/0.252, allocations: 142.7 kB / 436.8 MB, free: 1.371 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.729e-05/0.252, allocations: 15.89 kB / 436.8 MB, free: 1.355 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.764e-05/0.252, allocations: 0 / 436.8 MB, free: 1.355 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.219e-05/0.2521, allocations: 11.98 kB / 436.8 MB, free: 1.344 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.047e-05/0.2522, allocations: 11.92 kB / 436.8 MB, free: 1.332 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.931e-06/0.2522, allocations: 4 kB / 436.8 MB, free: 1.328 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.525e-05/0.2522, allocations: 105.9 kB / 436.9 MB, free: 1.227 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2522, allocations: 0 / 436.9 MB, free: 1.227 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001975/0.2524, allocations: 8 kB / 436.9 MB, free: 1.219 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.0005928/0.253, allocations: 0.6764 MB / 437.6 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003017/0.2533, allocations: 75.92 kB / 437.7 MB, free: 444 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2533, allocations: 3.938 kB / 437.7 MB, free: 440 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001361/0.2535, allocations: 39.91 kB / 437.7 MB, free: 400 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001541/0.2536, allocations: 0 / 437.7 MB, free: 400 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00189/0.2555, allocations: 1.463 MB / 439.2 MB, free: 14.83 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.824e-05/0.2556, allocations: 75.33 kB / 439.3 MB, free: 14.73 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.654e-05/0.2556, allocations: 4 kB / 439.3 MB, free: 14.73 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.025e-05/0.2557, allocations: 23.42 kB / 439.3 MB, free: 14.71 MB / 350.1 MB Notification: Performance of SimCode: time 2.71e-07/0.2557, allocations: 0 / 439.3 MB, free: 14.71 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02179/0.2775, allocations: 1.944 MB / 441.2 MB, free: 12.91 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.61/10.89, allocations: 4.812 kB / 441.2 MB, free: 12.91 MB / 350.1 MB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Blocks.Examples.CompareSincExpSine_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Blocks_Examples_CompareSincExpSine_fmu --startTime=0 --stopTime=1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 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.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_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: 13.448683026013896]