Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.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.002059/0.002059, allocations: 107.1 kB / 20.44 MB, free: 1.172 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.002289/0.002289, allocations: 206.8 kB / 23.73 MB, free: 4.379 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.467/1.467, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.2253/0.2253, allocations: 46.97 MB / 360.9 MB, free: 4.031 MB / 286.1 MB " [Timeout remaining time 180] 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.Test12,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test12,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test12",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00193/0.00193, allocations: 64.08 kB / 0.4962 GB, free: 7.664 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3296/0.3315, allocations: 66.03 MB / 0.5606 GB, free: 4.348 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.00371/0.3353, allocations: 1.905 MB / 0.5625 GB, free: 2.43 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00191/0.3372, allocations: 1.007 MB / 0.5635 GB, free: 1.418 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001112/0.3373, allocations: 7.938 kB / 0.5635 GB, free: 1.41 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003229/0.3376, allocations: 47.69 kB / 0.5635 GB, free: 1.363 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003261/0.3379, allocations: 103.5 kB / 0.5636 GB, free: 1.262 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002255/0.3382, allocations: 91.72 kB / 0.5637 GB, free: 1.172 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002337/0.3384, allocations: 155.5 kB / 0.5639 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.3385, allocations: 19.84 kB / 0.5639 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001069/0.3386, allocations: 55.73 kB / 0.5639 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001172/0.3387, allocations: 55.69 kB / 0.564 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.884e-05/0.3387, allocations: 4 kB / 0.564 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001036/0.3388, allocations: 51.98 kB / 0.5641 GB, free: 0.832 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.389e-05/0.3389, allocations: 31.86 kB / 0.5641 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.266e-05/0.339, allocations: 47.66 kB / 0.5641 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002655/0.3393, allocations: 147.4 kB / 0.5643 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.3393, allocations: 0 / 0.5643 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3393, allocations: 0 / 0.5643 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.3393, allocations: 0 / 0.5643 GB, free: 0.6094 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006992/0.34, allocations: 422.9 kB / 0.5647 GB, free: 164 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.34, allocations: 12.03 kB / 0.5647 GB, free: 152 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.575e-05/0.3401, allocations: 38.73 kB / 0.5647 GB, free: 104 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.311e-05/0.3401, allocations: 20.84 kB / 0.5647 GB, free: 84 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003605/0.3405, allocations: 167 kB / 0.5649 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.584e-05/0.3405, allocations: 4.375 kB / 0.5649 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.781e-05/0.3405, allocations: 11.94 kB / 0.5649 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002724/0.3408, allocations: 133.9 kB / 0.565 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.3408, allocations: 0 / 0.565 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.784e-05/0.3408, allocations: 8 kB / 0.5651 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.3408, allocations: 0 / 0.5651 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001579/0.341, allocations: 51.91 kB / 0.5651 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006217/0.3416, allocations: 480.1 kB / 0.5656 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003411/0.3419, allocations: 86.59 kB / 0.5656 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001001/0.342, allocations: 36.84 kB / 0.5657 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.539e-05/0.3421, allocations: 3.938 kB / 0.5657 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002242/0.3423, allocations: 113.1 kB / 0.5658 GB, free: 14.88 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.553e-06/0.3423, allocations: 0 / 0.5658 GB, free: 14.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004115/0.3427, allocations: 153.4 kB / 0.5659 GB, free: 14.72 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.421e-05/0.3427, allocations: 55.34 kB / 0.566 GB, free: 14.66 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002141/0.3429, allocations: 207.1 kB / 0.5662 GB, free: 14.45 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.717e-05/0.343, allocations: 25.7 kB / 0.5662 GB, free: 14.41 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.41e-05/0.3431, allocations: 116.1 kB / 0.5663 GB, free: 14.3 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.285e-05/0.3431, allocations: 31.73 kB / 0.5664 GB, free: 14.27 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.845e-05/0.3431, allocations: 25.72 kB / 0.5664 GB, free: 14.23 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001764/0.3433, allocations: 338.8 kB / 0.5667 GB, free: 13.89 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.56e-05/0.3434, allocations: 31.92 kB / 0.5667 GB, free: 13.86 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000109/0.3435, allocations: 60.27 kB / 0.5668 GB, free: 13.79 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002072/0.3437, allocations: 100.2 kB / 0.5669 GB, free: 13.68 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.3437, allocations: 0 / 0.5669 GB, free: 13.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002861/0.344, allocations: 141.8 kB / 0.567 GB, free: 13.53 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.344, allocations: 8.078 kB / 0.567 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.344, allocations: 3.938 kB / 0.567 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.962e-05/0.3441, allocations: 11.88 kB / 0.567 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001097/0.3442, allocations: 23.98 kB / 0.5671 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.3442, allocations: 4 kB / 0.5671 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.113e-05/0.3442, allocations: 11.89 kB / 0.5671 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.259e-05/0.3443, allocations: 7.984 kB / 0.5671 GB, free: 13.46 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * 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.0001149/0.3444, allocations: 141.9 kB / 0.5672 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.563e-05/0.3444, allocations: 11.91 kB / 0.5672 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003334/0.3447, allocations: 135 kB / 0.5674 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/0.3447, allocations: 3.938 kB / 0.5674 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.716e-06/0.3447, allocations: 0 / 0.5674 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.3447, allocations: 0 / 0.5674 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001899/0.3449, allocations: 176.7 kB / 0.5675 GB, free: 12.94 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.3449, allocations: 4 kB / 0.5675 GB, free: 12.94 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.232e-05/0.345, allocations: 12 kB / 0.5675 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.345, allocations: 4 kB / 0.5676 GB, free: 12.92 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/0.345, allocations: 0 / 0.5676 GB, free: 12.92 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.345, allocations: 7.938 kB / 0.5676 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.345, allocations: 3.984 kB / 0.5676 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004106/0.3454, allocations: 188.9 kB / 0.5677 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.783e-05/0.3455, allocations: 15.92 kB / 0.5678 GB, free: 12.69 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.69e-05/0.3455, allocations: 4 kB / 0.5678 GB, free: 12.69 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.887e-05/0.3456, allocations: 7.938 kB / 0.5678 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.861e-05/0.3456, allocations: 8.047 kB / 0.5678 GB, free: 12.67 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.697e-05/0.3456, allocations: 8 kB / 0.5678 GB, free: 12.66 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000148/0.3458, allocations: 147.2 kB / 0.5679 GB, free: 12.52 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3458, allocations: 0 / 0.5679 GB, free: 12.52 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002376/0.346, allocations: 31.92 kB / 0.568 GB, free: 12.49 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.002234/0.3482, allocations: 1.07 MB / 0.569 GB, free: 11.58 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002543/0.3485, allocations: 87.95 kB / 0.5691 GB, free: 11.49 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3485, allocations: 0 / 0.5691 GB, free: 11.49 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001111/0.3486, allocations: 39.92 kB / 0.5691 GB, free: 11.45 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003246/0.3489, allocations: 45.98 kB / 0.5692 GB, free: 11.41 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002228/0.3512, allocations: 1.764 MB / 0.5709 GB, free: 9.539 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.569e-05/0.3513, allocations: 105.8 kB / 0.571 GB, free: 9.414 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.392e-05/0.3513, allocations: 13.42 kB / 0.571 GB, free: 9.402 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.857e-05/0.3514, allocations: 51.36 kB / 0.5711 GB, free: 9.352 MB / 414.1 MB Notification: Performance of SimCode: time 6.51e-07/0.3514, allocations: 3.938 kB / 0.5711 GB, free: 9.348 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03182/0.3832, allocations: 4.582 MB / 0.5755 GB, free: 4.82 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.82/11.21, allocations: 8.062 kB / 0.5755 GB, free: 4.812 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test12_fmu --startTime=0 --stopTime=2 --stepSize=0.00039976 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test12.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.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.200750962016173]