Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.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.0007336/0.0007336, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.0007935/0.0007935, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.9381/0.9381, allocations: 177.1 MB / 204.3 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.278/0.278, allocations: 32.79 MB / 293.5 MB, free: 1.227 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(ModelicaTest.Tables.CombiTable1Ds.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test6",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.903e-06/1.903e-06, allocations: 0 / 439.6 MB, free: 4.223 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.526e-05/2.716e-05, allocations: 4.391 kB / 439.6 MB, free: 4.219 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test6): time 0.00257/0.002598, allocations: 1.642 MB / 441.3 MB, free: 2.562 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007856/0.003383, allocations: 0.5414 MB / 441.8 MB, free: 2.016 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.829e-05/0.003451, allocations: 0 / 441.8 MB, free: 2.016 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002943/0.003746, allocations: 95.61 kB / 441.9 MB, free: 1.922 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003463/0.004092, allocations: 115.5 kB / 442 MB, free: 1.809 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003011/0.004393, allocations: 93.31 kB / 442.1 MB, free: 1.719 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001947/0.004588, allocations: 103.7 kB / 442.2 MB, free: 1.617 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001158/0.004704, allocations: 19.97 kB / 442.2 MB, free: 1.598 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.609e-05/0.00478, allocations: 51.89 kB / 442.3 MB, free: 1.547 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.982e-05/0.00488, allocations: 59.86 kB / 442.3 MB, free: 1.488 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.584e-05/0.004895, allocations: 4 kB / 442.3 MB, free: 1.484 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001049/0.005, allocations: 55.84 kB / 442.4 MB, free: 1.43 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.052e-05/0.005051, allocations: 19.92 kB / 442.4 MB, free: 1.41 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.313e-05/0.005084, allocations: 23.86 kB / 442.4 MB, free: 1.387 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001936/0.005278, allocations: 131.5 kB / 442.6 MB, free: 1.258 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.534e-06/0.00528, allocations: 0 / 442.6 MB, free: 1.258 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.005281, allocations: 4 kB / 442.6 MB, free: 1.254 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.005286, allocations: 0 / 442.6 MB, free: 1.254 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004627/0.005749, allocations: 349.5 kB / 442.9 MB, free: 0.8828 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/0.005795, allocations: 12.03 kB / 442.9 MB, free: 0.8711 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.661e-05/0.005832, allocations: 38.73 kB / 442.9 MB, free: 0.8242 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.922e-05/0.005881, allocations: 16.84 kB / 443 MB, free: 0.8086 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001771/0.006058, allocations: 153.5 kB / 443.1 MB, free: 0.6328 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.632e-05/0.006074, allocations: 8.312 kB / 443.1 MB, free: 0.625 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.615e-05/0.0061, allocations: 4.375 kB / 443.1 MB, free: 0.6211 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001677/0.006268, allocations: 66.23 kB / 443.2 MB, free: 0.5508 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.006282, allocations: 8.141 kB / 443.2 MB, free: 0.543 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.006295, allocations: 3.938 kB / 443.2 MB, free: 0.5391 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.605e-06/0.006303, allocations: 7.938 kB / 443.2 MB, free: 0.5312 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.544e-05/0.006388, allocations: 39.95 kB / 443.2 MB, free: 0.4922 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004271/0.006815, allocations: 291.8 kB / 443.5 MB, free: 168 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001338/0.006949, allocations: 62.55 kB / 443.6 MB, free: 96 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.091e-05/0.00699, allocations: 20.84 kB / 443.6 MB, free: 72 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.769e-05/0.007018, allocations: 0 / 443.6 MB, free: 72 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.601e-05/0.007044, allocations: 42.55 kB / 443.7 MB, free: 20 kB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.072e-06/0.007045, allocations: 4 kB / 443.7 MB, free: 16 kB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.2006/0.2077, allocations: 300.7 kB / 444 MB, free: 46.5 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.25e-05/0.2077, allocations: 52.16 kB / 444 MB, free: 46.44 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001766/0.2079, allocations: 240.9 kB / 444.2 MB, free: 46.33 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.626e-06/0.2079, allocations: 33.08 kB / 444.3 MB, free: 46.3 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.077e-05/0.2079, allocations: 111.6 kB / 444.4 MB, free: 46.21 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.669e-05/0.208, allocations: 44.75 kB / 444.4 MB, free: 46.19 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.894e-05/0.208, allocations: 32.61 kB / 444.5 MB, free: 46.17 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.536e-05/0.208, allocations: 328.7 kB / 444.8 MB, free: 45.86 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.441e-05/0.2081, allocations: 38.8 kB / 444.8 MB, free: 45.86 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.83e-05/0.2081, allocations: 33.31 kB / 444.8 MB, free: 45.86 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001047/0.2083, allocations: 95.44 kB / 444.9 MB, free: 45.85 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.2083, allocations: 0 / 444.9 MB, free: 45.85 MB / 410.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001491/0.2084, allocations: 140.9 kB / 445.1 MB, free: 45.81 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.2084, allocations: 7.438 kB / 445.1 MB, free: 45.81 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.2084, allocations: 1.812 kB / 445.1 MB, free: 45.81 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.2084, allocations: 0 / 445.1 MB, free: 45.81 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.307e-05/0.2085, allocations: 26.8 kB / 445.1 MB, free: 45.81 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.2085, allocations: 1.5 kB / 445.1 MB, free: 45.81 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.664e-05/0.2086, allocations: 8.672 kB / 445.1 MB, free: 45.81 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.896e-06/0.2086, allocations: 9.75 kB / 445.1 MB, free: 45.81 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (13): * Single equations (assignments): 13 * 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.486e-05/0.2086, allocations: 137 kB / 445.3 MB, free: 45.7 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.023e-05/0.2087, allocations: 13.38 kB / 445.3 MB, free: 45.69 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002344/0.2089, allocations: 165.8 kB / 445.4 MB, free: 45.66 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.2089, allocations: 2.688 kB / 445.4 MB, free: 45.66 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.2089, allocations: 3.656 kB / 445.4 MB, free: 45.66 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.2089, allocations: 0 / 445.4 MB, free: 45.66 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003974/0.2093, allocations: 436.3 kB / 445.9 MB, free: 45.36 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.2093, allocations: 0 / 445.9 MB, free: 45.36 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.197e-05/0.2094, allocations: 32.83 kB / 445.9 MB, free: 45.35 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.2094, allocations: 2.938 kB / 445.9 MB, free: 45.35 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.076e-06/0.2094, allocations: 3.422 kB / 445.9 MB, free: 45.35 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.2094, allocations: 7.719 kB / 445.9 MB, free: 45.35 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.2094, allocations: 0.5469 kB / 445.9 MB, free: 45.35 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001441/0.2095, allocations: 244.3 kB / 446.2 MB, free: 45.18 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.24e-05/0.2095, allocations: 17.59 kB / 446.2 MB, free: 45.16 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.484e-05/0.2095, allocations: 0 / 446.2 MB, free: 45.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.191e-05/0.2096, allocations: 19.52 kB / 446.2 MB, free: 45.16 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.227e-05/0.2096, allocations: 9.906 kB / 446.2 MB, free: 45.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.211e-06/0.2096, allocations: 6.031 kB / 446.2 MB, free: 45.16 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.048e-05/0.2097, allocations: 189.7 kB / 446.4 MB, free: 45.05 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2097, allocations: 0 / 446.4 MB, free: 45.05 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001849/0.2099, allocations: 28 kB / 446.4 MB, free: 45.05 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (13): * Single equations (assignments): 13 * 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.0009681/0.2109, allocations: 1.153 MB / 447.6 MB, free: 44.3 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001802/0.211, allocations: 88.02 kB / 447.7 MB, free: 44.28 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.211, allocations: 0 / 447.7 MB, free: 44.28 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.367e-05/0.2111, allocations: 49.03 kB / 447.7 MB, free: 44.27 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003014/0.2114, allocations: 31.98 kB / 447.7 MB, free: 44.25 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00121/0.2126, allocations: 1.851 MB / 449.6 MB, free: 42.86 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.042e-05/0.2127, allocations: 108.1 kB / 449.7 MB, free: 42.78 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.088e-05/0.2127, allocations: 23.42 kB / 449.7 MB, free: 42.77 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.077e-05/0.2128, allocations: 51.06 kB / 449.8 MB, free: 42.74 MB / 410.7 MB Notification: Performance of SimCode: time 1.182e-06/0.2128, allocations: 0 / 449.8 MB, free: 42.74 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01657/0.2294, allocations: 4.232 MB / 454 MB, free: 41.35 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.617/6.846, allocations: 4 kB / 454 MB, free: 41.34 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test6_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test6.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.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.919884686358273]