Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.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.001356/0.001356, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001762/0.001762, allocations: 214.6 kB / 23.73 MB, free: 4.164 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.463/1.463, allocations: 230.5 MB / 257.4 MB, free: 7.785 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.2384/0.2384, allocations: 46.95 MB / 360.8 MB, free: 4.016 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.Test75,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test75",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test75,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test75",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002347/0.002347, allocations: 87.86 kB / 0.4962 GB, free: 7.48 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.344/0.3463, allocations: 66.08 MB / 0.5608 GB, free: 4.02 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.003428/0.3498, allocations: 1.87 MB / 0.5626 GB, free: 2.137 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001955/0.3517, allocations: 1.071 MB / 0.5636 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.652e-05/0.3518, allocations: 8 kB / 0.5636 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004496/0.3523, allocations: 227.3 kB / 0.5639 GB, free: 0.832 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004591/0.3527, allocations: 215.2 kB / 0.5641 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002564/0.353, allocations: 119.6 kB / 0.5642 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003273/0.3533, allocations: 263.2 kB / 0.5644 GB, free: 252 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.3534, allocations: 15.8 kB / 0.5644 GB, free: 236 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001814/0.3536, allocations: 135.4 kB / 0.5646 GB, free: 100 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000238/0.3538, allocations: 167.4 kB / 0.5647 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.19e-05/0.3539, allocations: 8 kB / 0.5647 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001467/0.354, allocations: 63.98 kB / 0.5648 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001012/0.3541, allocations: 67.69 kB / 0.5649 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.941e-05/0.3542, allocations: 59.48 kB / 0.5649 GB, free: 15.74 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004121/0.3546, allocations: 254.7 kB / 0.5652 GB, free: 15.49 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.3546, allocations: 0 / 0.5652 GB, free: 15.49 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3546, allocations: 0 / 0.5652 GB, free: 15.49 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.794e-06/0.3546, allocations: 4 kB / 0.5652 GB, free: 15.48 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.0008573/0.3555, allocations: 0.5003 MB / 0.5657 GB, free: 14.95 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.3555, allocations: 12.03 kB / 0.5657 GB, free: 14.94 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.861e-05/0.3556, allocations: 34.75 kB / 0.5657 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.62e-05/0.3557, allocations: 28.75 kB / 0.5657 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004865/0.3561, allocations: 226.4 kB / 0.5659 GB, free: 14.63 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.193e-05/0.3562, allocations: 8.375 kB / 0.566 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.137e-05/0.3562, allocations: 8.375 kB / 0.566 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002913/0.3565, allocations: 119.3 kB / 0.5661 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.613e-05/0.3565, allocations: 4 kB / 0.5661 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.849e-05/0.3565, allocations: 8 kB / 0.5661 GB, free: 14.47 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.3565, allocations: 0 / 0.5661 GB, free: 14.47 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001473/0.3567, allocations: 51.89 kB / 0.5661 GB, free: 14.42 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007152/0.3574, allocations: 435.9 kB / 0.5666 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004017/0.3578, allocations: 121.2 kB / 0.5667 GB, free: 13.81 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001069/0.3579, allocations: 41.83 kB / 0.5667 GB, free: 13.77 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.373e-05/0.3579, allocations: 4 kB / 0.5667 GB, free: 13.76 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002767/0.3582, allocations: 125 kB / 0.5668 GB, free: 13.62 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.653e-06/0.3582, allocations: 0 / 0.5668 GB, free: 13.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001446/0.3596, allocations: 0.5279 MB / 0.5673 GB, free: 13.09 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.645e-05/0.3597, allocations: 81.11 kB / 0.5674 GB, free: 12.99 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005137/0.3602, allocations: 456.5 kB / 0.5679 GB, free: 12.53 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.92e-05/0.3603, allocations: 37.7 kB / 0.5679 GB, free: 12.48 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001351/0.3604, allocations: 160.5 kB / 0.568 GB, free: 12.32 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.969e-05/0.3605, allocations: 71.42 kB / 0.5681 GB, free: 12.25 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.438e-05/0.3605, allocations: 41.7 kB / 0.5682 GB, free: 12.2 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001774/0.3607, allocations: 354.7 kB / 0.5685 GB, free: 11.85 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001269/0.3608, allocations: 51.98 kB / 0.5685 GB, free: 11.8 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002157/0.3611, allocations: 99.33 kB / 0.5686 GB, free: 11.69 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002934/0.3613, allocations: 159.3 kB / 0.5688 GB, free: 11.52 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.3613, allocations: 4 kB / 0.5688 GB, free: 11.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004461/0.3618, allocations: 233.3 kB / 0.569 GB, free: 11.28 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.3618, allocations: 8 kB / 0.569 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.3618, allocations: 7.875 kB / 0.569 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.929e-05/0.3618, allocations: 0 / 0.569 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001495/0.362, allocations: 47.92 kB / 0.5691 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.759e-06/0.362, allocations: 5.172 kB / 0.5691 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.761e-05/0.3621, allocations: 15.94 kB / 0.5691 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.585e-05/0.3621, allocations: 8 kB / 0.5691 GB, free: 11.19 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.0001858/0.3623, allocations: 173.7 kB / 0.5693 GB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.027e-05/0.3623, allocations: 31.81 kB / 0.5693 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005652/0.3629, allocations: 292.5 kB / 0.5696 GB, free: 10.69 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.3629, allocations: 0 / 0.5696 GB, free: 10.69 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.3629, allocations: 4 kB / 0.5696 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.3629, allocations: 0 / 0.5696 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001053/0.364, allocations: 0.7185 MB / 0.5703 GB, free: 9.902 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.364, allocations: 0 / 0.5703 GB, free: 9.902 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001023/0.3641, allocations: 31.98 kB / 0.5703 GB, free: 9.871 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.3641, allocations: 0 / 0.5703 GB, free: 9.871 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.939e-05/0.3641, allocations: 8 kB / 0.5703 GB, free: 9.863 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.562e-06/0.3641, allocations: 7.984 kB / 0.5703 GB, free: 9.855 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.3641, allocations: 3.938 kB / 0.5703 GB, free: 9.852 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005506/0.3647, allocations: 437.8 kB / 0.5708 GB, free: 9.395 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.963e-05/0.3647, allocations: 31.77 kB / 0.5708 GB, free: 9.363 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.117e-05/0.3648, allocations: 12.09 kB / 0.5708 GB, free: 9.352 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000144/0.3649, allocations: 11.98 kB / 0.5708 GB, free: 9.34 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.988e-05/0.365, allocations: 27.84 kB / 0.5708 GB, free: 9.312 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.563e-05/0.365, allocations: 12 kB / 0.5708 GB, free: 9.301 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003788/0.3654, allocations: 335 kB / 0.5712 GB, free: 8.973 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3654, allocations: 192 / 0.5712 GB, free: 8.973 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003636/0.3657, allocations: 55.92 kB / 0.5712 GB, free: 8.918 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.002783/0.3685, allocations: 1.415 MB / 0.5726 GB, free: 7.668 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003887/0.3689, allocations: 156.2 kB / 0.5727 GB, free: 7.516 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3689, allocations: 7.938 kB / 0.5728 GB, free: 7.508 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001581/0.3691, allocations: 71.91 kB / 0.5728 GB, free: 7.438 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005776/0.3696, allocations: 72.92 kB / 0.5729 GB, free: 7.367 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003761/0.3734, allocations: 2.916 MB / 0.5757 GB, free: 4.328 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001922/0.3736, allocations: 172.9 kB / 0.5759 GB, free: 4.137 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001152/0.3737, allocations: 45.92 kB / 0.5759 GB, free: 4.094 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001559/0.3739, allocations: 99.39 kB / 0.576 GB, free: 3.996 MB / 414.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3739, allocations: 0 / 0.576 GB, free: 3.996 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03456/0.4084, allocations: 7.252 MB / 0.5831 GB, free: 12.79 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.06/11.47, allocations: 7.031 kB / 0.5831 GB, free: 12.79 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test75_fmu --startTime=7.99 --stopTime=20 --stepSize=0.00240104 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test75.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.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.453729548957199]