Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.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.001904/0.001904, allocations: 112.5 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.002275/0.002275, allocations: 212.1 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.466/1.466, allocations: 230.5 MB / 257.4 MB, free: 7.988 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.2275/0.2275, allocations: 46.92 MB / 360.8 MB, free: 4.18 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.Test42,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test42",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test42,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test42",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002529/0.002529, allocations: 83.84 kB / 0.4963 GB, free: 7.68 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.308/0.3105, allocations: 66.08 MB / 0.5608 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.003309/0.3138, allocations: 1.729 MB / 0.5625 GB, free: 2.531 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001902/0.3157, allocations: 1.057 MB / 0.5635 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.458e-05/0.3158, allocations: 0 / 0.5635 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002905/0.3161, allocations: 39.77 kB / 0.5636 GB, free: 1.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003539/0.3165, allocations: 103.5 kB / 0.5637 GB, free: 1.328 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002516/0.3167, allocations: 79.67 kB / 0.5637 GB, free: 1.25 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002068/0.3169, allocations: 107.7 kB / 0.5638 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.206e-05/0.317, allocations: 5.828 kB / 0.5638 GB, free: 1.141 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001113/0.3171, allocations: 55.72 kB / 0.5639 GB, free: 1.086 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.635e-05/0.3172, allocations: 35.78 kB / 0.5639 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.686e-05/0.3172, allocations: 4 kB / 0.5639 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001039/0.3173, allocations: 43.92 kB / 0.564 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.301e-05/0.3174, allocations: 19.92 kB / 0.564 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.485e-05/0.3174, allocations: 39.73 kB / 0.564 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000226/0.3177, allocations: 127.4 kB / 0.5642 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.3177, allocations: 4 kB / 0.5642 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.163e-06/0.3177, allocations: 0 / 0.5642 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.641e-06/0.3177, allocations: 0 / 0.5642 GB, free: 0.8164 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.0005348/0.3182, allocations: 349.5 kB / 0.5645 GB, free: 456 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.3183, allocations: 8.031 kB / 0.5645 GB, free: 448 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.163e-05/0.3183, allocations: 34.75 kB / 0.5645 GB, free: 404 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.982e-05/0.3183, allocations: 16.83 kB / 0.5646 GB, free: 388 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002845/0.3186, allocations: 158.3 kB / 0.5647 GB, free: 204 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/0.3186, allocations: 12.31 kB / 0.5647 GB, free: 192 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.79e-05/0.3187, allocations: 4.375 kB / 0.5647 GB, free: 188 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000161/0.3188, allocations: 61.78 kB / 0.5648 GB, free: 120 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.3188, allocations: 0 / 0.5648 GB, free: 120 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.3188, allocations: 3.984 kB / 0.5648 GB, free: 116 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.3188, allocations: 0 / 0.5648 GB, free: 116 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.075e-05/0.3189, allocations: 23.98 kB / 0.5648 GB, free: 92 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004098/0.3193, allocations: 263.9 kB / 0.5651 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001712/0.3195, allocations: 54.69 kB / 0.5651 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.621e-05/0.3196, allocations: 20.84 kB / 0.5651 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.703e-05/0.3196, allocations: 0 / 0.5651 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001751/0.3198, allocations: 71.33 kB / 0.5652 GB, free: 15.62 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.352e-06/0.3198, allocations: 4 kB / 0.5652 GB, free: 15.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005652/0.3203, allocations: 177.3 kB / 0.5654 GB, free: 15.44 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.641e-05/0.3204, allocations: 51.41 kB / 0.5654 GB, free: 15.38 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002177/0.3206, allocations: 214.2 kB / 0.5656 GB, free: 15.15 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.311e-05/0.3206, allocations: 33.69 kB / 0.5657 GB, free: 15.11 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.857e-05/0.3207, allocations: 104.1 kB / 0.5658 GB, free: 15.01 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.21e-05/0.3207, allocations: 23.78 kB / 0.5658 GB, free: 14.98 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.428e-05/0.3208, allocations: 25.72 kB / 0.5658 GB, free: 14.95 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.3209, allocations: 330.8 kB / 0.5661 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.222e-05/0.3209, allocations: 23.98 kB / 0.5661 GB, free: 14.6 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.264e-05/0.321, allocations: 37.64 kB / 0.5662 GB, free: 14.55 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001244/0.3211, allocations: 65.62 kB / 0.5662 GB, free: 14.48 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.3211, allocations: 0 / 0.5662 GB, free: 14.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001935/0.3213, allocations: 101.6 kB / 0.5663 GB, free: 14.38 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.3214, allocations: 8 kB / 0.5663 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.3214, allocations: 0 / 0.5663 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.3214, allocations: 0 / 0.5663 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.396e-05/0.3215, allocations: 19.92 kB / 0.5664 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.3215, allocations: 4 kB / 0.5664 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.43e-05/0.3215, allocations: 0 / 0.5664 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.076e-05/0.3215, allocations: 7.938 kB / 0.5664 GB, free: 14.34 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.0001093/0.3216, allocations: 125.8 kB / 0.5665 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.833e-05/0.3217, allocations: 19.94 kB / 0.5665 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002416/0.3219, allocations: 115 kB / 0.5666 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/0.3219, allocations: 7.938 kB / 0.5666 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.3219, allocations: 0 / 0.5666 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.3219, allocations: 0 / 0.5666 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004669/0.3224, allocations: 370.3 kB / 0.567 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.3224, allocations: 384 / 0.567 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.583e-05/0.3224, allocations: 8 kB / 0.567 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.3224, allocations: 4.031 kB / 0.567 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.264e-05/0.3224, allocations: 11.94 kB / 0.567 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.3224, allocations: 320 / 0.567 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3224, allocations: 0 / 0.567 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002399/0.3227, allocations: 212.2 kB / 0.5672 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.985e-05/0.3227, allocations: 11.94 kB / 0.5672 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.505e-05/0.3227, allocations: 7.938 kB / 0.5672 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.205e-05/0.3228, allocations: 8 kB / 0.5672 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.137e-05/0.3228, allocations: 7.984 kB / 0.5672 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.61e-05/0.3228, allocations: 4 kB / 0.5672 GB, free: 13.35 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001333/0.323, allocations: 152.3 kB / 0.5674 GB, free: 13.2 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.323, allocations: 0 / 0.5674 GB, free: 13.2 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002643/0.3232, 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.002131/0.3254, allocations: 1.091 MB / 0.5685 GB, free: 12.23 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001747/0.3256, allocations: 51.98 kB / 0.5685 GB, free: 12.18 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.3256, allocations: 0 / 0.5685 GB, free: 12.18 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.319e-05/0.3256, allocations: 27.92 kB / 0.5686 GB, free: 12.15 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003704/0.326, allocations: 27.97 kB / 0.5686 GB, free: 12.12 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001946/0.3279, allocations: 1.694 MB / 0.5702 GB, free: 10.34 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003436/0.3283, allocations: 0.708 MB / 0.5709 GB, free: 9.602 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.799e-05/0.3283, allocations: 28.5 kB / 0.571 GB, free: 9.574 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.187e-05/0.3284, allocations: 35.42 kB / 0.571 GB, free: 9.539 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3284, allocations: 0 / 0.571 GB, free: 9.539 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02849/0.3569, allocations: 3.689 MB / 0.5746 GB, free: 5.895 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.55, allocations: 3.938 kB / 0.5746 GB, free: 5.891 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test42_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498604 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test42.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test42/Test42.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.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.576032149139792]