Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.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.00137/0.00137, allocations: 110 kB / 20.43 MB, free: 1.453 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.001422/0.001422, allocations: 212.2 kB / 23.74 MB, free: 4.66 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.464/1.464, allocations: 230.5 MB / 257.4 MB, free: 7.98 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.2331/0.2331, allocations: 46.93 MB / 360.8 MB, free: 4.164 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.Test25,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test25",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test25,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test25",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002341/0.002341, allocations: 79.88 kB / 0.4963 GB, free: 7.672 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3225/0.3249, allocations: 66.08 MB / 0.5608 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test25): time 0.003127/0.328, allocations: 1.741 MB / 0.5625 GB, free: 2.523 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001711/0.3297, allocations: 1.041 MB / 0.5635 GB, free: 1.477 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.611e-05/0.3298, allocations: 7.875 kB / 0.5635 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002648/0.3301, allocations: 43.77 kB / 0.5636 GB, free: 1.426 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002919/0.3303, allocations: 103.6 kB / 0.5637 GB, free: 1.324 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002062/0.3306, allocations: 79.67 kB / 0.5637 GB, free: 1.246 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001744/0.3307, allocations: 103.7 kB / 0.5638 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.725e-05/0.3308, allocations: 9.812 kB / 0.5638 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000143/0.331, allocations: 47.72 kB / 0.5639 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.873e-05/0.331, allocations: 31.86 kB / 0.5639 GB, free: 1.059 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.555e-05/0.331, allocations: 4 kB / 0.5639 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.38e-05/0.3311, allocations: 43.97 kB / 0.564 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.518e-05/0.3312, allocations: 19.92 kB / 0.564 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.042e-05/0.3312, allocations: 43.69 kB / 0.564 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002097/0.3315, allocations: 127.4 kB / 0.5642 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.3315, allocations: 0 / 0.5642 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.3315, allocations: 0 / 0.5642 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.888e-06/0.3315, allocations: 0 / 0.5642 GB, free: 0.8242 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005111/0.332, allocations: 353.5 kB / 0.5645 GB, free: 460 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.332, allocations: 12.03 kB / 0.5645 GB, free: 448 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.809e-05/0.3321, allocations: 30.75 kB / 0.5645 GB, free: 408 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.656e-05/0.3321, allocations: 12.89 kB / 0.5645 GB, free: 396 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002502/0.3323, allocations: 170.2 kB / 0.5647 GB, free: 200 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.038e-05/0.3324, allocations: 4.375 kB / 0.5647 GB, free: 196 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.011e-05/0.3324, allocations: 4.375 kB / 0.5647 GB, free: 192 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001372/0.3325, allocations: 53.8 kB / 0.5648 GB, free: 132 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.3325, allocations: 0 / 0.5648 GB, free: 132 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.296e-05/0.3325, allocations: 11.98 kB / 0.5648 GB, free: 120 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.3325, allocations: 4 kB / 0.5648 GB, free: 116 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.968e-05/0.3326, allocations: 12 kB / 0.5648 GB, free: 104 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003715/0.333, allocations: 271.9 kB / 0.5651 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001729/0.3332, allocations: 58.62 kB / 0.5651 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.218e-05/0.3332, allocations: 20.84 kB / 0.5651 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.75e-05/0.3332, allocations: 0 / 0.5651 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001418/0.3334, allocations: 67.39 kB / 0.5652 GB, free: 15.62 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.352e-06/0.3334, allocations: 0 / 0.5652 GB, free: 15.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005491/0.3339, allocations: 181.3 kB / 0.5654 GB, free: 15.44 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.892e-05/0.334, allocations: 51.41 kB / 0.5654 GB, free: 15.38 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002203/0.3342, allocations: 210.2 kB / 0.5656 GB, free: 15.16 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.318e-05/0.3342, allocations: 33.7 kB / 0.5656 GB, free: 15.12 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.676e-05/0.3343, allocations: 104.1 kB / 0.5657 GB, free: 15.02 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.108e-05/0.3343, allocations: 31.72 kB / 0.5658 GB, free: 14.98 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.332e-05/0.3344, allocations: 29.72 kB / 0.5658 GB, free: 14.95 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.3345, allocations: 326.8 kB / 0.5661 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.097e-05/0.3346, allocations: 23.92 kB / 0.5661 GB, free: 14.6 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.198e-05/0.3346, allocations: 37.7 kB / 0.5662 GB, free: 14.55 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001141/0.3347, allocations: 53.7 kB / 0.5662 GB, free: 14.5 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.3347, allocations: 0 / 0.5662 GB, free: 14.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002023/0.3349, allocations: 113.5 kB / 0.5663 GB, free: 14.38 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.335, allocations: 6.344 kB / 0.5663 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.335, allocations: 0 / 0.5663 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.335, allocations: 4 kB / 0.5663 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.288e-05/0.3351, allocations: 15.98 kB / 0.5664 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.3351, allocations: 3.938 kB / 0.5664 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.595e-05/0.3351, allocations: 4 kB / 0.5664 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/0.3351, allocations: 0 / 0.5664 GB, free: 14.35 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001155/0.3352, allocations: 143 kB / 0.5665 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.471e-05/0.3353, allocations: 11.91 kB / 0.5665 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002591/0.3355, allocations: 119.2 kB / 0.5666 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.3355, allocations: 0 / 0.5666 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.3355, allocations: 0 / 0.5666 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.3355, allocations: 3.938 kB / 0.5666 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004438/0.336, allocations: 362.4 kB / 0.567 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.888e-06/0.336, allocations: 4.406 kB / 0.567 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.396e-05/0.336, allocations: 15.92 kB / 0.567 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.113e-06/0.336, allocations: 8 kB / 0.567 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.336, allocations: 0 / 0.567 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.336, allocations: 3.938 kB / 0.567 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.336, allocations: 4 kB / 0.567 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002391/0.3363, allocations: 200.3 kB / 0.5672 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.327e-05/0.3363, allocations: 11.95 kB / 0.5672 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.29e-05/0.3363, allocations: 3.984 kB / 0.5672 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.473e-05/0.3364, allocations: 11.94 kB / 0.5672 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.169e-05/0.3364, allocations: 7.922 kB / 0.5672 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-05/0.3364, allocations: 7.984 kB / 0.5672 GB, free: 13.36 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001336/0.3366, allocations: 156.3 kB / 0.5674 GB, free: 13.2 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3366, allocations: 0 / 0.5674 GB, free: 13.2 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002522/0.3368, allocations: 23.94 kB / 0.5674 GB, free: 13.18 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: 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 (8): * Single equations (assignments): 6 * 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.002085/0.3389, allocations: 1.088 MB / 0.5685 GB, free: 12.23 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001817/0.3391, allocations: 59.84 kB / 0.5685 GB, free: 12.17 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3391, allocations: 0 / 0.5685 GB, free: 12.17 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.164e-05/0.3392, allocations: 27.92 kB / 0.5686 GB, free: 12.14 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003515/0.3395, allocations: 42.03 kB / 0.5686 GB, free: 12.11 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00185/0.3414, allocations: 1.692 MB / 0.5703 GB, free: 10.32 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003343/0.3417, allocations: 0.708 MB / 0.5709 GB, free: 9.59 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.832e-05/0.3418, allocations: 16.58 kB / 0.571 GB, free: 9.574 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.624e-05/0.3418, allocations: 35.42 kB / 0.571 GB, free: 9.539 MB / 414.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3418, allocations: 4 kB / 0.571 GB, free: 9.535 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02743/0.3693, allocations: 3.676 MB / 0.5746 GB, free: 5.898 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.52, allocations: 4.062 kB / 0.5746 GB, free: 5.895 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test25_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test25.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test25/Test25.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.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.56233006902039]