Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.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.001388/0.001388, 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.001871/0.001871, 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.499/1.499, allocations: 230.5 MB / 257.4 MB, free: 7.773 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.2317/0.2317, allocations: 46.95 MB / 360.8 MB, free: 3.91 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.Test72,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test72",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test72,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test72",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002404/0.002404, allocations: 79.88 kB / 0.4962 GB, free: 7.469 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3374/0.3398, allocations: 66.08 MB / 0.5607 GB, free: 3.996 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.003488/0.3433, allocations: 1.79 MB / 0.5625 GB, free: 2.195 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002098/0.3454, allocations: 1.045 MB / 0.5635 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000102/0.3455, allocations: 0 / 0.5635 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005917/0.3461, allocations: 307.3 kB / 0.5638 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005328/0.3466, allocations: 267.1 kB / 0.5641 GB, free: 0.582 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002346/0.3469, allocations: 107.6 kB / 0.5642 GB, free: 488 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004027/0.3473, allocations: 271.3 kB / 0.5644 GB, free: 216 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.3474, allocations: 5.812 kB / 0.5644 GB, free: 208 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001695/0.3476, allocations: 131.5 kB / 0.5645 GB, free: 76 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003017/0.3479, allocations: 219.3 kB / 0.5648 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.644e-05/0.3479, allocations: 8 kB / 0.5648 GB, free: 15.85 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001161/0.348, allocations: 47.98 kB / 0.5648 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001786/0.3482, allocations: 143.6 kB / 0.5649 GB, free: 15.66 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001414/0.3483, allocations: 115 kB / 0.5651 GB, free: 15.55 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004751/0.3488, allocations: 384 kB / 0.5654 GB, free: 15.18 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.299e-06/0.3488, allocations: 0 / 0.5654 GB, free: 15.18 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3488, allocations: 0 / 0.5654 GB, free: 15.18 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.693e-06/0.3488, allocations: 4 kB / 0.5654 GB, free: 15.17 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001218/0.35, allocations: 0.6864 MB / 0.5661 GB, free: 14.45 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.3501, allocations: 8.031 kB / 0.5661 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.833e-05/0.3501, allocations: 34.75 kB / 0.5661 GB, free: 14.4 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.561e-05/0.3502, allocations: 48.61 kB / 0.5662 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006217/0.3508, allocations: 398.5 kB / 0.5666 GB, free: 13.94 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/0.3508, allocations: 4.375 kB / 0.5666 GB, free: 13.94 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.928e-05/0.3508, allocations: 4.375 kB / 0.5666 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002044/0.351, allocations: 87.48 kB / 0.5667 GB, free: 13.84 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.3511, allocations: 8 kB / 0.5667 GB, free: 13.83 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.3511, allocations: 0 / 0.5667 GB, free: 13.83 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.708e-06/0.3511, allocations: 4 kB / 0.5667 GB, free: 13.82 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000115/0.3512, allocations: 35.91 kB / 0.5667 GB, free: 13.79 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004907/0.3517, allocations: 341.4 kB / 0.567 GB, free: 13.41 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002948/0.352, allocations: 109.2 kB / 0.5671 GB, free: 13.29 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001155/0.3521, allocations: 45.69 kB / 0.5672 GB, free: 13.23 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.578e-05/0.3521, allocations: 0 / 0.5672 GB, free: 13.23 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002329/0.3523, allocations: 109 kB / 0.5673 GB, free: 13.11 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.142e-06/0.3523, allocations: 3.938 kB / 0.5673 GB, free: 13.11 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005138/0.3529, allocations: 209.2 kB / 0.5675 GB, free: 12.89 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.788e-05/0.3529, allocations: 81.05 kB / 0.5676 GB, free: 12.8 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001239/0.3542, allocations: 1.062 MB / 0.5686 GB, free: 11.72 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.243e-05/0.3542, allocations: 29.7 kB / 0.5686 GB, free: 11.69 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002095/0.3544, allocations: 236.1 kB / 0.5689 GB, free: 11.45 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.594e-05/0.3545, allocations: 39.78 kB / 0.5689 GB, free: 11.41 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.894e-05/0.3545, allocations: 25.72 kB / 0.5689 GB, free: 11.38 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002049/0.3547, allocations: 370.8 kB / 0.5693 GB, free: 11.01 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000158/0.3549, allocations: 35.97 kB / 0.5693 GB, free: 10.98 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001227/0.355, allocations: 59.36 kB / 0.5694 GB, free: 10.91 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001933/0.3552, allocations: 91.34 kB / 0.5694 GB, free: 10.8 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.98e-06/0.3552, allocations: 4 kB / 0.5694 GB, free: 10.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003297/0.3555, allocations: 185.8 kB / 0.5696 GB, free: 10.61 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.3555, allocations: 5.875 kB / 0.5696 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.3555, allocations: 4 kB / 0.5696 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.3556, allocations: 4 kB / 0.5696 GB, free: 10.6 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001186/0.3557, allocations: 23.92 kB / 0.5697 GB, free: 10.58 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.3557, allocations: 4 kB / 0.5697 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.224e-05/0.3558, allocations: 7.938 kB / 0.5697 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.395e-05/0.3558, allocations: 8 kB / 0.5697 GB, free: 10.56 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.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * 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.0002456/0.356, allocations: 222.7 kB / 0.5699 GB, free: 10.33 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.934e-05/0.3561, allocations: 59.56 kB / 0.57 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004057/0.3565, allocations: 205.8 kB / 0.5701 GB, free: 10.06 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.3565, allocations: 0 / 0.5701 GB, free: 10.06 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.3565, allocations: 4 kB / 0.5702 GB, free: 10.06 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.3565, allocations: 0 / 0.5702 GB, free: 10.06 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003397/0.3569, allocations: 288.6 kB / 0.5704 GB, free: 9.734 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.3569, allocations: 3.938 kB / 0.5704 GB, free: 9.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.991e-05/0.357, allocations: 11.94 kB / 0.5704 GB, free: 9.719 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.278e-05/0.357, allocations: 4 kB / 0.5704 GB, free: 9.715 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.141e-05/0.357, allocations: 11.98 kB / 0.5705 GB, free: 9.703 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.439e-06/0.357, allocations: 0 / 0.5705 GB, free: 9.703 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.213e-06/0.357, allocations: 4 kB / 0.5705 GB, free: 9.699 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003774/0.3574, allocations: 217.5 kB / 0.5707 GB, free: 9.465 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001476/0.3576, allocations: 67.55 kB / 0.5707 GB, free: 9.398 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.714e-05/0.3576, allocations: 7.984 kB / 0.5707 GB, free: 9.391 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.789e-05/0.3577, allocations: 4 kB / 0.5707 GB, free: 9.387 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.714e-05/0.3577, allocations: 15.92 kB / 0.5708 GB, free: 9.371 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.331e-05/0.3578, allocations: 12.11 kB / 0.5708 GB, free: 9.359 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008879/0.3587, allocations: 0.7878 MB / 0.5715 GB, free: 8.574 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3587, allocations: 4 kB / 0.5715 GB, free: 8.57 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002634/0.3589, allocations: 40 kB / 0.5716 GB, free: 8.531 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.002271/0.3612, allocations: 1.095 MB / 0.5727 GB, free: 7.555 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003446/0.3615, allocations: 87.77 kB / 0.5727 GB, free: 7.469 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.3615, allocations: 0 / 0.5727 GB, free: 7.469 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001106/0.3616, allocations: 39.98 kB / 0.5728 GB, free: 7.43 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004034/0.362, allocations: 77.58 kB / 0.5728 GB, free: 7.355 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005934/0.368, allocations: 4.586 MB / 0.5773 GB, free: 2.656 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000271/0.3683, allocations: 245.7 kB / 0.5776 GB, free: 2.395 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000125/0.3684, allocations: 62.94 kB / 0.5776 GB, free: 2.332 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002053/0.3686, allocations: 147.4 kB / 0.5778 GB, free: 2.191 MB / 414.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3686, allocations: 0 / 0.5778 GB, free: 2.191 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03984/0.4084, allocations: 10.01 MB / 0.5875 GB, free: 8.219 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.6, allocations: 3.438 kB / 0.5875 GB, free: 8.219 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test72_fmu --startTime=0 --stopTime=8000 --stepSize=1.56986 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test72.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.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.682755501009524]