Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001314/0.001314, allocations: 105.1 kB / 21.22 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001534/0.001534, allocations: 214 kB / 24.52 MB, free: 3.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.521/1.521, allocations: 230.6 MB / 258.3 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2491/0.2491, allocations: 46.96 MB / 361.7 MB, free: 4.066 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test3,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test3",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test3,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test3",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001978/0.001978, allocations: 67.91 kB / 0.4969 GB, free: 7.68 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4134/0.4154, allocations: 66.03 MB / 0.5614 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.003349/0.4188, allocations: 1.702 MB / 0.5631 GB, free: 2.531 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001894/0.4206, allocations: 0.9676 MB / 0.564 GB, free: 1.559 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001041/0.4208, allocations: 0 / 0.564 GB, free: 1.559 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003417/0.4211, allocations: 39.77 kB / 0.5641 GB, free: 1.52 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003323/0.4214, allocations: 95.55 kB / 0.5642 GB, free: 1.426 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002061/0.4216, allocations: 75.73 kB / 0.5642 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002265/0.4219, allocations: 115.6 kB / 0.5643 GB, free: 1.238 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.422, allocations: 5.828 kB / 0.5643 GB, free: 1.234 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.605e-05/0.4221, allocations: 43.78 kB / 0.5644 GB, free: 1.191 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.996e-05/0.4221, allocations: 39.78 kB / 0.5644 GB, free: 1.152 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.896e-05/0.4222, allocations: 8 kB / 0.5644 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001009/0.4223, allocations: 39.98 kB / 0.5645 GB, free: 1.105 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.395e-05/0.4223, allocations: 23.84 kB / 0.5645 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.747e-05/0.4224, allocations: 19.88 kB / 0.5645 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002308/0.4226, allocations: 119.5 kB / 0.5646 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.4226, allocations: 0 / 0.5646 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.4226, allocations: 4 kB / 0.5646 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.768e-06/0.4226, allocations: 0 / 0.5646 GB, free: 0.9414 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.000602/0.4232, allocations: 337.6 kB / 0.565 GB, free: 0.582 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.4233, allocations: 8.031 kB / 0.565 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.675e-05/0.4233, allocations: 8.188 kB / 0.565 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.779e-05/0.4233, allocations: 38.75 kB / 0.565 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.18e-05/0.4234, allocations: 12.88 kB / 0.565 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002819/0.4237, allocations: 140 kB / 0.5651 GB, free: 356 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.699e-05/0.4237, allocations: 12.12 kB / 0.5652 GB, free: 344 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.211e-05/0.4237, allocations: 0 / 0.5652 GB, free: 344 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000158/0.4239, allocations: 57.67 kB / 0.5652 GB, free: 280 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.4239, allocations: 0 / 0.5652 GB, free: 280 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.4239, allocations: 0 / 0.5652 GB, free: 280 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.4239, allocations: 0 / 0.5652 GB, free: 280 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.118e-05/0.424, allocations: 19.98 kB / 0.5652 GB, free: 260 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004113/0.4244, allocations: 271.8 kB / 0.5655 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002726/0.4246, allocations: 58.67 kB / 0.5656 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.451e-05/0.4247, allocations: 20.84 kB / 0.5656 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.582e-05/0.4247, allocations: 3.938 kB / 0.5656 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000165/0.4249, allocations: 67.39 kB / 0.5656 GB, free: 15.77 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 5.11e-06/0.4249, allocations: 3.984 kB / 0.5656 GB, free: 15.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.000604/0.4255, allocations: 177.4 kB / 0.5658 GB, free: 15.59 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.437e-05/0.4255, allocations: 59.41 kB / 0.5659 GB, free: 15.52 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001939/0.4257, allocations: 178.1 kB / 0.566 GB, free: 15.33 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.436e-05/0.4258, allocations: 37.62 kB / 0.5661 GB, free: 15.29 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.007e-05/0.4258, allocations: 96.14 kB / 0.5662 GB, free: 15.19 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.803e-05/0.4259, allocations: 27.78 kB / 0.5662 GB, free: 15.16 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.386e-05/0.4259, allocations: 21.72 kB / 0.5662 GB, free: 15.14 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.4261, allocations: 322.8 kB / 0.5665 GB, free: 14.81 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.59e-05/0.4261, allocations: 23.98 kB / 0.5665 GB, free: 14.79 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.931e-05/0.4262, allocations: 37.7 kB / 0.5666 GB, free: 14.75 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001229/0.4263, allocations: 61.69 kB / 0.5666 GB, free: 14.68 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.4263, allocations: 4 kB / 0.5666 GB, free: 14.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002007/0.4265, allocations: 105.5 kB / 0.5667 GB, free: 14.57 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.4266, allocations: 11.94 kB / 0.5668 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.4266, allocations: 0 / 0.5668 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.4266, allocations: 0 / 0.5668 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.831e-05/0.4267, allocations: 16.31 kB / 0.5668 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/0.4267, allocations: 7.938 kB / 0.5668 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.416e-05/0.4267, allocations: 11.98 kB / 0.5668 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.008e-05/0.4267, allocations: 4 kB / 0.5668 GB, free: 14.52 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.0001073/0.4269, allocations: 121.9 kB / 0.5669 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.196e-05/0.4269, allocations: 7.953 kB / 0.5669 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002849/0.4272, allocations: 122.3 kB / 0.567 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.4272, allocations: 0 / 0.567 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/0.4272, allocations: 3.938 kB / 0.567 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.356e-06/0.4272, allocations: 7.984 kB / 0.567 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004986/0.4277, allocations: 362.4 kB / 0.5674 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.4277, allocations: 288 / 0.5674 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.508e-05/0.4277, allocations: 11.98 kB / 0.5674 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.4277, allocations: 7.969 kB / 0.5674 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.4277, allocations: 7.938 kB / 0.5674 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.4277, allocations: 0 / 0.5674 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.4277, allocations: 0 / 0.5674 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002854/0.428, allocations: 212.3 kB / 0.5676 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.708e-05/0.4281, allocations: 19.83 kB / 0.5676 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.399e-05/0.4281, allocations: 0 / 0.5676 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.27e-05/0.4282, allocations: 4 kB / 0.5676 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.841e-05/0.4282, allocations: 15.92 kB / 0.5677 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.666e-05/0.4282, allocations: 4 kB / 0.5677 GB, free: 13.54 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001174/0.4284, allocations: 132.1 kB / 0.5678 GB, free: 13.41 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4284, allocations: 4 kB / 0.5678 GB, free: 13.4 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002599/0.4286, allocations: 27.92 kB / 0.5678 GB, free: 13.38 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 (9): * Single equations (assignments): 7 * 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.002331/0.4309, allocations: 1.142 MB / 0.5689 GB, free: 12.43 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000206/0.4312, allocations: 55.86 kB / 0.569 GB, free: 12.37 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.4312, allocations: 0 / 0.569 GB, free: 12.37 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.29e-05/0.4312, allocations: 31.98 kB / 0.569 GB, free: 12.34 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003578/0.4316, allocations: 30.78 kB / 0.569 GB, free: 12.31 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001921/0.4335, allocations: 1.618 MB / 0.5706 GB, free: 10.6 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.866e-05/0.4336, allocations: 97.38 kB / 0.5707 GB, free: 10.49 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.717e-05/0.4337, allocations: 21.27 kB / 0.5707 GB, free: 10.47 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.013e-05/0.4337, allocations: 31.42 kB / 0.5708 GB, free: 10.44 MB / 414.1 MB Notification: Performance of SimCode: time 3.7e-07/0.4337, allocations: 3.938 kB / 0.5708 GB, free: 10.43 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0243/0.458, allocations: 3.694 MB / 0.5744 GB, free: 6.809 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/11.9, allocations: 7.031 kB / 0.5744 GB, free: 6.805 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test3_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test3.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3.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: 15.166337777045555]