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.001208/0.001209, allocations: 103.2 kB / 17.08 MB, free: 5.824 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.001065/0.001065, allocations: 195.3 kB / 18.02 MB, free: 4.965 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.368/1.368, 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.2174/0.2174, allocations: 43.54 MB / 314.8 MB, free: 476 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.001595/0.001595, allocations: 72.42 kB / 442.5 MB, free: 5.723 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.1111, allocations: 57.79 MB / 0.4885 GB, free: 11.85 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestInternal): time 0.001621/0.1128, allocations: 486.9 kB / 0.489 GB, free: 11.38 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006463/0.1134, allocations: 247.8 kB / 0.4892 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.364e-05/0.1135, allocations: 0 / 0.4892 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.639e-05/0.1135, allocations: 0 / 0.4892 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.342e-06/0.1135, allocations: 0 / 0.4892 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003641/0.1139, allocations: 55.81 kB / 0.4893 GB, free: 11.08 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.503e-05/0.114, allocations: 7.984 kB / 0.4893 GB, free: 11.07 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.648e-05/0.114, allocations: 4 kB / 0.4893 GB, free: 11.07 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.301e-05/0.114, allocations: 0 / 0.4893 GB, free: 11.07 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.78e-05/0.1141, allocations: 0 / 0.4893 GB, free: 11.07 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.755e-06/0.1141, allocations: 0 / 0.4893 GB, free: 11.07 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001483/0.1142, allocations: 59.95 kB / 0.4893 GB, free: 11.01 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.093e-06/0.1142, allocations: 3.938 kB / 0.4894 GB, free: 11.01 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.352e-05/0.1143, allocations: 11.94 kB / 0.4894 GB, free: 11 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001369/0.1144, allocations: 59.92 kB / 0.4894 GB, free: 10.94 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.1144, allocations: 0 / 0.4894 GB, free: 10.94 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1144, allocations: 4 kB / 0.4894 GB, free: 10.93 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.1144, allocations: 0 / 0.4894 GB, free: 10.93 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.0003286/0.1148, allocations: 353.3 kB / 0.4898 GB, free: 10.53 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.1148, allocations: 19.83 kB / 0.4898 GB, free: 10.51 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.034e-05/0.1149, allocations: 0.9375 kB / 0.4898 GB, free: 10.51 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.312e-05/0.115, allocations: 168.3 kB / 0.4899 GB, free: 10.31 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.115, allocations: 384 / 0.4899 GB, free: 10.31 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.404e-06/0.115, allocations: 384 / 0.4899 GB, free: 10.31 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.033e-05/0.1151, allocations: 30.27 kB / 0.49 GB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.1151, allocations: 4.188 kB / 0.49 GB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.867e-06/0.1151, allocations: 7.875 kB / 0.49 GB, free: 10.26 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.1151, allocations: 0 / 0.49 GB, free: 10.26 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.789e-05/0.1151, allocations: 4 kB / 0.49 GB, free: 10.26 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001296/0.1153, allocations: 153.6 kB / 0.4901 GB, free: 10.06 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.977e-05/0.1153, allocations: 18.52 kB / 0.4901 GB, free: 10.03 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.66e-05/0.1153, allocations: 8.953 kB / 0.4902 GB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.65e-06/0.1154, allocations: 4 kB / 0.4902 GB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.266e-05/0.1154, allocations: 56.27 kB / 0.4902 GB, free: 9.945 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.182e-06/0.1154, allocations: 0 / 0.4902 GB, free: 9.945 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001501/0.1156, allocations: 71.33 kB / 0.4903 GB, free: 9.863 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.441e-05/0.1156, allocations: 81.05 kB / 0.4904 GB, free: 9.766 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.222e-05/0.1157, allocations: 89.86 kB / 0.4904 GB, free: 9.668 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.046e-05/0.1157, allocations: 25.7 kB / 0.4905 GB, free: 9.637 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.393e-05/0.1157, allocations: 84.14 kB / 0.4906 GB, free: 9.551 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.719e-05/0.1157, allocations: 4.125 kB / 0.4906 GB, free: 9.547 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.479e-05/0.1158, allocations: 9.719 kB / 0.4906 GB, free: 9.531 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.668e-05/0.1159, allocations: 310.8 kB / 0.4909 GB, free: 9.219 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.648e-06/0.1159, allocations: 4 kB / 0.4909 GB, free: 9.215 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.412e-06/0.1159, allocations: 4 kB / 0.4909 GB, free: 9.211 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.356e-05/0.1159, allocations: 64.25 kB / 0.4909 GB, free: 9.133 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.552e-06/0.1159, allocations: 0 / 0.4909 GB, free: 9.133 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.503e-05/0.116, allocations: 63.47 kB / 0.491 GB, free: 9.059 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.2e-05/0.116, allocations: 29.7 kB / 0.491 GB, free: 9.023 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.1161, allocations: 0 / 0.491 GB, free: 9.023 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.1161, allocations: 7.875 kB / 0.491 GB, free: 9.016 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.894e-06/0.1161, allocations: 3.984 kB / 0.491 GB, free: 9.012 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.104e-06/0.1161, allocations: 0 / 0.491 GB, free: 9.012 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.599e-05/0.1161, allocations: 4 kB / 0.491 GB, free: 9.008 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-06/0.1161, allocations: 3.938 kB / 0.491 GB, free: 9.004 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 7.098e-05/0.1162, allocations: 139.5 kB / 0.4912 GB, free: 8.852 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.879e-06/0.1162, allocations: 8.031 kB / 0.4912 GB, free: 8.844 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.598e-06/0.1162, allocations: 3.125 kB / 0.4912 GB, free: 8.836 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.1162, allocations: 7.922 kB / 0.4912 GB, free: 8.828 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.1162, allocations: 0 / 0.4912 GB, free: 8.828 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.024e-05/0.1163, allocations: 77.11 kB / 0.4913 GB, free: 8.734 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.387e-05/0.1163, allocations: 3.984 kB / 0.4913 GB, free: 8.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.406e-06/0.1163, allocations: 3.938 kB / 0.4913 GB, free: 8.727 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.317e-06/0.1163, allocations: 4 kB / 0.4913 GB, free: 8.723 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001646/0.1165, allocations: 190.1 kB / 0.4915 GB, free: 8.512 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000123/0.1166, allocations: 252.4 kB / 0.4917 GB, free: 8.242 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.452e-05/0.1167, allocations: 0 / 0.4917 GB, free: 8.242 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.278e-05/0.1167, allocations: 76.73 kB / 0.4918 GB, free: 8.168 MB / 382.1 MB Notification: Performance of Backend: time 3.3e-07/0.1167, allocations: 0 / 0.4918 GB, free: 8.168 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000661/0.1174, allocations: 313.6 kB / 0.4921 GB, free: 7.871 MB / 382.1 MB Notification: Performance of SimCode: time 0.0002966/0.1177, allocations: 0.5794 MB / 0.4926 GB, free: 7.23 MB / 382.1 MB Notification: Performance of Templates: time 0.002747/0.1204, allocations: 0.805 MB / 0.4934 GB, free: 6.426 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