Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.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.001262/0.001262, allocations: 109.2 kB / 20.43 MB, free: 1.473 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.001607/0.001607, allocations: 213.7 kB / 23.74 MB, free: 4.688 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.432/1.432, allocations: 230.6 MB / 257.5 MB, free: 8.027 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.2256/0.2256, allocations: 46.94 MB / 360.9 MB, free: 4.297 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.Test13,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test13,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002011/0.002011, allocations: 59.91 kB / 0.4962 GB, free: 7.879 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3084/0.3104, allocations: 66.04 MB / 0.5607 GB, free: 4.492 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.003393/0.3138, allocations: 1.956 MB / 0.5626 GB, free: 2.52 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001803/0.3156, allocations: 1.088 MB / 0.5637 GB, free: 1.426 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.887e-05/0.3157, allocations: 0 / 0.5637 GB, free: 1.426 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002999/0.316, allocations: 51.64 kB / 0.5637 GB, free: 1.375 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002927/0.3163, allocations: 99.53 kB / 0.5638 GB, free: 1.277 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002244/0.3165, allocations: 91.66 kB / 0.5639 GB, free: 1.188 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002286/0.3167, allocations: 155.5 kB / 0.5641 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.3168, allocations: 19.56 kB / 0.5641 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001238/0.317, allocations: 63.72 kB / 0.5641 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001027/0.3171, allocations: 51.7 kB / 0.5642 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.019e-05/0.3171, allocations: 8 kB / 0.5642 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.543e-05/0.3172, allocations: 47.98 kB / 0.5642 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.702e-05/0.3172, allocations: 27.89 kB / 0.5643 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.813e-05/0.3173, allocations: 55.56 kB / 0.5643 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002526/0.3176, allocations: 159.3 kB / 0.5645 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.3176, allocations: 0 / 0.5645 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.3176, allocations: 0 / 0.5645 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.089e-06/0.3176, allocations: 0 / 0.5645 GB, free: 0.6055 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.0006273/0.3182, allocations: 411.1 kB / 0.5649 GB, free: 172 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.3182, allocations: 12.03 kB / 0.5649 GB, free: 160 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.325e-05/0.3183, allocations: 46.67 kB / 0.5649 GB, free: 104 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.274e-05/0.3183, allocations: 16.84 kB / 0.5649 GB, free: 88 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000299/0.3186, allocations: 171 kB / 0.5651 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.3186, allocations: 4.375 kB / 0.5651 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.734e-05/0.3187, allocations: 11.94 kB / 0.5651 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002355/0.3189, allocations: 112.2 kB / 0.5652 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.3189, allocations: 3.938 kB / 0.5652 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.3189, allocations: 0 / 0.5652 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.3189, allocations: 4 kB / 0.5652 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001469/0.3191, allocations: 47.97 kB / 0.5653 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006183/0.3197, allocations: 488 kB / 0.5657 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003209/0.32, allocations: 90.59 kB / 0.5658 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.672e-05/0.3201, allocations: 36.83 kB / 0.5659 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.725e-05/0.3201, allocations: 4 kB / 0.5659 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000191/0.3203, allocations: 83.31 kB / 0.5659 GB, free: 14.93 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.372e-06/0.3203, allocations: 0 / 0.5659 GB, free: 14.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004014/0.3207, allocations: 145.4 kB / 0.5661 GB, free: 14.79 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.338e-05/0.3208, allocations: 55.41 kB / 0.5661 GB, free: 14.72 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002034/0.321, allocations: 203.2 kB / 0.5663 GB, free: 14.51 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.049e-05/0.321, allocations: 25.7 kB / 0.5664 GB, free: 14.48 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.964e-05/0.3211, allocations: 120.1 kB / 0.5665 GB, free: 14.36 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.032e-05/0.3211, allocations: 31.73 kB / 0.5665 GB, free: 14.33 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.838e-05/0.3212, allocations: 29.7 kB / 0.5665 GB, free: 14.29 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001418/0.3213, allocations: 330.8 kB / 0.5668 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001013/0.3214, allocations: 27.98 kB / 0.5669 GB, free: 13.93 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001069/0.3215, allocations: 64.27 kB / 0.5669 GB, free: 13.86 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000189/0.3217, allocations: 96.2 kB / 0.567 GB, free: 13.75 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.3217, allocations: 8 kB / 0.567 GB, free: 13.74 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002715/0.322, allocations: 129.8 kB / 0.5672 GB, free: 13.61 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.322, allocations: 7.984 kB / 0.5672 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.322, allocations: 0 / 0.5672 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.322, allocations: 7.938 kB / 0.5672 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001006/0.3221, allocations: 28.02 kB / 0.5672 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.3221, allocations: 3.938 kB / 0.5672 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.873e-05/0.3222, allocations: 16.02 kB / 0.5672 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.208e-05/0.3222, allocations: 8 kB / 0.5672 GB, free: 13.54 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.0001155/0.3223, allocations: 133.8 kB / 0.5674 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.407e-05/0.3223, allocations: 11.91 kB / 0.5674 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002843/0.3226, allocations: 127 kB / 0.5675 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-05/0.3226, allocations: 3.938 kB / 0.5675 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.3226, allocations: 0 / 0.5675 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.155e-06/0.3226, allocations: 0 / 0.5675 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001747/0.3228, allocations: 188.6 kB / 0.5677 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3228, allocations: 3.938 kB / 0.5677 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.307e-05/0.3229, allocations: 11.98 kB / 0.5677 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.3229, allocations: 4 kB / 0.5677 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.3229, allocations: 8 kB / 0.5677 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.3229, allocations: 3.938 kB / 0.5677 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.3229, allocations: 0 / 0.5677 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003659/0.3233, allocations: 180.9 kB / 0.5679 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.074e-05/0.3233, allocations: 15.92 kB / 0.5679 GB, free: 12.78 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.425e-05/0.3233, allocations: 4 kB / 0.5679 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.333e-05/0.3234, allocations: 11.94 kB / 0.5679 GB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.325e-05/0.3234, allocations: 3.984 kB / 0.5679 GB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.578e-05/0.3234, allocations: 4 kB / 0.5679 GB, free: 12.75 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000126/0.3236, allocations: 143.2 kB / 0.568 GB, free: 12.61 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3236, allocations: 0 / 0.568 GB, free: 12.61 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002283/0.3238, allocations: 31.92 kB / 0.5681 GB, free: 12.58 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 (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.002014/0.3258, allocations: 1.027 MB / 0.5691 GB, free: 11.7 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002456/0.3261, allocations: 80.02 kB / 0.5692 GB, free: 11.62 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.3261, allocations: 3.938 kB / 0.5692 GB, free: 11.61 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.872e-05/0.3262, allocations: 35.92 kB / 0.5692 GB, free: 11.58 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002919/0.3264, allocations: 45.28 kB / 0.5692 GB, free: 11.54 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002101/0.3285, allocations: 1.756 MB / 0.5709 GB, free: 9.664 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003602/0.3289, allocations: 0.7201 MB / 0.5717 GB, free: 8.918 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.342e-05/0.329, allocations: 17.41 kB / 0.5717 GB, free: 8.902 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.86e-05/0.3291, allocations: 43.42 kB / 0.5717 GB, free: 8.859 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3291, allocations: 0 / 0.5717 GB, free: 8.859 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03124/0.3603, allocations: 4.026 MB / 0.5756 GB, free: 4.902 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.87/11.23, allocations: 7.156 kB / 0.5756 GB, free: 4.902 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test13_fmu --startTime=0 --stopTime=2 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test13.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.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.164432387100533]