Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.CombiTimeTable.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15") translateModel(ModelicaTest.Tables.CombiTimeTable.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001205/0.001205, allocations: 108.2 kB / 18.39 MB, free: 4.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001223/0.001223, allocations: 182.9 kB / 19.32 MB, free: 3.832 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.402/1.402, allocations: 222.9 MB / 243 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2005/0.2005, allocations: 44.18 MB / 337.4 MB, free: 2.707 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 69.12 kB / 409.9 MB, free: 26.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09913/0.1004, allocations: 60.83 MB / 470.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.003042/0.1035, allocations: 1.703 MB / 472.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001396/0.1049, allocations: 0.8885 MB / 473.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.173e-05/0.105, allocations: 0 / 473.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000293/0.1053, allocations: 35.77 kB / 473.3 MB, free: 11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002067/0.1055, allocations: 55.77 kB / 473.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002845/0.1058, allocations: 111.6 kB / 473.5 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001599/0.106, allocations: 87.7 kB / 473.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.1061, allocations: 16.22 kB / 473.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.76e-05/0.1062, allocations: 43.78 kB / 473.6 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.309e-05/0.1063, allocations: 23.86 kB / 473.7 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.043e-05/0.1063, allocations: 8 kB / 473.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000102/0.1064, allocations: 47.92 kB / 473.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.564e-05/0.1065, allocations: 19.91 kB / 473.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.67e-05/0.1066, allocations: 27.81 kB / 473.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002021/0.1068, allocations: 111.6 kB / 473.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.1068, allocations: 0 / 473.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.1068, allocations: 0 / 473.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.652e-06/0.1068, allocations: 0 / 473.9 MB, free: 10.46 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005492/0.1073, allocations: 411 kB / 474.3 MB, free: 10.01 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.1074, allocations: 15.97 kB / 474.3 MB, free: 9.992 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.283e-05/0.1074, allocations: 8.844 kB / 474.3 MB, free: 9.984 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002626/0.1077, allocations: 203.8 kB / 474.5 MB, free: 9.75 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.1077, allocations: 384 / 474.5 MB, free: 9.75 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.251e-05/0.1078, allocations: 12.12 kB / 474.5 MB, free: 9.738 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001662/0.1079, allocations: 53.67 kB / 474.6 MB, free: 9.68 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.108, allocations: 0 / 474.6 MB, free: 9.68 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.108, allocations: 0 / 474.6 MB, free: 9.68 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.174e-06/0.108, allocations: 4 kB / 474.6 MB, free: 9.676 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.653e-05/0.1081, allocations: 19.98 kB / 474.6 MB, free: 9.656 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003718/0.1084, allocations: 292.8 kB / 474.9 MB, free: 9.32 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001559/0.1086, allocations: 54.67 kB / 474.9 MB, free: 9.258 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.177e-05/0.1087, allocations: 20.86 kB / 474.9 MB, free: 9.234 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.138e-05/0.1087, allocations: 4 kB / 474.9 MB, free: 9.23 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001461/0.1089, allocations: 67.33 kB / 475 MB, free: 9.152 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.382e-06/0.1089, allocations: 0 / 475 MB, free: 9.152 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005201/0.1094, allocations: 173.2 kB / 475.2 MB, free: 8.977 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.422e-05/0.1094, allocations: 51.41 kB / 475.2 MB, free: 8.914 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001486/0.1096, allocations: 174.2 kB / 475.4 MB, free: 8.734 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.538e-05/0.1096, allocations: 25.7 kB / 475.4 MB, free: 8.703 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.978e-05/0.1097, allocations: 100.1 kB / 475.5 MB, free: 8.602 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.907e-05/0.1097, allocations: 27.64 kB / 475.6 MB, free: 8.574 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.75e-05/0.1097, allocations: 21.72 kB / 475.6 MB, free: 8.547 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001235/0.1099, allocations: 334.7 kB / 475.9 MB, free: 8.211 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.471e-05/0.1099, allocations: 15.98 kB / 475.9 MB, free: 8.195 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.341e-05/0.11, allocations: 37.7 kB / 476 MB, free: 8.152 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001082/0.1101, allocations: 65.64 kB / 476 MB, free: 8.082 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.1101, allocations: 4.359 kB / 476 MB, free: 8.078 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000177/0.1103, allocations: 101.4 kB / 476.1 MB, free: 7.973 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.1103, allocations: 4 kB / 476.1 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.1103, allocations: 0 / 476.1 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.1104, allocations: 0 / 476.1 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.973e-05/0.1105, allocations: 27.92 kB / 476.2 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.1105, allocations: 0 / 476.2 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.511e-05/0.1105, allocations: 7.938 kB / 476.2 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-06/0.1105, allocations: 8.031 kB / 476.2 MB, free: 7.926 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 9.165e-05/0.1106, allocations: 123.4 kB / 476.3 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.934e-05/0.1107, allocations: 7.906 kB / 476.3 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.305e-05/0.1107, allocations: 16.72 kB / 476.3 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.075e-06/0.1107, allocations: 7.984 kB / 476.3 MB, free: 7.762 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.1107, allocations: 0 / 476.3 MB, free: 7.762 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.1107, allocations: 3.938 kB / 476.3 MB, free: 7.758 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004355/0.1112, allocations: 387.3 kB / 476.7 MB, free: 7.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.1112, allocations: 0 / 476.7 MB, free: 7.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.435e-05/0.1112, allocations: 11.98 kB / 476.7 MB, free: 7.309 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.169e-06/0.1112, allocations: 4 kB / 476.7 MB, free: 7.305 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.423e-05/0.1113, allocations: 7.938 kB / 476.7 MB, free: 7.297 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1113, allocations: 3.938 kB / 476.7 MB, free: 7.293 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.1113, allocations: 240 / 476.7 MB, free: 7.293 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002369/0.1115, allocations: 204.2 kB / 476.9 MB, free: 7.074 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.361e-05/0.1116, allocations: 85.02 kB / 477 MB, free: 6.973 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.883e-05/0.1116, allocations: 11.92 kB / 477 MB, free: 6.961 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.811e-05/0.1117, allocations: 4 kB / 477 MB, free: 6.957 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.961e-05/0.1117, allocations: 4 kB / 477 MB, free: 6.953 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.832e-05/0.1117, allocations: 7.984 kB / 477 MB, free: 6.945 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001099/0.1118, allocations: 136.7 kB / 477.2 MB, free: 6.812 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1119, allocations: 0 / 477.2 MB, free: 6.812 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002528/0.1121, allocations: 24 kB / 477.2 MB, free: 6.789 MB / 350.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: 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 (8): * Single equations (assignments): 6 * 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.001002/0.1131, allocations: 473.6 kB / 477.7 MB, free: 6.508 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001816/0.1133, allocations: 51.98 kB / 477.7 MB, free: 6.457 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1133, allocations: 4.062 kB / 477.7 MB, free: 6.453 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.431e-05/0.1134, allocations: 39.91 kB / 477.8 MB, free: 6.414 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003383/0.1138, allocations: 23.98 kB / 477.8 MB, free: 6.391 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004295/0.1142, allocations: 214.8 kB / 478 MB, free: 6.148 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002665/0.1145, allocations: 0.6963 MB / 478.7 MB, free: 5.426 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.966e-05/0.1145, allocations: 21.17 kB / 478.7 MB, free: 5.402 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.73e-05/0.1146, allocations: 23.42 kB / 478.7 MB, free: 5.379 MB / 350.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1146, allocations: 3.938 kB / 478.7 MB, free: 5.375 MB / 350.1 MB Notification: Performance of Templates: time 0.004135/0.1187, allocations: 1.685 MB / 480.4 MB, free: 3.707 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test15/Test15.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches