Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001234/0.001234, allocations: 109.1 kB / 21.22 MB, free: 0.7539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001351/0.001351, allocations: 216.9 kB / 24.53 MB, free: 4.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.408/1.408, allocations: 230.5 MB / 258.2 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.22/0.22, allocations: 46.92 MB / 361.6 MB, free: 4.305 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test77,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test77",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test77,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test77",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002317/0.002317, allocations: 75.88 kB / 0.497 GB, free: 7.738 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3009/0.3032, allocations: 66.08 MB / 0.5616 GB, free: 4.344 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.00329/0.3065, allocations: 1.936 MB / 0.5635 GB, free: 2.395 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001982/0.3085, allocations: 1.16 MB / 0.5646 GB, free: 1.23 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.568e-05/0.3086, allocations: 3.938 kB / 0.5646 GB, free: 1.227 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003724/0.309, allocations: 159.5 kB / 0.5648 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004134/0.3094, allocations: 187.2 kB / 0.5649 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002622/0.3096, allocations: 115.6 kB / 0.565 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003002/0.3099, allocations: 251.3 kB / 0.5653 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.3101, allocations: 19.78 kB / 0.5653 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001711/0.3102, allocations: 119.5 kB / 0.5654 GB, free: 400 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000209/0.3104, allocations: 143.5 kB / 0.5656 GB, free: 256 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.332e-05/0.3105, allocations: 8 kB / 0.5656 GB, free: 248 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001343/0.3106, allocations: 67.97 kB / 0.5656 GB, free: 180 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.801e-05/0.3107, allocations: 47.78 kB / 0.5657 GB, free: 132 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001046/0.3108, allocations: 91.28 kB / 0.5658 GB, free: 40 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003526/0.3111, allocations: 219 kB / 0.566 GB, free: 15.82 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.3111, allocations: 4 kB / 0.566 GB, free: 15.82 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.3111, allocations: 0 / 0.566 GB, free: 15.82 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.275e-05/0.3112, allocations: 0 / 0.566 GB, free: 15.82 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008327/0.312, allocations: 488.4 kB / 0.5664 GB, free: 15.31 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.312, allocations: 8.031 kB / 0.5664 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.998e-05/0.3121, allocations: 8.125 kB / 0.5665 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.937e-05/0.3121, allocations: 38.73 kB / 0.5665 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.495e-05/0.3122, allocations: 28.75 kB / 0.5665 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004131/0.3126, allocations: 214.6 kB / 0.5667 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.008e-05/0.3126, allocations: 8.359 kB / 0.5667 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.17e-05/0.3126, allocations: 8.375 kB / 0.5667 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002708/0.3129, allocations: 119.2 kB / 0.5668 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.508e-05/0.3129, allocations: 0 / 0.5668 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.3129, allocations: 0 / 0.5668 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.3129, allocations: 8 kB / 0.5669 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001425/0.3131, allocations: 55.89 kB / 0.5669 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005964/0.3137, allocations: 431.8 kB / 0.5673 GB, free: 14.32 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003962/0.3141, allocations: 117.2 kB / 0.5674 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001036/0.3142, allocations: 45.81 kB / 0.5675 GB, free: 14.13 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.755e-05/0.3142, allocations: 0 / 0.5675 GB, free: 14.13 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002668/0.3145, allocations: 133.1 kB / 0.5676 GB, free: 13.98 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.212e-06/0.3145, allocations: 0 / 0.5676 GB, free: 13.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001358/0.3158, allocations: 0.4936 MB / 0.5681 GB, free: 13.48 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.684e-05/0.3159, allocations: 81.11 kB / 0.5682 GB, free: 13.39 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003998/0.3163, allocations: 368.5 kB / 0.5685 GB, free: 13.01 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.91e-05/0.3163, allocations: 37.64 kB / 0.5686 GB, free: 12.97 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001139/0.3164, allocations: 144.5 kB / 0.5687 GB, free: 12.82 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.044e-05/0.3165, allocations: 75.38 kB / 0.5688 GB, free: 12.75 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.327e-05/0.3166, allocations: 45.72 kB / 0.5688 GB, free: 12.7 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001615/0.3168, allocations: 342.8 kB / 0.5691 GB, free: 12.35 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00016/0.3169, allocations: 55.97 kB / 0.5692 GB, free: 12.3 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000158/0.3171, allocations: 87.41 kB / 0.5693 GB, free: 12.2 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003062/0.3174, allocations: 167.4 kB / 0.5694 GB, free: 12.02 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.3174, allocations: 4 kB / 0.5694 GB, free: 12.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004552/0.3178, allocations: 225.3 kB / 0.5696 GB, free: 11.79 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.351e-05/0.3179, allocations: 7.938 kB / 0.5697 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.3179, allocations: 0 / 0.5697 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.215e-05/0.3179, allocations: 4 kB / 0.5697 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001656/0.3181, allocations: 43.91 kB / 0.5697 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.899e-06/0.3181, allocations: 8.062 kB / 0.5697 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.973e-05/0.3182, allocations: 8 kB / 0.5697 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.027e-05/0.3182, allocations: 8 kB / 0.5697 GB, free: 11.71 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001944/0.3184, allocations: 166.2 kB / 0.5699 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.87e-05/0.3184, allocations: 35.75 kB / 0.5699 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006221/0.3191, allocations: 255.3 kB / 0.5702 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.123e-06/0.3191, allocations: 4 kB / 0.5702 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.3191, allocations: 4 kB / 0.5702 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.3191, allocations: 3.938 kB / 0.5702 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001005/0.3201, allocations: 0.6951 MB / 0.5708 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.3201, allocations: 0 / 0.5708 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.607e-05/0.3202, allocations: 32.05 kB / 0.5709 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.903e-06/0.3202, allocations: 8 kB / 0.5709 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.815e-05/0.3202, allocations: 8.188 kB / 0.5709 GB, free: 10.44 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.3202, allocations: 0 / 0.5709 GB, free: 10.44 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.3202, allocations: 11.92 kB / 0.5709 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005217/0.3207, allocations: 421.8 kB / 0.5713 GB, free: 9.984 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.619e-05/0.3208, allocations: 19.86 kB / 0.5713 GB, free: 9.965 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.381e-05/0.3208, allocations: 11.98 kB / 0.5713 GB, free: 9.953 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001423/0.3209, allocations: 8 kB / 0.5713 GB, free: 9.945 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.818e-05/0.321, allocations: 19.91 kB / 0.5714 GB, free: 9.926 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.125e-05/0.321, allocations: 12 kB / 0.5714 GB, free: 9.914 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002848/0.3213, allocations: 287 kB / 0.5717 GB, free: 9.633 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3213, allocations: 3.938 kB / 0.5717 GB, free: 9.629 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003906/0.3217, allocations: 47.94 kB / 0.5717 GB, free: 9.582 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002854/0.3246, allocations: 1.362 MB / 0.573 GB, free: 8.367 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003691/0.3249, allocations: 147.8 kB / 0.5732 GB, free: 8.223 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.95e-06/0.3249, allocations: 4 kB / 0.5732 GB, free: 8.219 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001552/0.3251, allocations: 75.97 kB / 0.5732 GB, free: 8.145 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005616/0.3257, allocations: 66.2 kB / 0.5733 GB, free: 8.086 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00353/0.3292, allocations: 2.707 MB / 0.576 GB, free: 5.25 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004091/0.3296, allocations: 0.7635 MB / 0.5767 GB, free: 4.461 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001216/0.3297, allocations: 45.86 kB / 0.5767 GB, free: 4.418 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001437/0.3299, allocations: 91.39 kB / 0.5768 GB, free: 4.328 MB / 414.1 MB Notification: Performance of SimCode: time 6.41e-07/0.3299, allocations: 0 / 0.5768 GB, free: 4.328 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02608/0.3559, allocations: 6.372 MB / 0.5831 GB, free: 14 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.83/11.19, allocations: 7.594 kB / 0.5831 GB, free: 14 MB / 430.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test77_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test77.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.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.140483288036194]