Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.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.000919/0.000919, allocations: 80.48 kB / 19.92 MB, free: 4.633 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.0008482/0.0008482, allocations: 169.9 kB / 23.21 MB, free: 1.348 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8926/0.8926, allocations: 158.6 MB / 185 MB, free: 3.035 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1234/0.1234, allocations: 32.36 MB / 269.6 MB, free: 14.98 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTimeTable.Test49,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test49",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test49,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test49",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 406.9 MB, free: 13.44 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.058e-05/2.236e-05, allocations: 5.656 kB / 406.9 MB, free: 13.43 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.002201/0.002224, allocations: 1.672 MB / 408.6 MB, free: 11.75 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009046/0.003128, allocations: 0.7762 MB / 409.4 MB, free: 10.96 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.127e-05/0.0032, allocations: 0 / 409.4 MB, free: 10.96 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002929/0.003493, allocations: 63.69 kB / 409.4 MB, free: 10.9 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001942/0.003687, allocations: 59.69 kB / 409.5 MB, free: 10.84 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000206/0.003893, allocations: 87.7 kB / 409.6 MB, free: 10.76 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001398/0.004033, allocations: 99.61 kB / 409.7 MB, free: 10.66 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.359e-05/0.004116, allocations: 16.17 kB / 409.7 MB, free: 10.64 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.123e-05/0.004187, allocations: 43.91 kB / 409.7 MB, free: 10.6 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.548e-05/0.004253, allocations: 27.89 kB / 409.8 MB, free: 10.57 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.616e-05/0.004269, allocations: 4 kB / 409.8 MB, free: 10.57 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.333e-05/0.004342, allocations: 43.92 kB / 409.8 MB, free: 10.53 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.202e-05/0.004394, allocations: 31.86 kB / 409.8 MB, free: 10.5 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.783e-05/0.004432, allocations: 19.92 kB / 409.9 MB, free: 10.48 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001655/0.004598, allocations: 131.5 kB / 410 MB, free: 10.35 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.325e-06/0.0046, allocations: 0 / 410 MB, free: 10.35 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.004601, allocations: 0 / 410 MB, free: 10.35 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.797e-06/0.004605, allocations: 3.938 kB / 410 MB, free: 10.34 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000627/0.005232, allocations: 365.4 kB / 410.4 MB, free: 9.957 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.005268, allocations: 12.03 kB / 410.4 MB, free: 9.945 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.839e-05/0.005297, allocations: 38.73 kB / 410.4 MB, free: 9.898 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.865e-05/0.005325, allocations: 12.84 kB / 410.4 MB, free: 9.887 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001806/0.005506, allocations: 165.2 kB / 410.6 MB, free: 9.699 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/0.005517, allocations: 384 / 410.6 MB, free: 9.699 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.673e-05/0.005533, allocations: 8.328 kB / 410.6 MB, free: 9.691 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001121/0.005646, allocations: 61.92 kB / 410.6 MB, free: 9.625 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.005655, allocations: 0 / 410.6 MB, free: 9.625 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.604e-06/0.005662, allocations: 0 / 410.6 MB, free: 9.625 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.005667, allocations: 4 kB / 410.7 MB, free: 9.621 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.97e-05/0.005717, allocations: 23.98 kB / 410.7 MB, free: 9.598 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002749/0.005991, allocations: 263.9 kB / 410.9 MB, free: 9.297 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001098/0.006101, allocations: 62.61 kB / 411 MB, free: 9.227 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.321e-05/0.006134, allocations: 16.86 kB / 411 MB, free: 9.207 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.333e-05/0.006148, allocations: 4 kB / 411 MB, free: 9.203 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001061/0.006254, allocations: 67.38 kB / 411.1 MB, free: 9.125 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 9.22e-07/0.006255, allocations: 0 / 411.1 MB, free: 9.125 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003915/0.006646, allocations: 201.3 kB / 411.3 MB, free: 8.922 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.761e-05/0.006674, allocations: 51.41 kB / 411.3 MB, free: 8.859 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001633/0.006837, allocations: 259.7 kB / 411.6 MB, free: 8.594 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.061e-05/0.006848, allocations: 29.7 kB / 411.6 MB, free: 8.559 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.662e-05/0.006894, allocations: 108.1 kB / 411.7 MB, free: 8.449 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.542e-05/0.00692, allocations: 27.78 kB / 411.7 MB, free: 8.422 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.925e-05/0.006949, allocations: 25.72 kB / 411.8 MB, free: 8.391 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.635e-05/0.007025, allocations: 326.8 kB / 412.1 MB, free: 8.062 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.457e-05/0.00706, allocations: 23.98 kB / 412.1 MB, free: 8.039 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.104e-05/0.007101, allocations: 41.64 kB / 412.2 MB, free: 7.992 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.904e-05/0.00717, allocations: 61.7 kB / 412.2 MB, free: 7.926 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.007171, allocations: 0 / 412.2 MB, free: 7.926 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001108/0.007282, allocations: 113.5 kB / 412.3 MB, free: 7.809 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.075e-05/0.007292, allocations: 4 kB / 412.3 MB, free: 7.805 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.007297, allocations: 0 / 412.3 MB, free: 7.805 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.007308, allocations: 0 / 412.3 MB, free: 7.805 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.987e-05/0.007368, allocations: 16 kB / 412.3 MB, free: 7.789 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.007372, allocations: 352 / 412.3 MB, free: 7.789 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.914e-05/0.007401, allocations: 8.016 kB / 412.3 MB, free: 7.781 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.561e-06/0.007407, allocations: 7.938 kB / 412.4 MB, free: 7.773 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 7.516e-05/0.007482, allocations: 141.7 kB / 412.5 MB, free: 7.625 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.316e-05/0.007495, allocations: 15.91 kB / 412.5 MB, free: 7.609 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001591/0.007654, allocations: 127.1 kB / 412.6 MB, free: 7.484 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.007656, allocations: 0 / 412.6 MB, free: 7.484 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.00766, allocations: 3.938 kB / 412.6 MB, free: 7.48 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.007663, allocations: 0 / 412.6 MB, free: 7.48 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002933/0.007956, allocations: 382.4 kB / 413 MB, free: 7.055 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.007957, allocations: 7.969 kB / 413 MB, free: 7.047 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.35e-05/0.007981, allocations: 12 kB / 413 MB, free: 7.035 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.007983, allocations: 0 / 413 MB, free: 7.035 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.664e-06/0.007991, allocations: 3.938 kB / 413 MB, free: 7.031 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.007992, allocations: 0 / 413 MB, free: 7.031 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.007994, allocations: 7.938 kB / 413 MB, free: 7.023 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000139/0.008133, allocations: 216.2 kB / 413.3 MB, free: 6.793 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.274e-05/0.008145, allocations: 11.91 kB / 413.3 MB, free: 6.781 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.652e-05/0.008162, allocations: 4 kB / 413.3 MB, free: 6.777 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.887e-05/0.008201, allocations: 4.375 kB / 413.3 MB, free: 6.773 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.829e-05/0.008229, allocations: 15.92 kB / 413.3 MB, free: 6.758 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.409e-05/0.008243, allocations: 11.98 kB / 413.3 MB, free: 6.746 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000108/0.008351, allocations: 203.3 kB / 413.5 MB, free: 6.547 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.008351, allocations: 0 / 413.5 MB, free: 6.547 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001865/0.008538, allocations: 23.94 kB / 413.5 MB, free: 6.523 MB / 346.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0009729/0.00951, allocations: 1.137 MB / 414.7 MB, free: 5.414 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001205/0.009631, allocations: 55.91 kB / 414.7 MB, free: 5.359 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.009633, allocations: 0 / 414.7 MB, free: 5.359 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.2e-05/0.009675, allocations: 43.84 kB / 414.8 MB, free: 5.316 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002203/0.009895, allocations: 31.7 kB / 414.8 MB, free: 5.285 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001258/0.01115, allocations: 1.826 MB / 416.6 MB, free: 3.359 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.08e-05/0.01122, allocations: 109.8 kB / 416.7 MB, free: 3.234 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.606e-05/0.01126, allocations: 12.36 kB / 416.7 MB, free: 3.223 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.049e-05/0.01131, allocations: 44.47 kB / 416.8 MB, free: 3.18 MB / 346.7 MB Notification: Performance of SimCode: time 7.62e-07/0.01131, allocations: 0 / 416.8 MB, free: 3.18 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01476/0.02607, allocations: 4.539 MB / 421.3 MB, free: 14.52 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.614/6.64, allocations: 4 kB / 421.3 MB, free: 14.52 MB / 362.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test49_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000499301 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test49.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.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.572169035673141]