Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001191/0.001191, allocations: 177.9 kB / 16.08 MB, free: 5.539 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.403/1.403, allocations: 205.6 MB / 222.4 MB, free: 13.65 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000789/0.0007889, allocations: 94.22 kB / 270.8 MB, free: 13.17 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1884/0.1884, allocations: 43.69 MB / 362.7 MB, free: 11.03 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003308/0.0003309, allocations: 12 kB / 432.3 MB, free: 19.11 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.1008, allocations: 58.86 MB / 491.2 MB, free: 8.125 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.001654/0.1025, allocations: 1.262 MB / 492.4 MB, free: 6.844 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001166/0.1037, allocations: 1.046 MB / 493.5 MB, free: 5.754 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.686e-05/0.1038, allocations: 0 / 493.5 MB, free: 5.754 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001772/0.104, allocations: 23.91 kB / 493.5 MB, free: 5.73 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001332/0.1041, allocations: 27.92 kB / 493.5 MB, free: 5.703 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001914/0.1043, allocations: 71.84 kB / 493.6 MB, free: 5.633 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001062/0.1044, allocations: 43.91 kB / 493.6 MB, free: 5.59 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.204e-05/0.1045, allocations: 12 kB / 493.7 MB, free: 5.578 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.516e-05/0.1046, allocations: 23.8 kB / 493.7 MB, free: 5.555 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001045/0.1047, allocations: 23.91 kB / 493.7 MB, free: 5.531 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.342e-05/0.1047, allocations: 0 / 493.7 MB, free: 5.531 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.271e-05/0.1048, allocations: 43.92 kB / 493.7 MB, free: 5.488 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 3.699e-05/0.1048, allocations: 11.97 kB / 493.8 MB, free: 5.477 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 3.995e-05/0.1049, allocations: 45.58 kB / 493.8 MB, free: 5.426 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001505/0.105, allocations: 84 kB / 493.9 MB, free: 5.344 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.105, allocations: 4 kB / 493.9 MB, free: 5.34 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.765e-06/0.105, allocations: 0 / 493.9 MB, free: 5.34 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.446e-06/0.1051, allocations: 3.938 kB / 493.9 MB, free: 5.336 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000366/0.1054, allocations: 363.4 kB / 494.2 MB, free: 4.934 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.258e-05/0.1055, allocations: 8.031 kB / 494.3 MB, free: 4.926 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.58e-05/0.1055, allocations: 16.84 kB / 494.3 MB, free: 4.91 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001698/0.1057, allocations: 196.2 kB / 494.5 MB, free: 4.68 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.158e-06/0.1057, allocations: 384 / 494.5 MB, free: 4.68 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.714e-05/0.1057, allocations: 4.375 kB / 494.5 MB, free: 4.676 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001521/0.1059, allocations: 63.53 kB / 494.5 MB, free: 4.602 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.1059, allocations: 3.938 kB / 494.5 MB, free: 4.598 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.388e-06/0.1059, allocations: 4 kB / 494.5 MB, free: 4.594 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.1059, allocations: 0 / 494.5 MB, free: 4.594 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.618e-05/0.106, allocations: 31.97 kB / 494.6 MB, free: 4.562 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000289/0.1063, allocations: 268.8 kB / 494.8 MB, free: 4.25 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001788/0.1065, allocations: 46.5 kB / 494.9 MB, free: 4.195 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.904e-05/0.1066, allocations: 20.94 kB / 494.9 MB, free: 4.172 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.559e-05/0.1066, allocations: 0 / 494.9 MB, free: 4.172 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.492e-05/0.1066, allocations: 34.56 kB / 494.9 MB, free: 4.129 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 8.21e-07/0.1066, allocations: 0 / 494.9 MB, free: 4.129 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005091/0.1071, allocations: 153.4 kB / 495.1 MB, free: 3.973 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.748e-05/0.1072, allocations: 77.11 kB / 495.2 MB, free: 3.879 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001122/0.1073, allocations: 133.8 kB / 495.3 MB, free: 3.738 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.392e-05/0.1073, allocations: 25.7 kB / 495.3 MB, free: 3.707 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.908e-05/0.1074, allocations: 100.1 kB / 495.4 MB, free: 3.605 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.798e-05/0.1074, allocations: 23.66 kB / 495.4 MB, free: 3.582 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.347e-06/0.1074, allocations: 0 / 495.4 MB, free: 3.582 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.495e-05/0.1075, allocations: 322.8 kB / 495.7 MB, free: 3.258 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.17e-05/0.1076, allocations: 23.98 kB / 495.8 MB, free: 3.234 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.073e-05/0.1077, allocations: 33.7 kB / 495.8 MB, free: 3.195 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001225/0.1078, allocations: 52.86 kB / 495.9 MB, free: 3.141 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.1078, allocations: 0 / 495.9 MB, free: 3.141 MB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001688/0.108, allocations: 93.61 kB / 495.9 MB, free: 3.043 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.108, allocations: 4 kB / 496 MB, free: 3.039 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.108, allocations: 3.938 kB / 496 MB, free: 3.035 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.047e-05/0.1081, allocations: 0 / 496 MB, free: 3.035 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.153e-05/0.1081, allocations: 15.98 kB / 496 MB, free: 3.02 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.84e-06/0.1081, allocations: 0 / 496 MB, free: 3.02 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.077e-05/0.1082, allocations: 8 kB / 496 MB, free: 3.012 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.55e-06/0.1082, allocations: 0 / 496 MB, free: 3.012 MB / 330.7 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 (5): * Single equations (assignments): 5 * 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 7.73e-05/0.1083, allocations: 121.8 kB / 496.1 MB, free: 2.883 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.772e-05/0.1083, allocations: 11.89 kB / 496.1 MB, free: 2.871 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002178/0.1085, allocations: 98.09 kB / 496.2 MB, free: 2.77 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.1085, allocations: 0 / 496.2 MB, free: 2.77 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.1086, allocations: 0 / 496.2 MB, free: 2.77 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.1086, allocations: 11.98 kB / 496.2 MB, free: 2.758 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003707/0.1089, allocations: 350.5 kB / 496.6 MB, free: 2.359 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.109, allocations: 0 / 496.6 MB, free: 2.359 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.653e-05/0.109, allocations: 19.92 kB / 496.6 MB, free: 2.34 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.109, allocations: 0 / 496.6 MB, free: 2.34 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.911e-06/0.109, allocations: 4 kB / 496.6 MB, free: 2.336 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.109, allocations: 3.938 kB / 496.6 MB, free: 2.332 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1091, allocations: 0 / 496.6 MB, free: 2.332 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002032/0.1093, allocations: 183.4 kB / 496.8 MB, free: 2.137 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.504e-05/0.1093, allocations: 93.02 kB / 496.9 MB, free: 2.027 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.485e-05/0.1093, allocations: 0 / 496.9 MB, free: 2.027 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.183e-05/0.1094, allocations: 11.92 kB / 496.9 MB, free: 2.016 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.356e-05/0.1095, allocations: 4 kB / 496.9 MB, free: 2.012 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.1095, allocations: 0 / 496.9 MB, free: 2.012 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.057e-05/0.1095, allocations: 107.2 kB / 497 MB, free: 1.906 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1095, allocations: 0 / 497 MB, free: 1.906 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002252/0.1098, allocations: 20 kB / 497 MB, free: 1.887 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.0009371/0.1107, allocations: 0.5111 MB / 497.5 MB, free: 1.508 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001873/0.1109, allocations: 55.97 kB / 497.6 MB, free: 1.453 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.1109, allocations: 0 / 497.6 MB, free: 1.453 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.342e-05/0.111, allocations: 27.98 kB / 497.6 MB, free: 1.426 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002844/0.1113, allocations: 19.92 kB / 497.6 MB, free: 1.406 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003306/0.1116, allocations: 172.6 kB / 497.8 MB, free: 1.211 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002134/0.1119, allocations: 0.6848 MB / 498.5 MB, free: 0.5 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.75e-05/0.1119, allocations: 16.23 kB / 498.5 MB, free: 496 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.05e-05/0.112, allocations: 11.44 kB / 498.5 MB, free: 484 kB / 330.7 MB Notification: Performance of SimCode: time 2.3e-07/0.112, allocations: 0 / 498.5 MB, free: 484 kB / 330.7 MB Notification: Performance of Templates: time 0.003364/0.1153, allocations: 1.287 MB / 499.8 MB, free: 15.19 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches