Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.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.001348/0.001348, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.00155/0.00155, allocations: 206.4 kB / 23.73 MB, free: 4.391 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 / 257.4 MB, free: 7.75 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.2247/0.2247, allocations: 46.95 MB / 360.8 MB, free: 3.934 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.Test83,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test83",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test83,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test83",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002497/0.002497, allocations: 83.86 kB / 0.4962 GB, free: 7.504 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.333/0.3355, allocations: 66.08 MB / 0.5607 GB, free: 4.039 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.003571/0.3391, allocations: 1.932 MB / 0.5626 GB, free: 2.098 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002152/0.3413, allocations: 1.135 MB / 0.5637 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001284/0.3414, allocations: 0 / 0.5637 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007358/0.3421, allocations: 203.3 kB / 0.5639 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005831/0.3427, allocations: 211.2 kB / 0.5641 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004866/0.3432, allocations: 159.6 kB / 0.5643 GB, free: 404 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000408/0.3436, allocations: 271.2 kB / 0.5645 GB, free: 132 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001293/0.3437, allocations: 16.59 kB / 0.5646 GB, free: 112 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002147/0.3439, allocations: 119.5 kB / 0.5647 GB, free: 15.99 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002155/0.3442, allocations: 119.5 kB / 0.5648 GB, free: 15.88 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.304e-05/0.3442, allocations: 12 kB / 0.5648 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001677/0.3444, allocations: 59.95 kB / 0.5649 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001029/0.3445, allocations: 63.77 kB / 0.5649 GB, free: 15.74 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.865e-05/0.3446, allocations: 59.55 kB / 0.565 GB, free: 15.68 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004364/0.345, allocations: 256.7 kB / 0.5652 GB, free: 15.43 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.345, allocations: 4 kB / 0.5652 GB, free: 15.43 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.345, allocations: 0 / 0.5652 GB, free: 15.43 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.345, allocations: 0 / 0.5652 GB, free: 15.43 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0009642/0.346, allocations: 0.4906 MB / 0.5657 GB, free: 14.9 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.346, allocations: 8.031 kB / 0.5657 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.497e-05/0.3461, allocations: 34.73 kB / 0.5657 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.692e-05/0.3461, allocations: 24.8 kB / 0.5658 GB, free: 14.83 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004048/0.3465, allocations: 238.6 kB / 0.566 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.088e-05/0.3466, allocations: 8.312 kB / 0.566 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.807e-05/0.3466, allocations: 4.375 kB / 0.566 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002378/0.3468, allocations: 99.42 kB / 0.5661 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.3468, allocations: 4 kB / 0.5661 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.55e-05/0.3468, allocations: 4 kB / 0.5661 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.3469, allocations: 0 / 0.5661 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001421/0.347, allocations: 47.95 kB / 0.5662 GB, free: 14.4 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005476/0.3475, allocations: 336.6 kB / 0.5665 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003155/0.3479, allocations: 121.3 kB / 0.5666 GB, free: 13.89 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001026/0.348, allocations: 41.7 kB / 0.5666 GB, free: 13.84 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.917e-05/0.348, allocations: 7.922 kB / 0.5666 GB, free: 13.83 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002282/0.3482, allocations: 113.1 kB / 0.5667 GB, free: 13.7 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.343e-06/0.3482, allocations: 4 kB / 0.5667 GB, free: 13.7 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005084/0.3487, allocations: 189.9 kB / 0.5669 GB, free: 13.51 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.722e-05/0.3488, allocations: 81.11 kB / 0.567 GB, free: 13.41 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004688/0.3493, allocations: 364.5 kB / 0.5674 GB, free: 13.04 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.004e-05/0.3493, allocations: 29.7 kB / 0.5674 GB, free: 13.01 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001307/0.3494, allocations: 136.1 kB / 0.5675 GB, free: 12.87 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.232e-05/0.3495, allocations: 31.75 kB / 0.5675 GB, free: 12.84 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.246e-05/0.3495, allocations: 33.7 kB / 0.5676 GB, free: 12.8 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001908/0.3497, allocations: 342.8 kB / 0.5679 GB, free: 12.46 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001023/0.3498, allocations: 36.03 kB / 0.5679 GB, free: 12.42 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001581/0.35, allocations: 105.9 kB / 0.568 GB, free: 12.3 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002214/0.3502, allocations: 99.44 kB / 0.5681 GB, free: 12.19 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.3502, allocations: 3.938 kB / 0.5681 GB, free: 12.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003249/0.3505, allocations: 153.5 kB / 0.5683 GB, free: 12.03 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.3505, allocations: 4 kB / 0.5683 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.3505, allocations: 0 / 0.5683 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/0.3506, allocations: 7.938 kB / 0.5683 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001171/0.3507, allocations: 20.05 kB / 0.5683 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/0.3507, allocations: 11.94 kB / 0.5683 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.698e-05/0.3508, allocations: 15.88 kB / 0.5683 GB, free: 11.97 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.465e-05/0.3508, allocations: 8 kB / 0.5683 GB, free: 11.96 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: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition1,booleanTable.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001478/0.3509, allocations: 151.1 kB / 0.5685 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.346e-05/0.351, allocations: 27.81 kB / 0.5685 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003916/0.3514, allocations: 187.6 kB / 0.5687 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.012e-06/0.3514, allocations: 4 kB / 0.5687 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.3514, allocations: 0 / 0.5687 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.3514, allocations: 4 kB / 0.5687 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002597/0.3517, allocations: 212.6 kB / 0.5689 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.3517, allocations: 0 / 0.5689 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.005e-05/0.3517, allocations: 11.98 kB / 0.5689 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.124e-06/0.3517, allocations: 4 kB / 0.5689 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/0.3517, allocations: 0 / 0.5689 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.3517, allocations: 3.938 kB / 0.5689 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.3517, allocations: 4 kB / 0.5689 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003573/0.3521, allocations: 205.1 kB / 0.5691 GB, free: 11.08 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.732e-05/0.3521, allocations: 27.78 kB / 0.5692 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.091e-05/0.3522, allocations: 12 kB / 0.5692 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.495e-05/0.3523, allocations: 4 kB / 0.5692 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.695e-05/0.3523, allocations: 15.97 kB / 0.5692 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.758e-05/0.3523, allocations: 4 kB / 0.5692 GB, free: 11.02 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003153/0.3526, allocations: 267 kB / 0.5694 GB, free: 10.76 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3526, allocations: 0 / 0.5694 GB, free: 10.76 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002617/0.3529, allocations: 35.94 kB / 0.5695 GB, free: 10.72 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled,$whenCondition1,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 4 (booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * 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.00221/0.3551, allocations: 1.066 MB / 0.5705 GB, free: 9.781 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002976/0.3554, allocations: 103.9 kB / 0.5706 GB, free: 9.68 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3554, allocations: 0 / 0.5706 GB, free: 9.68 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00013/0.3555, allocations: 51.92 kB / 0.5707 GB, free: 9.629 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000398/0.3559, allocations: 76.44 kB / 0.5707 GB, free: 9.555 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003187/0.3591, allocations: 2.354 MB / 0.573 GB, free: 7.09 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001363/0.3593, allocations: 141 kB / 0.5732 GB, free: 6.934 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001337/0.3594, allocations: 37.92 kB / 0.5732 GB, free: 6.895 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001248/0.3595, allocations: 79.41 kB / 0.5733 GB, free: 6.82 MB / 414.1 MB Notification: Performance of SimCode: time 1.052e-06/0.3595, allocations: 0 / 0.5733 GB, free: 6.82 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03483/0.3944, allocations: 6.621 MB / 0.5797 GB, free: 244 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/11.65, allocations: 12.06 kB / 0.5798 GB, free: 236 kB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test83_fmu --startTime=1 --stopTime=3 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test83.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test83/Test83.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.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.566235817037523]