Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001417/0.001417, allocations: 107.9 kB / 19.8 MB, free: 2.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001477/0.001477, allocations: 195.3 kB / 22.98 MB, free: 5.59 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.585/1.585, allocations: 225.6 MB / 251.6 MB, free: 13.33 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.24/0.24, allocations: 44.92 MB / 351.6 MB, free: 12.2 MB / 286.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001956/0.001956, allocations: 68.08 kB / 495.3 MB, free: 1.812 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.392/0.394, allocations: 64.25 MB / 0.5464 GB, free: 13.21 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test3): time 0.003503/0.3975, allocations: 1.619 MB / 0.548 GB, free: 11.94 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009265/0.3984, allocations: 426.2 kB / 0.5484 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.553e-05/0.3985, allocations: 0.8438 kB / 0.5484 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003151/0.3988, allocations: 74.53 kB / 0.5485 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002476/0.399, allocations: 67.48 kB / 0.5485 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003433/0.3994, allocations: 105.8 kB / 0.5486 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001747/0.3995, allocations: 79.02 kB / 0.5487 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001244/0.3997, allocations: 12.45 kB / 0.5487 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.692e-05/0.3997, allocations: 38.12 kB / 0.5488 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001102/0.3999, allocations: 49.33 kB / 0.5488 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.835e-05/0.3999, allocations: 5.312 kB / 0.5488 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001049/0.4, allocations: 36.42 kB / 0.5488 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.153e-05/0.4, allocations: 27.59 kB / 0.5489 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.901e-05/0.4001, allocations: 24.23 kB / 0.5489 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002531/0.4003, allocations: 106.4 kB / 0.549 GB, free: 11.26 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.4003, allocations: 0 / 0.549 GB, free: 11.26 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.4003, allocations: 0 / 0.549 GB, free: 11.26 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.594e-06/0.4004, allocations: 1.312 kB / 0.549 GB, free: 11.26 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005988/0.4009, allocations: 404.3 kB / 0.5494 GB, free: 10.84 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.401, allocations: 13.5 kB / 0.5494 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.398e-05/0.401, allocations: 13.28 kB / 0.5494 GB, free: 10.83 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002379/0.4013, allocations: 198.2 kB / 0.5496 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.221e-06/0.4013, allocations: 1.75 kB / 0.5496 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.915e-05/0.4013, allocations: 1.844 kB / 0.5496 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001895/0.4015, allocations: 66.94 kB / 0.5497 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.4015, allocations: 1.281 kB / 0.5497 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.4015, allocations: 0 / 0.5497 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.4015, allocations: 1.125 kB / 0.5497 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.694e-05/0.4016, allocations: 27.64 kB / 0.5497 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004424/0.4021, allocations: 298.3 kB / 0.55 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001197/0.4022, allocations: 47 kB / 0.55 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.334e-05/0.4022, allocations: 19.75 kB / 0.55 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.703e-05/0.4023, allocations: 1.094 kB / 0.55 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.707e-05/0.4023, allocations: 35.72 kB / 0.5501 GB, free: 10.13 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.011e-06/0.4023, allocations: 0 / 0.5501 GB, free: 10.13 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009547/0.4033, allocations: 235.6 kB / 0.5503 GB, free: 10 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.472e-05/0.4033, allocations: 52.59 kB / 0.5503 GB, free: 9.938 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002164/0.4035, allocations: 194.2 kB / 0.5505 GB, free: 9.797 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.938e-05/0.4035, allocations: 25.7 kB / 0.5506 GB, free: 9.766 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.366e-05/0.4036, allocations: 101.7 kB / 0.5507 GB, free: 9.668 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.701e-05/0.4037, allocations: 30.45 kB / 0.5507 GB, free: 9.641 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.413e-05/0.4037, allocations: 20.91 kB / 0.5507 GB, free: 9.621 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.4039, allocations: 321.5 kB / 0.551 GB, free: 9.301 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.652e-05/0.4039, allocations: 32.67 kB / 0.551 GB, free: 9.285 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.86e-05/0.404, allocations: 36.69 kB / 0.5511 GB, free: 9.266 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001614/0.4042, allocations: 73.11 kB / 0.5511 GB, free: 9.227 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.4042, allocations: 5.469 kB / 0.5512 GB, free: 9.223 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002297/0.4044, allocations: 111 kB / 0.5513 GB, free: 9.152 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.4044, allocations: 9.219 kB / 0.5513 GB, free: 9.148 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.4044, allocations: 1.438 kB / 0.5513 GB, free: 9.148 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.4045, allocations: 0 / 0.5513 GB, free: 9.148 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001115/0.4046, allocations: 22.27 kB / 0.5513 GB, free: 9.141 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/0.4046, allocations: 7.875 kB / 0.5513 GB, free: 9.133 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.086e-05/0.4046, allocations: 3.312 kB / 0.5513 GB, free: 9.133 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.168e-06/0.4046, allocations: 2.344 kB / 0.5513 GB, free: 9.133 MB / 398.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 (8): * Single equations (assignments): 8 * 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.0001192/0.4048, allocations: 128 kB / 0.5514 GB, free: 9.008 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.855e-05/0.4048, allocations: 12.53 kB / 0.5514 GB, free: 9 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003344/0.4051, allocations: 128.2 kB / 0.5516 GB, free: 8.918 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.4051, allocations: 1.188 kB / 0.5516 GB, free: 8.918 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.231e-05/0.4052, allocations: 3.938 kB / 0.5516 GB, free: 8.914 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.256e-06/0.4052, allocations: 5.234 kB / 0.5516 GB, free: 8.91 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006767/0.4058, allocations: 412 kB / 0.552 GB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.4058, allocations: 1.031 kB / 0.552 GB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.19e-05/0.4059, allocations: 25.33 kB / 0.552 GB, free: 8.508 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.616e-06/0.4059, allocations: 5.547 kB / 0.552 GB, free: 8.504 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.387e-05/0.4059, allocations: 5.094 kB / 0.552 GB, free: 8.5 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.4059, allocations: 1.062 kB / 0.552 GB, free: 8.5 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.4059, allocations: 1.062 kB / 0.552 GB, free: 8.5 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003367/0.4063, allocations: 211.7 kB / 0.5522 GB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.313e-05/0.4064, allocations: 87.94 kB / 0.5523 GB, free: 8.219 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.51e-05/0.4064, allocations: 9.109 kB / 0.5523 GB, free: 8.211 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.184e-05/0.4065, allocations: 7.219 kB / 0.5523 GB, free: 8.207 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.372e-05/0.4065, allocations: 7.391 kB / 0.5523 GB, free: 8.203 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.113e-05/0.4065, allocations: 7.344 kB / 0.5523 GB, free: 8.199 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001662/0.4067, allocations: 148.6 kB / 0.5525 GB, free: 8.098 MB / 398.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.4067, allocations: 0 / 0.5525 GB, free: 8.098 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002951/0.407, allocations: 22.16 kB / 0.5525 GB, free: 8.09 MB / 398.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 (8): * Single equations (assignments): 8 * 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.001915/0.4089, allocations: 455.1 kB / 0.5529 GB, free: 7.871 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003049/0.4092, allocations: 78.12 kB / 0.553 GB, free: 7.836 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.4092, allocations: 0 / 0.553 GB, free: 7.836 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001044/0.4093, allocations: 38.19 kB / 0.553 GB, free: 7.82 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004595/0.4098, allocations: 26.44 kB / 0.553 GB, free: 7.805 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006548/0.4104, allocations: 253.1 kB / 0.5533 GB, free: 7.609 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004556/0.4109, allocations: 0.706 MB / 0.554 GB, free: 6.898 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.196e-05/0.411, allocations: 19.5 kB / 0.554 GB, free: 6.887 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.339e-05/0.411, allocations: 13 kB / 0.554 GB, free: 6.879 MB / 398.1 MB Notification: Performance of SimCode: time 9.62e-07/0.411, allocations: 0 / 0.554 GB, free: 6.879 MB / 398.1 MB Notification: Performance of Templates: time 0.005106/0.4161, allocations: 1.39 MB / 0.5554 GB, free: 6.172 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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: 5.648275714367628]