Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.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.001475/0.001475, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.001522/0.001522, allocations: 214.1 kB / 24.48 MB, free: 3.84 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.477/1.477, allocations: 230.6 MB / 258.2 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2313/0.2313, allocations: 44.94 MB / 359.6 MB, free: 6.059 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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: translateModel(ModelicaTest.Tables.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10") translateModel(ModelicaTest.Tables.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002177/0.002177, allocations: 71.89 kB / 0.4943 GB, free: 9.977 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3016/0.3038, allocations: 65.47 MB / 0.5583 GB, free: 7.48 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.003542/0.3073, allocations: 1.893 MB / 0.5601 GB, free: 5.574 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001885/0.3092, allocations: 1.007 MB / 0.5611 GB, free: 4.562 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.965e-05/0.3093, allocations: 4 kB / 0.5611 GB, free: 4.559 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002955/0.3096, allocations: 47.64 kB / 0.5611 GB, free: 4.512 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003304/0.3099, allocations: 99.53 kB / 0.5612 GB, free: 4.414 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002278/0.3102, allocations: 99.66 kB / 0.5613 GB, free: 4.316 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002374/0.3104, allocations: 155.5 kB / 0.5615 GB, free: 4.164 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.3105, allocations: 20.41 kB / 0.5615 GB, free: 4.141 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001063/0.3106, allocations: 59.72 kB / 0.5615 GB, free: 4.082 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001035/0.3107, allocations: 47.7 kB / 0.5616 GB, free: 4.035 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.539e-05/0.3107, allocations: 8 kB / 0.5616 GB, free: 4.027 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001097/0.3109, allocations: 43.98 kB / 0.5616 GB, free: 3.984 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.834e-05/0.3109, allocations: 27.92 kB / 0.5617 GB, free: 3.957 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.012e-05/0.311, allocations: 47.66 kB / 0.5617 GB, free: 3.91 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000266/0.3113, allocations: 151 kB / 0.5619 GB, free: 3.766 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.3113, allocations: 0 / 0.5619 GB, free: 3.766 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.3113, allocations: 4 kB / 0.5619 GB, free: 3.762 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.3113, allocations: 0 / 0.5619 GB, free: 3.762 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.0006639/0.3119, allocations: 419 kB / 0.5623 GB, free: 3.316 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.312, allocations: 8.031 kB / 0.5623 GB, free: 3.309 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.477e-05/0.312, allocations: 20.83 kB / 0.5623 GB, free: 3.289 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003236/0.3124, allocations: 171 kB / 0.5625 GB, free: 3.094 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.796e-05/0.3124, allocations: 8.359 kB / 0.5625 GB, free: 3.086 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.849e-05/0.3124, allocations: 16.12 kB / 0.5625 GB, free: 3.07 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002578/0.3127, allocations: 133.9 kB / 0.5626 GB, free: 2.918 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.3127, allocations: 0 / 0.5626 GB, free: 2.918 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.618e-05/0.3127, allocations: 4 kB / 0.5626 GB, free: 2.914 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.054e-06/0.3127, allocations: 4 kB / 0.5626 GB, free: 2.91 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001529/0.3129, allocations: 47.91 kB / 0.5627 GB, free: 2.863 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005853/0.3134, allocations: 452.7 kB / 0.5631 GB, free: 2.383 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003344/0.3138, allocations: 82.67 kB / 0.5632 GB, free: 2.293 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001021/0.3139, allocations: 40.83 kB / 0.5632 GB, free: 2.25 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.585e-05/0.3139, allocations: 0 / 0.5632 GB, free: 2.25 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002196/0.3141, allocations: 117 kB / 0.5633 GB, free: 2.117 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.292e-06/0.3141, allocations: 0 / 0.5633 GB, free: 2.117 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004098/0.3145, allocations: 149.5 kB / 0.5635 GB, free: 1.965 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.528e-05/0.3146, allocations: 51.41 kB / 0.5635 GB, free: 1.902 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002307/0.3148, allocations: 211 kB / 0.5637 GB, free: 1.688 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.037e-05/0.3148, allocations: 33.7 kB / 0.5637 GB, free: 1.648 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.377e-05/0.3149, allocations: 120.1 kB / 0.5639 GB, free: 1.527 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.069e-05/0.315, allocations: 27.75 kB / 0.5639 GB, free: 1.5 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.28e-05/0.315, allocations: 29.7 kB / 0.5639 GB, free: 1.465 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001708/0.3152, allocations: 322.8 kB / 0.5642 GB, free: 1.141 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.467e-05/0.3153, allocations: 31.98 kB / 0.5642 GB, free: 1.109 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001158/0.3154, allocations: 72.14 kB / 0.5643 GB, free: 1.023 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002061/0.3156, allocations: 100.2 kB / 0.5644 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3156, allocations: 0 / 0.5644 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002792/0.3159, allocations: 141.4 kB / 0.5645 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.3159, allocations: 4 kB / 0.5646 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.3159, allocations: 480 / 0.5646 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.3159, allocations: 4 kB / 0.5646 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000102/0.316, allocations: 24.11 kB / 0.5646 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.934e-05/0.316, allocations: 11.88 kB / 0.5646 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.206e-05/0.3161, allocations: 15.94 kB / 0.5646 GB, free: 0.707 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.247e-05/0.3161, allocations: 7.938 kB / 0.5646 GB, free: 0.6992 MB / 398.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.3162, allocations: 128.3 kB / 0.5647 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.515e-05/0.3163, allocations: 15.91 kB / 0.5648 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003162/0.3166, allocations: 139 kB / 0.5649 GB, free: 416 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.3166, allocations: 3.984 kB / 0.5649 GB, free: 412 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.3166, allocations: 3.938 kB / 0.5649 GB, free: 408 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.3166, allocations: 4 kB / 0.5649 GB, free: 404 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001675/0.3167, allocations: 149.3 kB / 0.565 GB, free: 224 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3168, allocations: 0 / 0.565 GB, free: 224 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.575e-05/0.3168, allocations: 12 kB / 0.565 GB, free: 212 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.3168, allocations: 0 / 0.565 GB, free: 212 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.679e-05/0.3168, allocations: 11.92 kB / 0.5651 GB, free: 200 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.3168, allocations: 0 / 0.5651 GB, free: 200 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.3168, allocations: 4 kB / 0.5651 GB, free: 196 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000422/0.3173, allocations: 192.9 kB / 0.5652 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.542e-05/0.3173, allocations: 19.94 kB / 0.5653 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.494e-05/0.3173, allocations: 4 kB / 0.5653 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.068e-05/0.3174, allocations: 4 kB / 0.5653 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.688e-05/0.3174, allocations: 7.984 kB / 0.5653 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.034e-05/0.3174, allocations: 11.94 kB / 0.5653 GB, free: 15.94 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001474/0.3176, allocations: 151.2 kB / 0.5654 GB, free: 15.79 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3176, allocations: 0 / 0.5654 GB, free: 15.79 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002379/0.3178, allocations: 27.94 kB / 0.5655 GB, free: 15.76 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.0016/0.3194, allocations: 441.5 kB / 0.5659 GB, free: 15.51 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002598/0.3197, allocations: 83.83 kB / 0.566 GB, free: 15.43 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3197, allocations: 0 / 0.566 GB, free: 15.43 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000103/0.3198, allocations: 35.98 kB / 0.566 GB, free: 15.39 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000308/0.3201, allocations: 45.86 kB / 0.566 GB, free: 15.36 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005874/0.3207, allocations: 317 kB / 0.5663 GB, free: 15.01 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000113/0.3208, allocations: 110 kB / 0.5665 GB, free: 14.88 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.381e-05/0.3208, allocations: 15.44 kB / 0.5665 GB, free: 14.86 MB / 414.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3208, allocations: 0 / 0.5665 GB, free: 14.86 MB / 414.1 MB Notification: Performance of Templates: time 0.004479/0.3253, allocations: 2.256 MB / 0.5687 GB, free: 12.61 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.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: 8.10849474510178]