Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001129/0.001129, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007752/0.0007752, allocations: 149.1 kB / 23.93 MB, free: 0.6289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8951/0.8951, allocations: 173.3 MB / 200.4 MB, free: 9.438 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.CompareSincExpSine,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_CompareSincExpSine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.CompareSincExpSine,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_CompareSincExpSine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 318.4 MB, free: 6.375 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.727e-05/1.891e-05, allocations: 4.672 kB / 318.4 MB, free: 6.371 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.001862/0.001881, allocations: 1.466 MB / 319.9 MB, free: 4.891 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005556/0.002437, allocations: 422.9 kB / 320.3 MB, free: 4.477 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.553e-05/0.002472, allocations: 0 / 320.3 MB, free: 4.477 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.028e-05/0.002502, allocations: 11.86 kB / 320.3 MB, free: 4.465 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 8.92e-05/0.002592, allocations: 19.86 kB / 320.3 MB, free: 4.445 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001678/0.002759, allocations: 23.91 kB / 320.3 MB, free: 4.422 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 8.997e-05/0.002849, allocations: 75.64 kB / 320.4 MB, free: 4.348 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.03e-05/0.0029, allocations: 15.86 kB / 320.4 MB, free: 4.332 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001369/0.003036, allocations: 43.89 kB / 320.5 MB, free: 4.289 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.211e-05/0.003089, allocations: 27.91 kB / 320.5 MB, free: 4.262 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.47e-05/0.003113, allocations: 4 kB / 320.5 MB, free: 4.258 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.458e-06/0.003123, allocations: 4 kB / 320.5 MB, free: 4.254 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.692e-05/0.00314, allocations: 11.98 kB / 320.5 MB, free: 4.242 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.118e-05/0.003171, allocations: 23.92 kB / 320.5 MB, free: 4.219 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001027/0.003274, allocations: 59.78 kB / 320.6 MB, free: 4.16 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.993e-06/0.003276, allocations: 0 / 320.6 MB, free: 4.16 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.003277, allocations: 0 / 320.6 MB, free: 4.16 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.003282, allocations: 0 / 320.6 MB, free: 4.16 MB / 282.7 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.0004703/0.003752, allocations: 321.3 kB / 320.9 MB, free: 3.82 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.003793, allocations: 8.922 kB / 320.9 MB, free: 3.812 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.292e-05/0.003826, allocations: 34.75 kB / 321 MB, free: 3.77 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.378e-05/0.003849, allocations: 4.938 kB / 321 MB, free: 3.766 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.296e-05/0.003932, allocations: 125.6 kB / 321.1 MB, free: 3.617 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.014e-05/0.003942, allocations: 384 / 321.1 MB, free: 3.617 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.209e-05/0.003955, allocations: 384 / 321.1 MB, free: 3.617 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001768/0.004131, allocations: 92.16 kB / 321.2 MB, free: 3.512 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.703e-06/0.004138, allocations: 0 / 321.2 MB, free: 3.512 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.004148, allocations: 0 / 321.2 MB, free: 3.512 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.004153, allocations: 0 / 321.2 MB, free: 3.512 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001386/0.004291, allocations: 67.88 kB / 321.2 MB, free: 3.445 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001535/0.004445, allocations: 154.5 kB / 321.4 MB, free: 3.246 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000153/0.004598, allocations: 95.75 kB / 321.5 MB, free: 3.125 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.789e-05/0.004676, allocations: 50.61 kB / 321.5 MB, free: 3.066 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.013e-05/0.004696, allocations: 7.938 kB / 321.6 MB, free: 3.059 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.142e-05/0.004717, allocations: 34.5 kB / 321.6 MB, free: 3.016 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.004718, allocations: 4 kB / 321.6 MB, free: 3.012 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003031/0.005022, allocations: 137.8 kB / 321.7 MB, free: 2.871 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.66e-05/0.005068, allocations: 110.8 kB / 321.8 MB, free: 2.738 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.292e-05/0.005141, allocations: 127.5 kB / 322 MB, free: 2.602 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.085e-05/0.005152, allocations: 25.7 kB / 322 MB, free: 2.57 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.84e-05/0.00519, allocations: 92.12 kB / 322.1 MB, free: 2.477 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.867e-05/0.005219, allocations: 15.89 kB / 322.1 MB, free: 2.461 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.151e-05/0.00525, allocations: 21.7 kB / 322.1 MB, free: 2.434 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.718e-05/0.005328, allocations: 314.8 kB / 322.4 MB, free: 2.117 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.655e-05/0.005394, allocations: 31.97 kB / 322.4 MB, free: 2.086 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.859e-05/0.005463, allocations: 50.48 kB / 322.5 MB, free: 2.027 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000138/0.005601, allocations: 82.52 kB / 322.6 MB, free: 1.938 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.005603, allocations: 0 / 322.6 MB, free: 1.938 MB / 282.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001674/0.00577, allocations: 125.3 kB / 322.7 MB, free: 1.809 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.005782, allocations: 4 kB / 322.7 MB, free: 1.805 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.005787, allocations: 0 / 322.7 MB, free: 1.805 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.005799, allocations: 4.078 kB / 322.7 MB, free: 1.801 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.972e-05/0.005879, allocations: 15.98 kB / 322.7 MB, free: 1.785 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.005884, allocations: 7.938 kB / 322.7 MB, free: 1.777 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.339e-05/0.005928, allocations: 20.06 kB / 322.7 MB, free: 1.758 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.121e-06/0.005934, allocations: 4 kB / 322.8 MB, free: 1.754 MB / 282.7 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 6.384e-05/0.005998, allocations: 113.8 kB / 322.9 MB, free: 1.633 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.26e-05/0.00601, allocations: 15.89 kB / 322.9 MB, free: 1.617 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.034e-05/0.006031, allocations: 3.969 kB / 322.9 MB, free: 1.609 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.006033, allocations: 4 kB / 322.9 MB, free: 1.605 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.006037, allocations: 0 / 322.9 MB, free: 1.605 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.00604, allocations: 0 / 322.9 MB, free: 1.605 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.107e-05/0.006121, allocations: 140.7 kB / 323 MB, free: 1.426 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.02e-07/0.006122, allocations: 0 / 323 MB, free: 1.426 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.49e-05/0.006166, allocations: 23.92 kB / 323 MB, free: 1.402 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.594e-06/0.006169, allocations: 4 kB / 323.1 MB, free: 1.398 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/0.00618, allocations: 11.98 kB / 323.1 MB, free: 1.387 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.51e-07/0.006181, allocations: 0 / 323.1 MB, free: 1.387 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.006182, allocations: 0 / 323.1 MB, free: 1.387 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001834/0.006365, allocations: 142.7 kB / 323.2 MB, free: 1.223 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.214e-05/0.006377, allocations: 15.83 kB / 323.2 MB, free: 1.207 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.21e-05/0.006389, allocations: 4 kB / 323.2 MB, free: 1.203 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.709e-05/0.006426, allocations: 11.98 kB / 323.2 MB, free: 1.191 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.555e-05/0.006472, allocations: 7.984 kB / 323.2 MB, free: 1.184 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.428e-06/0.006476, allocations: 0 / 323.2 MB, free: 1.184 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.554e-05/0.006522, allocations: 100.2 kB / 323.3 MB, free: 1.086 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006522, allocations: 0 / 323.3 MB, free: 1.086 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001311/0.006653, allocations: 12 kB / 323.4 MB, free: 1.074 MB / 282.7 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.0003798/0.007033, allocations: 0.6764 MB / 324 MB, free: 372 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001956/0.007229, allocations: 79.86 kB / 324.1 MB, free: 292 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.00723, allocations: 0 / 324.1 MB, free: 292 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.966e-05/0.0073, allocations: 36.28 kB / 324.1 MB, free: 256 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001321/0.007432, allocations: 10.97 kB / 324.2 MB, free: 248 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006124/0.008045, allocations: 212.2 kB / 324.4 MB, free: 15.98 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.831e-05/0.008093, allocations: 75.52 kB / 324.4 MB, free: 15.89 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.402e-05/0.008127, allocations: 4.062 kB / 324.4 MB, free: 15.89 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.302e-05/0.00818, allocations: 20.48 kB / 324.5 MB, free: 15.87 MB / 298.7 MB Notification: Performance of SimCode: time 4.81e-07/0.00818, allocations: 3.938 kB / 324.5 MB, free: 15.86 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01421/0.02239, allocations: 2.374 MB / 326.8 MB, free: 13.61 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.566/6.588, allocations: 14.08 kB / 326.8 MB, free: 13.6 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Blocks_Examples_CompareSincExpSine_fmu --startTime=0 --stopTime=1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Blocks_Examples_CompareSincExpSine.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/CompareSincExpSine/CompareSincExpSine.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 8.32017280999571]