Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.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.001931/0.001931, allocations: 120.4 kB / 20.44 MB, free: 1.301 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.002369/0.002369, allocations: 212.8 kB / 23.74 MB, free: 4.539 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.456/1.456, allocations: 230.5 MB / 257.4 MB, free: 8.02 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.2269/0.2269, allocations: 46.92 MB / 360.8 MB, free: 4.281 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.Test41,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test41",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test41,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test41",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002378/0.002378, allocations: 75.88 kB / 0.4963 GB, free: 7.707 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3012/0.3036, allocations: 66.09 MB / 0.5608 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.003526/0.3071, allocations: 1.741 MB / 0.5625 GB, free: 2.52 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001868/0.309, allocations: 1.047 MB / 0.5635 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.074e-05/0.309, allocations: 7.875 kB / 0.5635 GB, free: 1.461 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003488/0.3094, allocations: 83.7 kB / 0.5636 GB, free: 1.379 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003772/0.3098, allocations: 119.6 kB / 0.5637 GB, free: 1.262 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000258/0.31, allocations: 79.67 kB / 0.5638 GB, free: 1.184 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002387/0.3103, allocations: 107.7 kB / 0.5639 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.3104, allocations: 9.828 kB / 0.5639 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001519/0.3105, allocations: 71.56 kB / 0.564 GB, free: 1 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001465/0.3107, allocations: 55.81 kB / 0.564 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.026e-05/0.3107, allocations: 4 kB / 0.564 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001375/0.3108, allocations: 47.98 kB / 0.5641 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.363e-05/0.3109, allocations: 23.91 kB / 0.5641 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.026e-05/0.311, allocations: 43.67 kB / 0.5642 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002511/0.3112, allocations: 127.4 kB / 0.5643 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3112, allocations: 0 / 0.5643 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.3112, allocations: 0 / 0.5643 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.214e-05/0.3112, allocations: 0 / 0.5643 GB, free: 0.7031 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.0005942/0.3118, allocations: 353.5 kB / 0.5646 GB, free: 336 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.3119, allocations: 12.03 kB / 0.5646 GB, free: 324 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.256e-05/0.3119, allocations: 34.73 kB / 0.5647 GB, free: 280 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.644e-05/0.3119, allocations: 12.84 kB / 0.5647 GB, free: 268 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003018/0.3122, allocations: 170.2 kB / 0.5648 GB, free: 72 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.454e-05/0.3123, allocations: 4.359 kB / 0.5648 GB, free: 68 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.098e-05/0.3123, allocations: 4.375 kB / 0.5648 GB, free: 64 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000182/0.3125, allocations: 61.94 kB / 0.5649 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.3125, allocations: 0 / 0.5649 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.3125, allocations: 4 kB / 0.5649 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.438e-06/0.3125, allocations: 4 kB / 0.5649 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.839e-05/0.3126, allocations: 19.98 kB / 0.5649 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000395/0.313, allocations: 264 kB / 0.5652 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001763/0.3132, allocations: 58.61 kB / 0.5652 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.55e-05/0.3132, allocations: 20.84 kB / 0.5652 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.145e-05/0.3132, allocations: 0 / 0.5652 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001728/0.3134, allocations: 71.39 kB / 0.5653 GB, free: 15.49 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.3134, allocations: 0 / 0.5653 GB, free: 15.49 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005674/0.314, allocations: 173.3 kB / 0.5655 GB, free: 15.32 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.36e-05/0.314, allocations: 51.41 kB / 0.5655 GB, free: 15.25 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002382/0.3143, allocations: 227.5 kB / 0.5657 GB, free: 15.01 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.969e-05/0.3143, allocations: 29.64 kB / 0.5658 GB, free: 14.98 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.31e-05/0.3143, allocations: 108.1 kB / 0.5659 GB, free: 14.87 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.204e-05/0.3144, allocations: 27.78 kB / 0.5659 GB, free: 14.84 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.64e-05/0.3144, allocations: 25.72 kB / 0.5659 GB, free: 14.81 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001679/0.3146, allocations: 330.8 kB / 0.5662 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.312e-05/0.3147, allocations: 20 kB / 0.5663 GB, free: 14.46 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.155e-05/0.3147, allocations: 41.58 kB / 0.5663 GB, free: 14.41 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001156/0.3148, allocations: 57.7 kB / 0.5664 GB, free: 14.35 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.3149, allocations: 0 / 0.5664 GB, free: 14.35 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002002/0.3151, allocations: 109.5 kB / 0.5665 GB, free: 14.23 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.3151, allocations: 4 kB / 0.5665 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.3151, allocations: 0 / 0.5665 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.3151, allocations: 3.984 kB / 0.5665 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.84e-05/0.3152, allocations: 16 kB / 0.5665 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.3152, allocations: 0 / 0.5665 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.376e-05/0.3152, allocations: 0 / 0.5665 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.076e-05/0.3152, allocations: 8 kB / 0.5665 GB, free: 14.2 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.0001246/0.3154, allocations: 139 kB / 0.5666 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.595e-05/0.3154, allocations: 15.94 kB / 0.5666 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002552/0.3156, allocations: 123.2 kB / 0.5668 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.3156, allocations: 0 / 0.5668 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.3156, allocations: 0 / 0.5668 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.3156, allocations: 0 / 0.5668 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004786/0.3161, allocations: 374.3 kB / 0.5671 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.3161, allocations: 384 / 0.5671 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.549e-05/0.3162, allocations: 8 kB / 0.5671 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.3162, allocations: 8.031 kB / 0.5671 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.3162, allocations: 8 kB / 0.5671 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/0.3162, allocations: 11.86 kB / 0.5672 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3162, allocations: 0 / 0.5672 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002537/0.3164, allocations: 196.3 kB / 0.5673 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.276e-05/0.3165, allocations: 11.95 kB / 0.5674 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.794e-05/0.3165, allocations: 8 kB / 0.5674 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.233e-05/0.3166, allocations: 7.875 kB / 0.5674 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.191e-05/0.3166, allocations: 7.984 kB / 0.5674 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.519e-05/0.3166, allocations: 4 kB / 0.5674 GB, free: 13.21 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001563/0.3168, allocations: 169.2 kB / 0.5675 GB, free: 13.04 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3168, allocations: 0 / 0.5675 GB, free: 13.04 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002784/0.3171, allocations: 27.89 kB / 0.5676 GB, free: 13.02 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.002425/0.3195, allocations: 1.086 MB / 0.5686 GB, free: 12.07 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002218/0.3197, allocations: 59.91 kB / 0.5687 GB, free: 12.01 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3197, allocations: 0 / 0.5687 GB, free: 12.01 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.855e-05/0.3198, allocations: 27.92 kB / 0.5687 GB, free: 11.98 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003801/0.3202, allocations: 38.78 kB / 0.5687 GB, free: 11.95 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00207/0.3222, allocations: 1.713 MB / 0.5704 GB, free: 10.15 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003898/0.3226, allocations: 0.7157 MB / 0.5711 GB, free: 9.406 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.568e-05/0.3227, allocations: 16.97 kB / 0.5711 GB, free: 9.387 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.475e-05/0.3228, allocations: 35.42 kB / 0.5712 GB, free: 9.352 MB / 414.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3228, allocations: 0 / 0.5712 GB, free: 9.352 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02836/0.3511, allocations: 3.737 MB / 0.5748 GB, free: 5.656 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/11.65, allocations: 0 / 0.5748 GB, free: 5.656 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test41_fmu --startTime=0 --stopTime=100 --stepSize=0.0197433 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test41.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.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.591245452873409]