Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.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.001762/0.001762, allocations: 73.88 kB / 21.24 MB, free: 0.5547 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.002167/0.002167, allocations: 160.1 kB / 24.5 MB, free: 3.715 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.523/1.523, allocations: 177.2 MB / 204.9 MB, free: 8.988 MB / 190.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.2149/0.2149, allocations: 32.81 MB / 294.1 MB, free: 20 kB / 270.1 MB " [Timeout remaining time 179] 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.CombiTable1Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4") [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.002094/0.002094, allocations: 60.19 kB / 440.6 MB, free: 9.426 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3703/0.3724, allocations: 65.46 MB / 0.4942 GB, free: 31.4 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.003055/0.3755, allocations: 1.647 MB / 0.4958 GB, free: 30.28 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00104/0.3765, allocations: 0.5268 MB / 0.4963 GB, free: 29.95 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.992e-05/0.3766, allocations: 4 kB / 0.4963 GB, free: 29.95 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003301/0.3769, allocations: 94.61 kB / 0.4964 GB, free: 29.93 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003369/0.3773, allocations: 115.1 kB / 0.4965 GB, free: 29.88 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002695/0.3775, allocations: 89.55 kB / 0.4966 GB, free: 29.84 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001605/0.3777, allocations: 109.7 kB / 0.4967 GB, free: 29.79 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001259/0.3778, allocations: 13.91 kB / 0.4967 GB, free: 29.79 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.866e-05/0.3779, allocations: 49.53 kB / 0.4967 GB, free: 29.77 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001249/0.378, allocations: 69 kB / 0.4968 GB, free: 29.75 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.803e-05/0.378, allocations: 6.531 kB / 0.4968 GB, free: 29.75 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.431e-05/0.3781, allocations: 46.17 kB / 0.4969 GB, free: 29.73 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.886e-05/0.3782, allocations: 24.31 kB / 0.4969 GB, free: 29.72 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.361e-05/0.3782, allocations: 33.05 kB / 0.4969 GB, free: 29.7 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002244/0.3785, allocations: 133.3 kB / 0.497 GB, free: 29.64 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3785, allocations: 0 / 0.497 GB, free: 29.64 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.295e-06/0.3785, allocations: 0 / 0.497 GB, free: 29.64 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.244e-06/0.3785, allocations: 4 kB / 0.4971 GB, free: 29.64 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004623/0.3789, allocations: 353.9 kB / 0.4974 GB, free: 29.32 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.379, allocations: 10.19 kB / 0.4974 GB, free: 29.32 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.203e-05/0.379, allocations: 19.16 kB / 0.4974 GB, free: 29.3 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000187/0.3792, allocations: 156.6 kB / 0.4976 GB, free: 29.15 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.3792, allocations: 3.5 kB / 0.4976 GB, free: 29.15 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.112e-05/0.3793, allocations: 15.61 kB / 0.4976 GB, free: 29.14 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001681/0.3794, allocations: 67.92 kB / 0.4976 GB, free: 29.09 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/0.3794, allocations: 7.891 kB / 0.4977 GB, free: 29.09 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.3795, allocations: 4 kB / 0.4977 GB, free: 29.08 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.3795, allocations: 7.062 kB / 0.4977 GB, free: 29.08 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001163/0.3796, allocations: 39.83 kB / 0.4977 GB, free: 29.07 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003469/0.3799, allocations: 262.1 kB / 0.498 GB, free: 28.84 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001296/0.38, allocations: 63.03 kB / 0.498 GB, free: 28.8 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.9e-05/0.3801, allocations: 21.58 kB / 0.498 GB, free: 28.79 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.685e-05/0.3801, allocations: 3.062 kB / 0.498 GB, free: 28.79 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.431e-05/0.3801, allocations: 34.56 kB / 0.4981 GB, free: 28.75 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.3801, allocations: 0 / 0.4981 GB, free: 28.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=13): time 0.001057/0.3812, allocations: 314.9 kB / 0.4984 GB, free: 28.62 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.551e-05/0.3812, allocations: 58.66 kB / 0.4984 GB, free: 28.55 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002068/0.3814, allocations: 237.4 kB / 0.4987 GB, free: 28.41 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.251e-05/0.3814, allocations: 29.7 kB / 0.4987 GB, free: 28.37 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.266e-05/0.3815, allocations: 117.6 kB / 0.4988 GB, free: 28.26 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.275e-05/0.3815, allocations: 41.3 kB / 0.4988 GB, free: 28.23 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.933e-05/0.3816, allocations: 30.38 kB / 0.4989 GB, free: 28.21 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.51e-05/0.3816, allocations: 325.3 kB / 0.4992 GB, free: 27.89 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.429e-05/0.3817, allocations: 34.28 kB / 0.4992 GB, free: 27.88 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.748e-05/0.3818, allocations: 37.05 kB / 0.4992 GB, free: 27.87 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000163/0.382, allocations: 83.67 kB / 0.4993 GB, free: 27.84 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.382, allocations: 0 / 0.4993 GB, free: 27.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002229/0.3822, allocations: 153.8 kB / 0.4995 GB, free: 27.76 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.3822, allocations: 6.25 kB / 0.4995 GB, free: 27.76 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.3822, allocations: 0 / 0.4995 GB, free: 27.76 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.3822, allocations: 0 / 0.4995 GB, free: 27.76 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001237/0.3824, allocations: 25.89 kB / 0.4995 GB, free: 27.76 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.064e-06/0.3824, allocations: 4.172 kB / 0.4995 GB, free: 27.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.789e-05/0.3824, allocations: 6.672 kB / 0.4995 GB, free: 27.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.057e-05/0.3824, allocations: 7.312 kB / 0.4995 GB, free: 27.75 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 8.237e-05/0.3825, allocations: 139.1 kB / 0.4996 GB, free: 27.62 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.471e-05/0.3826, allocations: 14.16 kB / 0.4997 GB, free: 27.61 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003251/0.3829, allocations: 162.1 kB / 0.4998 GB, free: 27.54 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.3829, allocations: 0 / 0.4998 GB, free: 27.54 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.842e-06/0.3829, allocations: 3.938 kB / 0.4998 GB, free: 27.53 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.3829, allocations: 0 / 0.4998 GB, free: 27.53 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004792/0.3834, allocations: 404.9 kB / 0.5002 GB, free: 27.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.3834, allocations: 11.39 kB / 0.5002 GB, free: 27.22 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.421e-05/0.3835, allocations: 33.62 kB / 0.5002 GB, free: 27.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.3835, allocations: 0 / 0.5002 GB, free: 27.21 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.3835, allocations: 3.062 kB / 0.5003 GB, free: 27.21 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.3835, allocations: 4 kB / 0.5003 GB, free: 27.21 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.3835, allocations: 3.938 kB / 0.5003 GB, free: 27.2 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002417/0.3837, allocations: 242 kB / 0.5005 GB, free: 27.02 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.816e-05/0.3837, allocations: 18.25 kB / 0.5005 GB, free: 27.01 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.884e-05/0.3838, allocations: 7.516 kB / 0.5005 GB, free: 27.01 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.451e-05/0.3838, allocations: 7.156 kB / 0.5005 GB, free: 27 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.091e-05/0.3839, allocations: 9.578 kB / 0.5005 GB, free: 27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.376e-06/0.3839, allocations: 6.719 kB / 0.5005 GB, free: 27 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001224/0.384, allocations: 183 kB / 0.5007 GB, free: 26.9 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.384, allocations: 0 / 0.5007 GB, free: 26.9 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002938/0.3843, allocations: 27.75 kB / 0.5007 GB, free: 26.89 MB / 446.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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 Backend phase and start with SimCode phase: time 0.00179/0.3861, allocations: 0.4899 MB / 0.5012 GB, free: 26.67 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002529/0.3863, allocations: 88.14 kB / 0.5013 GB, free: 26.65 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.3864, allocations: 0 / 0.5013 GB, free: 26.65 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000101/0.3865, allocations: 47.36 kB / 0.5013 GB, free: 26.64 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000378/0.3868, allocations: 35.95 kB / 0.5014 GB, free: 26.62 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005903/0.3874, allocations: 315.5 kB / 0.5017 GB, free: 26.42 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.625e-05/0.3875, allocations: 117 kB / 0.5018 GB, free: 26.34 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.579e-05/0.3876, allocations: 17.48 kB / 0.5018 GB, free: 26.33 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.779e-05/0.3876, allocations: 22.28 kB / 0.5018 GB, free: 26.32 MB / 446.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3876, allocations: 0 / 0.5018 GB, free: 26.32 MB / 446.1 MB Notification: Performance of Templates: time 0.004679/0.3923, allocations: 1.517 MB / 0.5033 GB, free: 26.1 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.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: 5.131933550001122]