Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test12.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009688/0.0009689, allocations: 173.7 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.282/1.282, allocations: 205.4 MB / 222.9 MB, free: 9.016 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008427/0.0008428, allocations: 89.48 kB / 271.2 MB, free: 8.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2977/0.2977, allocations: 43.56 MB / 363.1 MB, free: 51.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004081/0.0004081, allocations: 19.97 kB / 432 MB, free: 5.59 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09671/0.09713, allocations: 58.84 MB / 490.8 MB, free: 10.66 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.00207/0.09926, allocations: 1.598 MB / 492.4 MB, free: 9.043 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001104/0.1004, allocations: 0.7772 MB / 493.2 MB, free: 8.258 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.637e-05/0.1005, allocations: 3.938 kB / 493.2 MB, free: 8.254 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002406/0.1007, allocations: 31.83 kB / 493.2 MB, free: 8.223 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001682/0.1009, allocations: 55.77 kB / 493.3 MB, free: 8.168 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002405/0.1011, allocations: 83.83 kB / 493.4 MB, free: 8.086 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001856/0.1013, allocations: 119.6 kB / 493.5 MB, free: 7.969 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.1015, allocations: 33.45 kB / 493.5 MB, free: 7.934 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.096e-05/0.1015, allocations: 47.73 kB / 493.6 MB, free: 7.887 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.262e-05/0.1016, allocations: 39.78 kB / 493.6 MB, free: 7.848 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.847e-05/0.1016, allocations: 4 kB / 493.6 MB, free: 7.844 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.25e-05/0.1017, allocations: 39.91 kB / 493.7 MB, free: 7.805 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.077e-05/0.1018, allocations: 15.92 kB / 493.7 MB, free: 7.789 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.138e-05/0.1019, allocations: 69.44 kB / 493.7 MB, free: 7.715 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001481/0.102, allocations: 112 kB / 493.8 MB, free: 7.605 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.102, allocations: 3.938 kB / 493.8 MB, free: 7.602 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.102, allocations: 0 / 493.8 MB, free: 7.602 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.677e-06/0.1021, allocations: 0 / 493.8 MB, free: 7.602 MB / 378.7 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.000538/0.1026, allocations: 460.6 kB / 494.3 MB, free: 7.098 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.839e-05/0.1026, allocations: 8.031 kB / 494.3 MB, free: 7.09 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.866e-05/0.1027, allocations: 16.75 kB / 494.3 MB, free: 7.074 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002355/0.1029, allocations: 220.1 kB / 494.5 MB, free: 6.82 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.679e-05/0.1029, allocations: 8.312 kB / 494.5 MB, free: 6.812 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.347e-05/0.103, allocations: 12.12 kB / 494.6 MB, free: 6.801 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002182/0.1032, allocations: 112.2 kB / 494.7 MB, free: 6.676 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.1032, allocations: 4 kB / 494.7 MB, free: 6.672 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.1032, allocations: 0 / 494.7 MB, free: 6.672 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.1032, allocations: 3.938 kB / 494.7 MB, free: 6.668 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000152/0.1034, allocations: 59.89 kB / 494.7 MB, free: 6.609 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000534/0.1039, allocations: 0.5126 MB / 495.2 MB, free: 6.039 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003052/0.1043, allocations: 90.66 kB / 495.3 MB, free: 5.941 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.538e-05/0.1044, allocations: 36.84 kB / 495.4 MB, free: 5.902 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.695e-05/0.1044, allocations: 7.938 kB / 495.4 MB, free: 5.895 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002032/0.1046, allocations: 87.31 kB / 495.5 MB, free: 5.797 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 1.463e-06/0.1046, allocations: 0 / 495.5 MB, free: 5.797 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003611/0.105, allocations: 149.4 kB / 495.6 MB, free: 5.645 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.539e-05/0.105, allocations: 59.34 kB / 495.7 MB, free: 5.574 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001698/0.1052, allocations: 187.5 kB / 495.8 MB, free: 5.379 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.64e-05/0.1052, allocations: 29.7 kB / 495.9 MB, free: 5.344 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.157e-05/0.1053, allocations: 111.9 kB / 496 MB, free: 5.23 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.444e-05/0.1053, allocations: 27.66 kB / 496 MB, free: 5.203 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.693e-06/0.1053, allocations: 4 kB / 496 MB, free: 5.199 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001116/0.1055, allocations: 326.8 kB / 496.3 MB, free: 4.871 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.734e-05/0.1056, allocations: 31.98 kB / 496.4 MB, free: 4.84 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.458e-05/0.1057, allocations: 60.28 kB / 496.4 MB, free: 4.766 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001812/0.1059, allocations: 100.6 kB / 496.5 MB, free: 4.652 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.1059, allocations: 0 / 496.5 MB, free: 4.652 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002569/0.1061, allocations: 153.2 kB / 496.7 MB, free: 4.496 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.264e-05/0.1062, allocations: 11.44 kB / 496.7 MB, free: 4.488 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.1062, allocations: 0 / 496.7 MB, free: 4.488 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.1062, allocations: 0 / 496.7 MB, free: 4.488 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.58e-05/0.1063, allocations: 27.92 kB / 496.7 MB, free: 4.461 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.1063, allocations: 4 kB / 496.7 MB, free: 4.457 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.875e-05/0.1064, allocations: 19.95 kB / 496.7 MB, free: 4.438 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.27e-05/0.1064, allocations: 8 kB / 496.7 MB, free: 4.43 MB / 378.7 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.58e-05/0.1065, allocations: 125.8 kB / 496.9 MB, free: 4.297 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.846e-05/0.1065, allocations: 7.906 kB / 496.9 MB, free: 4.289 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.273e-05/0.1066, allocations: 21.39 kB / 496.9 MB, free: 4.27 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.1066, allocations: 7.938 kB / 496.9 MB, free: 4.262 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.1066, allocations: 0 / 496.9 MB, free: 4.262 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.1066, allocations: 0 / 496.9 MB, free: 4.262 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001667/0.1068, allocations: 213.5 kB / 497.1 MB, free: 4.004 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-06/0.1068, allocations: 4 kB / 497.1 MB, free: 4 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.434e-05/0.1069, allocations: 15.98 kB / 497.1 MB, free: 3.984 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.145e-06/0.1069, allocations: 4 kB / 497.1 MB, free: 3.98 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.1069, allocations: 0 / 497.1 MB, free: 3.98 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.1069, allocations: 3.938 kB / 497.1 MB, free: 3.977 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.1069, allocations: 0 / 497.1 MB, free: 3.977 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003477/0.1072, allocations: 188.9 kB / 497.3 MB, free: 3.773 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.235e-05/0.1073, allocations: 100.8 kB / 497.4 MB, free: 3.656 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.085e-05/0.1073, allocations: 0 / 497.4 MB, free: 3.656 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.32e-05/0.1074, allocations: 7.938 kB / 497.4 MB, free: 3.648 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.509e-05/0.1074, allocations: 11.92 kB / 497.4 MB, free: 3.637 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.496e-05/0.1075, allocations: 8 kB / 497.5 MB, free: 3.629 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001062/0.1076, allocations: 137.3 kB / 497.6 MB, free: 3.496 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1076, allocations: 4.188 kB / 497.6 MB, free: 3.492 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002075/0.1078, allocations: 24 kB / 497.6 MB, free: 3.469 MB / 378.7 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.nextTimeEventScaled,t_new.nextTimeEvent) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008064/0.1086, allocations: 417.6 kB / 498 MB, free: 3.098 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002273/0.1088, allocations: 79.91 kB / 498.1 MB, free: 3.02 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.1089, allocations: 4.25 kB / 498.1 MB, free: 3.016 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.603e-05/0.109, allocations: 44.05 kB / 498.1 MB, free: 2.973 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000265/0.1092, allocations: 35.58 kB / 498.2 MB, free: 2.941 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000491/0.1097, allocations: 331.2 kB / 498.5 MB, free: 2.586 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002572/0.11, allocations: 0.7123 MB / 499.2 MB, free: 1.848 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.864e-05/0.1101, allocations: 15.44 kB / 499.2 MB, free: 1.832 MB / 378.7 MB Notification: Performance of SimCode: time 1.513e-06/0.1101, allocations: 4 kB / 499.2 MB, free: 1.828 MB / 378.7 MB Notification: Performance of Templates: time 0.1557/0.2658, allocations: 2.126 MB / 0.4896 GB, free: 42.53 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test12.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test12 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches