Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.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 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 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 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.Utilities.TestInternal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal") translateModel(ModelicaTest.Utilities.TestInternal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001609/0.001609, allocations: 110.7 kB / 17.08 MB, free: 6.016 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.001849/0.001849, allocations: 191.1 kB / 18.01 MB, free: 5.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.513/1.513, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2089/0.2089, allocations: 43.52 MB / 314.8 MB, free: 468 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001372/0.001372, allocations: 63.89 kB / 442.4 MB, free: 5.711 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1042, allocations: 57.79 MB / 0.4885 GB, free: 11.84 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestInternal): time 0.001672/0.1059, allocations: 494 kB / 0.489 GB, free: 11.37 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006029/0.1065, allocations: 251.8 kB / 0.4892 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.192e-05/0.1066, allocations: 0 / 0.4892 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.252e-05/0.1066, allocations: 0 / 0.4892 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.33e-06/0.1066, allocations: 0 / 0.4892 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003135/0.1069, allocations: 55.77 kB / 0.4893 GB, free: 11.07 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5e-05/0.107, allocations: 4 kB / 0.4893 GB, free: 11.06 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.685e-05/0.107, allocations: 3.984 kB / 0.4893 GB, free: 11.06 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.459e-05/0.1071, allocations: 0 / 0.4893 GB, free: 11.06 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.301e-05/0.1071, allocations: 7.984 kB / 0.4893 GB, free: 11.05 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.925e-06/0.1071, allocations: 0 / 0.4893 GB, free: 11.05 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001532/0.1073, allocations: 63.95 kB / 0.4894 GB, free: 10.99 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.221e-06/0.1073, allocations: 0 / 0.4894 GB, free: 10.99 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.458e-05/0.1073, allocations: 3.938 kB / 0.4894 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001461/0.1074, allocations: 59.92 kB / 0.4894 GB, free: 10.93 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.1075, allocations: 4 kB / 0.4894 GB, free: 10.92 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1075, allocations: 4 kB / 0.4894 GB, free: 10.92 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.1075, allocations: 0 / 0.4894 GB, free: 10.92 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003227/0.1078, allocations: 349.3 kB / 0.4898 GB, free: 10.52 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.1079, allocations: 11.89 kB / 0.4898 GB, free: 10.51 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.793e-05/0.1079, allocations: 0.9375 kB / 0.4898 GB, free: 10.51 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001047/0.108, allocations: 168.3 kB / 0.4899 GB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/0.108, allocations: 4.375 kB / 0.4899 GB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.201e-05/0.108, allocations: 8.312 kB / 0.4899 GB, free: 10.29 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.81e-05/0.1081, allocations: 34.2 kB / 0.49 GB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.1081, allocations: 4.188 kB / 0.49 GB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.1082, allocations: 3.938 kB / 0.49 GB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.1082, allocations: 0 / 0.49 GB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.711e-05/0.1082, allocations: 0 / 0.49 GB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001258/0.1083, allocations: 145.6 kB / 0.4901 GB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.058e-05/0.1084, allocations: 22.59 kB / 0.4901 GB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.433e-05/0.1084, allocations: 8.797 kB / 0.4901 GB, free: 10.01 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.977e-06/0.1084, allocations: 8 kB / 0.4902 GB, free: 10 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.267e-05/0.1085, allocations: 60.33 kB / 0.4902 GB, free: 9.93 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.1085, allocations: 0 / 0.4902 GB, free: 9.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001701/0.1086, allocations: 63.34 kB / 0.4903 GB, free: 9.855 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.693e-05/0.1087, allocations: 81.09 kB / 0.4903 GB, free: 9.758 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.565e-05/0.1087, allocations: 89.86 kB / 0.4904 GB, free: 9.66 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.154e-05/0.1088, allocations: 25.7 kB / 0.4905 GB, free: 9.629 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.474e-05/0.1088, allocations: 80.27 kB / 0.4905 GB, free: 9.547 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.66e-05/0.1088, allocations: 8 kB / 0.4905 GB, free: 9.539 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.947e-05/0.1088, allocations: 13.72 kB / 0.4906 GB, free: 9.52 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.109, allocations: 310.8 kB / 0.4909 GB, free: 9.207 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.195e-05/0.109, allocations: 3.938 kB / 0.4909 GB, free: 9.203 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.504e-06/0.109, allocations: 4 kB / 0.4909 GB, free: 9.199 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.437e-05/0.109, allocations: 60.2 kB / 0.4909 GB, free: 9.125 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.1091, allocations: 3.984 kB / 0.4909 GB, free: 9.121 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.729e-05/0.1091, allocations: 67.47 kB / 0.491 GB, free: 9.043 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.866e-05/0.1092, allocations: 33.7 kB / 0.491 GB, free: 9.004 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.1092, allocations: 3.984 kB / 0.491 GB, free: 9 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.1092, allocations: 3.938 kB / 0.491 GB, free: 8.996 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.082e-06/0.1092, allocations: 0 / 0.491 GB, free: 8.996 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.1092, allocations: 0 / 0.491 GB, free: 8.996 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.644e-05/0.1092, allocations: 0 / 0.491 GB, free: 8.996 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.093e-06/0.1093, allocations: 0 / 0.491 GB, free: 8.996 MB / 382.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: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.252e-05/0.1093, allocations: 147.4 kB / 0.4912 GB, free: 8.836 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.437e-06/0.1094, allocations: 8.016 kB / 0.4912 GB, free: 8.828 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.147e-05/0.1094, allocations: 7.062 kB / 0.4912 GB, free: 8.816 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.1094, allocations: 0 / 0.4912 GB, free: 8.816 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.1094, allocations: 0 / 0.4912 GB, free: 8.816 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.1094, allocations: 7.938 kB / 0.4912 GB, free: 8.809 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.474e-05/0.1095, allocations: 153.7 kB / 0.4913 GB, free: 8.609 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.1095, allocations: 0 / 0.4913 GB, free: 8.609 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.052e-06/0.1095, allocations: 0 / 0.4913 GB, free: 8.609 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.572e-06/0.1095, allocations: 0 / 0.4913 GB, free: 8.609 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.666e-06/0.1095, allocations: 3.938 kB / 0.4913 GB, free: 8.605 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.91e-07/0.1095, allocations: 4 kB / 0.4913 GB, free: 8.602 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1096, allocations: 4 kB / 0.4913 GB, free: 8.598 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.68e-05/0.1097, allocations: 86.83 kB / 0.4914 GB, free: 8.488 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.23e-05/0.1097, allocations: 81.11 kB / 0.4915 GB, free: 8.391 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.458e-05/0.1097, allocations: 3.938 kB / 0.4915 GB, free: 8.387 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.001e-05/0.1097, allocations: 0 / 0.4915 GB, free: 8.387 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.374e-05/0.1097, allocations: 0 / 0.4915 GB, free: 8.387 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.492e-06/0.1098, allocations: 0 / 0.4915 GB, free: 8.387 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.288e-05/0.1098, allocations: 87.25 kB / 0.4916 GB, free: 8.301 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.1098, allocations: 0 / 0.4916 GB, free: 8.301 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002394/0.11, allocations: 23.98 kB / 0.4916 GB, free: 8.277 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0004824/0.1105, allocations: 262.3 kB / 0.4919 GB, free: 8.039 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.749e-05/0.1106, allocations: 59.41 kB / 0.4919 GB, free: 7.969 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1107, allocations: 0 / 0.4919 GB, free: 7.969 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.119e-05/0.1107, allocations: 55.41 kB / 0.492 GB, free: 7.902 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001292/0.1108, allocations: 11.94 kB / 0.492 GB, free: 7.891 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000195/0.111, allocations: 110.6 kB / 0.4921 GB, free: 7.75 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000246/0.1113, allocations: 0.6729 MB / 0.4927 GB, free: 7.051 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.174e-05/0.1113, allocations: 7.438 kB / 0.4928 GB, free: 7.043 MB / 382.1 MB Notification: Performance of SimCode: time 2.044e-06/0.1113, allocations: 0 / 0.4928 GB, free: 7.043 MB / 382.1 MB Notification: Performance of Templates: time 0.002531/0.1138, allocations: 0.9677 MB / 0.4937 GB, free: 6.074 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.sim & ./ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Utilities/TestInternal/TestInternal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches