Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.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.FluxTubes.BasicComponents,tolerance=1e-05,outputFormat="mat",numberOfIntervals=9332,variableFilter="time|converter.Phi|converter.i|converter1.i|eddyCurrent.Phi|leakageWithCoefficient.port_p.Phi",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents") translateModel(ModelicaTest.FluxTubes.BasicComponents,tolerance=1e-05,outputFormat="mat",numberOfIntervals=9332,variableFilter="time|converter.Phi|converter.i|converter1.i|eddyCurrent.Phi|leakageWithCoefficient.port_p.Phi",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001331/0.001331, allocations: 107 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.001506/0.001506, allocations: 198.2 kB / 18.02 MB, free: 5.094 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.359/1.359, 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.1984/0.1984, allocations: 43.53 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.001333/0.001333, allocations: 63.91 kB / 442.5 MB, free: 5.691 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1015, allocations: 57.79 MB / 0.4885 GB, free: 11.83 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.BasicComponents): time 0.004949/0.1065, allocations: 3.428 MB / 0.4919 GB, free: 8.383 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001328/0.1079, allocations: 0.8264 MB / 0.4927 GB, free: 7.547 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001779/0.1081, allocations: 8 kB / 0.4927 GB, free: 7.539 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002017/0.1083, allocations: 79.23 kB / 0.4928 GB, free: 7.461 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002476/0.1086, allocations: 122.8 kB / 0.4929 GB, free: 7.34 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003461/0.1089, allocations: 127.8 kB / 0.493 GB, free: 7.215 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000469/0.1094, allocations: 0.5218 MB / 0.4935 GB, free: 6.691 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000319/0.1097, allocations: 241.8 kB / 0.4937 GB, free: 6.449 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002273/0.11, allocations: 219.2 kB / 0.494 GB, free: 6.234 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002511/0.1102, allocations: 235 kB / 0.4942 GB, free: 6.004 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.383e-05/0.1103, allocations: 52 kB / 0.4942 GB, free: 5.953 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.14e-05/0.1104, allocations: 48 kB / 0.4943 GB, free: 5.906 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.208e-05/0.1105, allocations: 111.6 kB / 0.4944 GB, free: 5.797 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001936/0.1107, allocations: 246.8 kB / 0.4946 GB, free: 5.555 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005146/0.1112, allocations: 0.5566 MB / 0.4952 GB, free: 4.996 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.1112, allocations: 0 / 0.4952 GB, free: 4.996 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1112, allocations: 0 / 0.4952 GB, free: 4.996 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.328e-06/0.1112, allocations: 0 / 0.4952 GB, free: 4.996 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001205/0.1124, allocations: 0.7598 MB / 0.4959 GB, free: 4.191 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.1125, allocations: 8.031 kB / 0.4959 GB, free: 4.184 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001053/0.1126, allocations: 56.36 kB / 0.496 GB, free: 4.129 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004311/0.113, allocations: 329.3 kB / 0.4963 GB, free: 3.766 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.165e-05/0.1131, allocations: 33.38 kB / 0.4963 GB, free: 3.734 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.691e-05/0.1131, allocations: 52.31 kB / 0.4964 GB, free: 3.684 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007347/0.1139, allocations: 459.3 kB / 0.4968 GB, free: 3.223 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.1139, allocations: 4 kB / 0.4968 GB, free: 3.219 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.753e-05/0.1139, allocations: 28 kB / 0.4968 GB, free: 3.191 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.293e-05/0.114, allocations: 8 kB / 0.4968 GB, free: 3.184 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006315/0.1146, allocations: 327.8 kB / 0.4971 GB, free: 2.863 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002112/0.1167, allocations: 1.674 MB / 0.4988 GB, free: 1.074 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004916/0.1172, allocations: 240.9 kB / 0.499 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000292/0.1175, allocations: 141.6 kB / 0.4991 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.036e-05/0.1176, allocations: 0 / 0.4991 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.384e-05/0.1176, allocations: 38.56 kB / 0.4992 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of pre-optimization done (n=26): time 1.322e-06/0.1176, allocations: 0 / 0.4992 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.002754/0.1204, allocations: 1.34 MB / 0.5005 GB, free: 15.17 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.96e-05/0.1204, allocations: 81.11 kB / 0.5006 GB, free: 15.07 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002736/0.1207, allocations: 262.8 kB / 0.5008 GB, free: 14.8 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.011e-05/0.1207, allocations: 33.7 kB / 0.5009 GB, free: 14.77 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001415/0.1209, allocations: 259.4 kB / 0.5011 GB, free: 14.5 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.932e-05/0.121, allocations: 126.3 kB / 0.5012 GB, free: 14.38 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001027/0.1211, allocations: 74.05 kB / 0.5013 GB, free: 14.3 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001287/0.1212, allocations: 342.8 kB / 0.5016 GB, free: 13.96 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002561/0.1215, allocations: 108.8 kB / 0.5017 GB, free: 13.85 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000309/0.1218, allocations: 216.2 kB / 0.5019 GB, free: 13.6 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005673/0.1224, allocations: 335.7 kB / 0.5022 GB, free: 13.23 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.1224, allocations: 4 kB / 0.5023 GB, free: 13.22 MB / 398.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0007525/0.1232, allocations: 421.9 kB / 0.5027 GB, free: 12.8 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.1232, allocations: 8 kB / 0.5027 GB, free: 12.79 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.1232, allocations: 4 kB / 0.5027 GB, free: 12.79 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001246/0.1233, allocations: 28.84 kB / 0.5027 GB, free: 12.76 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004393/0.1238, allocations: 119.9 kB / 0.5028 GB, free: 12.64 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001084/0.1249, allocations: 1.446 MB / 0.5042 GB, free: 11.05 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002285/0.1251, allocations: 19.98 kB / 0.5042 GB, free: 11.03 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.313e-05/0.1252, allocations: 16.06 kB / 0.5043 GB, free: 11.01 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000181/0.1253, allocations: 169.7 kB / 0.5044 GB, free: 10.84 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.365e-05/0.1254, allocations: 35.61 kB / 0.5045 GB, free: 10.8 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.971e-05/0.1255, allocations: 30.19 kB / 0.5045 GB, free: 10.77 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.1255, allocations: 7.922 kB / 0.5045 GB, free: 10.76 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.1255, allocations: 4 kB / 0.5045 GB, free: 10.76 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001351/0.1257, allocations: 116.8 kB / 0.5046 GB, free: 10.62 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.805e-05/0.1257, allocations: 8 kB / 0.5046 GB, free: 10.62 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002608/0.126, allocations: 19.98 kB / 0.5046 GB, free: 10.6 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.326e-05/0.126, allocations: 39.73 kB / 0.5047 GB, free: 10.56 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009832/0.127, allocations: 0.5042 MB / 0.5052 GB, free: 10.05 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008683/0.1279, allocations: 0.6571 MB / 0.5058 GB, free: 9.375 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002473/0.1282, allocations: 112 kB / 0.5059 GB, free: 9.266 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001566/0.1283, allocations: 186 kB / 0.5061 GB, free: 9.086 MB / 398.1 MB Notification: Performance of Backend: time 2.81e-07/0.1283, allocations: 0 / 0.5061 GB, free: 9.086 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009056/0.1293, allocations: 407.7 kB / 0.5065 GB, free: 8.676 MB / 398.1 MB Notification: Performance of SimCode: time 0.001455/0.1307, allocations: 1.293 MB / 0.5077 GB, free: 7.336 MB / 398.1 MB Notification: Performance of Templates: time 0.007218/0.138, allocations: 3.802 MB / 0.5114 GB, free: 3.551 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.sim & ./ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/BasicComponents/BasicComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches