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.001264/0.001264, allocations: 109.1 kB / 21.22 MB, free: 0.6484 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.001378/0.001378, allocations: 209.4 kB / 24.51 MB, free: 3.941 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.445/1.445, allocations: 230.5 MB / 258.2 MB, free: 7.801 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.2207/0.2207, allocations: 46.96 MB / 361.6 MB, free: 3.93 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.002196/0.002196, allocations: 83.86 kB / 0.497 GB, free: 7.477 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3026/0.3048, allocations: 66.08 MB / 0.5615 GB, free: 4.008 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.003209/0.308, allocations: 1.87 MB / 0.5633 GB, free: 2.125 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00181/0.3098, allocations: 1.073 MB / 0.5644 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.114e-05/0.3099, allocations: 0 / 0.5644 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004008/0.3103, allocations: 163.5 kB / 0.5645 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005177/0.3108, allocations: 187.2 kB / 0.5647 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002764/0.3111, allocations: 123.7 kB / 0.5648 GB, free: 0.582 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003226/0.3114, allocations: 247.3 kB / 0.5651 GB, free: 348 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001228/0.3115, allocations: 19.78 kB / 0.5651 GB, free: 328 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001932/0.3117, allocations: 115.5 kB / 0.5652 GB, free: 212 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002005/0.3119, allocations: 143.5 kB / 0.5653 GB, free: 68 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.508e-05/0.312, allocations: 8 kB / 0.5653 GB, free: 60 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001603/0.3121, allocations: 71.98 kB / 0.5654 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.651e-05/0.3122, allocations: 55.77 kB / 0.5655 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.612e-05/0.3123, allocations: 59.45 kB / 0.5655 GB, free: 15.88 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000342/0.3126, allocations: 234.9 kB / 0.5657 GB, free: 15.64 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.3126, allocations: 0 / 0.5657 GB, free: 15.64 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3126, allocations: 0 / 0.5657 GB, free: 15.64 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.003e-05/0.3127, allocations: 0 / 0.5657 GB, free: 15.64 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.0007386/0.3134, allocations: 480.5 kB / 0.5662 GB, free: 15.14 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.224e-05/0.3134, allocations: 12.03 kB / 0.5662 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.506e-05/0.3135, allocations: 4.125 kB / 0.5662 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.285e-05/0.3135, allocations: 38.75 kB / 0.5663 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.919e-05/0.3136, allocations: 32.73 kB / 0.5663 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003579/0.3139, allocations: 210.6 kB / 0.5665 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.061e-05/0.3139, allocations: 8.375 kB / 0.5665 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.9e-05/0.314, allocations: 4.375 kB / 0.5665 GB, free: 14.81 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002417/0.3142, allocations: 117.6 kB / 0.5666 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.3142, allocations: 4 kB / 0.5666 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.565e-05/0.3142, allocations: 4 kB / 0.5666 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.3142, allocations: 0 / 0.5666 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001419/0.3144, allocations: 59.88 kB / 0.5667 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000557/0.3149, allocations: 423.9 kB / 0.5671 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003932/0.3153, allocations: 129.1 kB / 0.5672 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001055/0.3154, allocations: 45.81 kB / 0.5673 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.425e-05/0.3155, allocations: 4 kB / 0.5673 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002516/0.3157, allocations: 125 kB / 0.5674 GB, free: 13.82 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.372e-06/0.3157, allocations: 0 / 0.5674 GB, free: 13.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001368/0.3171, allocations: 0.5094 MB / 0.5679 GB, free: 13.3 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.798e-05/0.3171, allocations: 81.11 kB / 0.5679 GB, free: 13.21 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004337/0.3176, allocations: 384.5 kB / 0.5683 GB, free: 12.82 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.94e-05/0.3176, allocations: 33.7 kB / 0.5683 GB, free: 12.78 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001126/0.3177, allocations: 148.5 kB / 0.5685 GB, free: 12.62 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.522e-05/0.3178, allocations: 75.36 kB / 0.5686 GB, free: 12.55 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.721e-05/0.3179, allocations: 45.7 kB / 0.5686 GB, free: 12.5 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001706/0.318, allocations: 342.8 kB / 0.5689 GB, free: 12.16 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000133/0.3182, allocations: 55.97 kB / 0.569 GB, free: 12.1 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001579/0.3183, allocations: 100.5 kB / 0.5691 GB, free: 11.99 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002874/0.3186, allocations: 163.5 kB / 0.5692 GB, free: 11.82 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.3186, allocations: 0 / 0.5692 GB, free: 11.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004075/0.319, allocations: 233.3 kB / 0.5695 GB, free: 11.59 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.319, allocations: 11.92 kB / 0.5695 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.319e-06/0.319, allocations: 0 / 0.5695 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.3191, allocations: 4 kB / 0.5695 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001506/0.3192, allocations: 47.98 kB / 0.5695 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/0.3192, allocations: 0 / 0.5695 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.621e-05/0.3193, allocations: 11.98 kB / 0.5695 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.744e-05/0.3193, allocations: 8 kB / 0.5695 GB, free: 11.5 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.000161/0.3195, allocations: 158.2 kB / 0.5697 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.924e-05/0.3195, allocations: 31.75 kB / 0.5697 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005571/0.3201, allocations: 287.5 kB / 0.57 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.3201, allocations: 0 / 0.57 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.3201, allocations: 0 / 0.57 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.3201, allocations: 8 kB / 0.57 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009597/0.3211, allocations: 0.7029 MB / 0.5707 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.3211, allocations: 0 / 0.5707 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001131/0.3212, allocations: 31.98 kB / 0.5707 GB, free: 10.22 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.3212, allocations: 4 kB / 0.5707 GB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.781e-05/0.3212, allocations: 8.188 kB / 0.5707 GB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.097e-05/0.3212, allocations: 3.938 kB / 0.5707 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.3212, allocations: 7.938 kB / 0.5707 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005428/0.3218, allocations: 437.9 kB / 0.5712 GB, free: 9.738 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.843e-05/0.3218, allocations: 31.84 kB / 0.5712 GB, free: 9.707 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.284e-05/0.3218, allocations: 11.94 kB / 0.5712 GB, free: 9.695 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000138/0.322, allocations: 4 kB / 0.5712 GB, free: 9.691 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.772e-05/0.322, allocations: 27.89 kB / 0.5712 GB, free: 9.664 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.639e-05/0.3221, allocations: 8 kB / 0.5712 GB, free: 9.656 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002874/0.3224, allocations: 287 kB / 0.5715 GB, free: 9.375 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3224, allocations: 0 / 0.5715 GB, free: 9.375 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003519/0.3227, allocations: 55.88 kB / 0.5716 GB, free: 9.32 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 (24): * Single equations (assignments): 20 * 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.002824/0.3255, allocations: 1.417 MB / 0.5729 GB, free: 8.066 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003909/0.3259, allocations: 156.1 kB / 0.5731 GB, free: 7.914 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.3259, allocations: 4 kB / 0.5731 GB, free: 7.91 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001775/0.3261, allocations: 80.22 kB / 0.5732 GB, free: 7.832 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005698/0.3267, allocations: 71.91 kB / 0.5732 GB, free: 7.766 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00342/0.3301, allocations: 2.735 MB / 0.5759 GB, free: 4.902 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000159/0.3302, allocations: 157.5 kB / 0.5761 GB, free: 4.723 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.771e-05/0.3303, allocations: 37.92 kB / 0.5761 GB, free: 4.688 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001364/0.3305, allocations: 91.34 kB / 0.5762 GB, free: 4.598 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3305, allocations: 4 kB / 0.5762 GB, free: 4.594 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02626/0.3567, allocations: 6.635 MB / 0.5827 GB, free: 14.01 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.97/11.33, allocations: 10.81 kB / 0.5827 GB, free: 14 MB / 430.1 MB " [Timeout remaining time 648] (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.333960818010382]