Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.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.001478/0.001478, allocations: 111.5 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.001617/0.001617, allocations: 209.2 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.413/1.413, allocations: 230.5 MB / 258.2 MB, free: 7.805 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.2142/0.2142, allocations: 46.95 MB / 361.6 MB, free: 3.945 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.Test10,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test10",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test10,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test10",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00227/0.00227, allocations: 79.86 kB / 0.497 GB, free: 7.512 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3126/0.3149, allocations: 66.08 MB / 0.5615 GB, free: 4.043 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.00321/0.3181, allocations: 1.893 MB / 0.5633 GB, free: 2.141 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001687/0.3198, allocations: 1.014 MB / 0.5643 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.055e-05/0.3199, allocations: 4 kB / 0.5643 GB, free: 1.117 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002674/0.3201, allocations: 43.7 kB / 0.5644 GB, free: 1.074 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003035/0.3204, allocations: 99.48 kB / 0.5645 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002134/0.3206, allocations: 99.64 kB / 0.5646 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002267/0.3209, allocations: 147.5 kB / 0.5647 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.321, allocations: 31.55 kB / 0.5647 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.85e-05/0.3211, allocations: 55.72 kB / 0.5648 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001034/0.3212, allocations: 55.7 kB / 0.5648 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.088e-05/0.3212, allocations: 7.938 kB / 0.5648 GB, free: 0.582 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001096/0.3213, allocations: 47.98 kB / 0.5649 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.333e-05/0.3214, allocations: 23.92 kB / 0.5649 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.399e-05/0.3214, allocations: 39.73 kB / 0.565 GB, free: 484 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002448/0.3217, allocations: 163.2 kB / 0.5651 GB, free: 320 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.3217, allocations: 0 / 0.5651 GB, free: 320 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.3217, allocations: 3.938 kB / 0.5651 GB, free: 316 kB / 398.1 MB Notification: Performance of Transformations before backend: time 8.796e-06/0.3217, allocations: 4 kB / 0.5651 GB, free: 312 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006264/0.3223, allocations: 407.1 kB / 0.5655 GB, free: 15.87 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.3223, allocations: 8.031 kB / 0.5655 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.099e-05/0.3224, allocations: 4.125 kB / 0.5655 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.116e-05/0.3224, allocations: 42.73 kB / 0.5656 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.294e-05/0.3224, allocations: 16.84 kB / 0.5656 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002886/0.3227, allocations: 174.9 kB / 0.5657 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.622e-05/0.3227, allocations: 8.375 kB / 0.5658 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.342e-05/0.3228, allocations: 8.375 kB / 0.5658 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002517/0.323, allocations: 137.9 kB / 0.5659 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.323, allocations: 0 / 0.5659 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.359e-05/0.323, allocations: 3.984 kB / 0.5659 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.3231, allocations: 4 kB / 0.5659 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001627/0.3232, allocations: 55.91 kB / 0.566 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005857/0.3238, allocations: 480 kB / 0.5664 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003211/0.3241, allocations: 86.66 kB / 0.5665 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001002/0.3242, allocations: 40.83 kB / 0.5665 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.297e-05/0.3242, allocations: 7.938 kB / 0.5665 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002142/0.3244, allocations: 105 kB / 0.5666 GB, free: 14.57 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.472e-06/0.3245, allocations: 4 kB / 0.5666 GB, free: 14.57 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004104/0.3249, allocations: 145.5 kB / 0.5668 GB, free: 14.42 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.97e-05/0.3249, allocations: 59.34 kB / 0.5668 GB, free: 14.35 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002173/0.3251, allocations: 211.1 kB / 0.567 GB, free: 14.14 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.798e-05/0.3251, allocations: 25.7 kB / 0.5671 GB, free: 14.11 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.339e-05/0.3252, allocations: 116.1 kB / 0.5672 GB, free: 13.99 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.714e-05/0.3253, allocations: 31.73 kB / 0.5672 GB, free: 13.96 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.856e-05/0.3253, allocations: 25.72 kB / 0.5672 GB, free: 13.93 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.3254, allocations: 326.8 kB / 0.5675 GB, free: 13.6 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.121e-05/0.3255, allocations: 27.98 kB / 0.5676 GB, free: 13.57 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001195/0.3257, allocations: 71.64 kB / 0.5676 GB, free: 13.49 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001976/0.3259, allocations: 108.1 kB / 0.5677 GB, free: 13.37 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3259, allocations: 0 / 0.5677 GB, free: 13.37 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002825/0.3261, allocations: 133.8 kB / 0.5679 GB, free: 13.23 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.3262, allocations: 8.094 kB / 0.5679 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.3262, allocations: 7.922 kB / 0.5679 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.3262, allocations: 4.125 kB / 0.5679 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.876e-05/0.3263, allocations: 23.98 kB / 0.5679 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/0.3263, allocations: 11.88 kB / 0.5679 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.915e-05/0.3263, allocations: 15.89 kB / 0.5679 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.3264, allocations: 4 kB / 0.5679 GB, free: 13.16 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001153/0.3265, allocations: 131.1 kB / 0.5681 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.88e-05/0.3265, allocations: 15.91 kB / 0.5681 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000303/0.3268, allocations: 135 kB / 0.5682 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.3268, allocations: 4 kB / 0.5682 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.3268, allocations: 3.938 kB / 0.5682 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.3268, allocations: 0 / 0.5682 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001767/0.327, allocations: 176.7 kB / 0.5684 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.327, allocations: 0 / 0.5684 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.178e-05/0.3271, allocations: 16 kB / 0.5684 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.3271, allocations: 0 / 0.5684 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.289e-05/0.3271, allocations: 3.984 kB / 0.5684 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.3271, allocations: 0 / 0.5684 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/0.3271, allocations: 3.938 kB / 0.5684 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003907/0.3275, allocations: 192.9 kB / 0.5686 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.501e-05/0.3275, allocations: 19.86 kB / 0.5686 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.505e-05/0.3275, allocations: 8 kB / 0.5686 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.444e-05/0.3276, allocations: 8 kB / 0.5686 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.034e-05/0.3276, allocations: 15.86 kB / 0.5686 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.291e-05/0.3277, allocations: 0 / 0.5686 GB, free: 12.36 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001409/0.3278, allocations: 151.2 kB / 0.5688 GB, free: 12.21 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3278, allocations: 0 / 0.5688 GB, free: 12.21 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002227/0.328, allocations: 24 kB / 0.5688 GB, free: 12.19 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.002122/0.3301, allocations: 1.055 MB / 0.5698 GB, free: 11.25 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002437/0.3304, allocations: 79.89 kB / 0.5699 GB, free: 11.18 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.3304, allocations: 0 / 0.5699 GB, free: 11.18 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001103/0.3305, allocations: 35.92 kB / 0.5699 GB, free: 11.14 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002968/0.3308, allocations: 49.86 kB / 0.57 GB, free: 11.1 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002109/0.3329, allocations: 1.781 MB / 0.5717 GB, free: 9.207 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.519e-05/0.333, allocations: 105.8 kB / 0.5718 GB, free: 9.082 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.089e-05/0.3331, allocations: 17.42 kB / 0.5719 GB, free: 9.066 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.329e-05/0.3331, allocations: 39.42 kB / 0.5719 GB, free: 9.027 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3331, allocations: 4 kB / 0.5719 GB, free: 9.023 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02519/0.3583, allocations: 4.213 MB / 0.576 GB, free: 4.848 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.76/11.11, allocations: 8 kB / 0.576 GB, free: 4.84 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test10_fmu --startTime=0 --stopTime=2 --stepSize=0.00039976 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test10.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.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.077918336959556]