Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.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.Shapes.FixedShape,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|signalSource.V_m|signalSource.Phi|cuboid.G_m|cuboid.A|hollowCylinderAxialFlux.G_m|hollowCylinderAxialFlux.A|hollowCylinderRadialFlux.G_m|hollowCylinderRadialFlux.A|genericFluxTube.G_m|genericFluxTube.A",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape") translateModel(ModelicaTest.FluxTubes.Shapes.FixedShape,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|signalSource.V_m|signalSource.Phi|cuboid.G_m|cuboid.A|hollowCylinderAxialFlux.G_m|hollowCylinderAxialFlux.A|hollowCylinderRadialFlux.G_m|hollowCylinderRadialFlux.A|genericFluxTube.G_m|genericFluxTube.A",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0011/0.0011, allocations: 109.1 kB / 17.09 MB, free: 6.008 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.00124/0.00124, allocations: 198.2 kB / 18.02 MB, free: 5.082 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.361/1.361, allocations: 205.1 MB / 223.9 MB, free: 12.24 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.204/0.204, allocations: 43.53 MB / 314.8 MB, free: 472 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.001556/0.001556, allocations: 67.89 kB / 442.5 MB, free: 5.691 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1101, allocations: 57.78 MB / 0.4885 GB, free: 11.83 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.FixedShape): time 0.003602/0.1137, allocations: 2.393 MB / 0.4909 GB, free: 9.422 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001441/0.1152, allocations: 0.8187 MB / 0.4917 GB, free: 8.594 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001761/0.1154, allocations: 7.938 kB / 0.4917 GB, free: 8.586 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002006/0.1156, allocations: 55.52 kB / 0.4917 GB, free: 8.531 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002716/0.1159, allocations: 95.3 kB / 0.4918 GB, free: 8.438 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002513/0.1162, allocations: 99.81 kB / 0.4919 GB, free: 8.34 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003676/0.1165, allocations: 346.8 kB / 0.4922 GB, free: 8 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001824/0.1167, allocations: 100.6 kB / 0.4923 GB, free: 7.902 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002159/0.117, allocations: 135.5 kB / 0.4925 GB, free: 7.77 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001895/0.1172, allocations: 151.4 kB / 0.4926 GB, free: 7.621 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.849e-05/0.1172, allocations: 28 kB / 0.4926 GB, free: 7.594 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.111e-05/0.1173, allocations: 28 kB / 0.4927 GB, free: 7.566 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.239e-05/0.1173, allocations: 67.77 kB / 0.4927 GB, free: 7.5 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001254/0.1175, allocations: 151.2 kB / 0.4929 GB, free: 7.352 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003357/0.1178, allocations: 362.7 kB / 0.4932 GB, free: 6.996 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.1178, allocations: 8 kB / 0.4932 GB, free: 6.988 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1178, allocations: 3.938 kB / 0.4932 GB, free: 6.984 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.726e-06/0.1179, allocations: 0 / 0.4932 GB, free: 6.984 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001084/0.1189, allocations: 0.6076 MB / 0.4938 GB, free: 6.332 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.119, allocations: 11.89 kB / 0.4938 GB, free: 6.32 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.179e-05/0.1191, allocations: 32.56 kB / 0.4939 GB, free: 6.289 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003319/0.1194, allocations: 267.5 kB / 0.4941 GB, free: 5.988 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.016e-05/0.1194, allocations: 16.94 kB / 0.4941 GB, free: 5.973 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.529e-05/0.1195, allocations: 28.38 kB / 0.4942 GB, free: 5.945 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004691/0.12, allocations: 249.2 kB / 0.4944 GB, free: 5.691 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.12, allocations: 0 / 0.4944 GB, free: 5.691 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.753e-05/0.12, allocations: 12 kB / 0.4944 GB, free: 5.68 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.12, allocations: 4 kB / 0.4944 GB, free: 5.676 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004757/0.1205, allocations: 234.1 kB / 0.4946 GB, free: 5.449 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001323/0.1218, allocations: 0.8636 MB / 0.4955 GB, free: 4.52 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005253/0.1224, allocations: 310.5 kB / 0.4958 GB, free: 4.207 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002639/0.1226, allocations: 144.8 kB / 0.4959 GB, free: 4.062 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.127e-05/0.1227, allocations: 7.984 kB / 0.4959 GB, free: 4.055 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.723e-05/0.1227, allocations: 42.55 kB / 0.496 GB, free: 4.004 MB / 382.1 MB Notification: Performance of pre-optimization done (n=31): time 1.783e-06/0.1227, allocations: 0 / 0.496 GB, free: 4.004 MB / 382.1 MB Notification: Performance of matching and sorting (n=31): time 0.004631/0.1274, allocations: 1.25 MB / 0.4972 GB, free: 2.66 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.9e-05/0.1274, allocations: 55.41 kB / 0.4972 GB, free: 2.594 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002063/0.1276, allocations: 212.9 kB / 0.4974 GB, free: 2.375 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.657e-05/0.1277, allocations: 29.7 kB / 0.4975 GB, free: 2.34 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001061/0.1278, allocations: 165.1 kB / 0.4976 GB, free: 2.176 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.149e-05/0.1278, allocations: 102.5 kB / 0.4977 GB, free: 2.074 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.86e-05/0.1279, allocations: 61.56 kB / 0.4978 GB, free: 2.008 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001135/0.1281, allocations: 330.8 kB / 0.4981 GB, free: 1.676 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002133/0.1283, allocations: 95.95 kB / 0.4982 GB, free: 1.582 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002284/0.1285, allocations: 117.9 kB / 0.4983 GB, free: 1.461 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004457/0.129, allocations: 243.2 kB / 0.4985 GB, free: 1.219 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.129, allocations: 0 / 0.4985 GB, free: 1.219 MB / 382.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001832/0.1308, allocations: 0.5363 MB / 0.4991 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.1309, allocations: 8 kB / 0.4991 GB, free: 0.6562 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.1309, allocations: 0 / 0.4991 GB, free: 0.6562 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001781/0.1327, allocations: 311.1 kB / 0.4994 GB, free: 348 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001673/0.1328, allocations: 27.92 kB / 0.4994 GB, free: 320 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007678/0.1405, allocations: 6.82 MB / 0.5061 GB, free: 8.918 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002323/0.1408, allocations: 31.86 kB / 0.5061 GB, free: 8.887 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.334e-05/0.1408, allocations: 12 kB / 0.5061 GB, free: 8.875 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,5), (1,5), (1,5), (1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001788/0.141, allocations: 145.7 kB / 0.5062 GB, free: 8.723 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.483e-05/0.1411, allocations: 31.62 kB / 0.5063 GB, free: 8.691 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001787/0.1429, allocations: 0.5473 MB / 0.5068 GB, free: 8.129 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.939e-06/0.1429, allocations: 3.984 kB / 0.5068 GB, free: 8.125 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.1429, allocations: 0 / 0.5068 GB, free: 8.125 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.598e-05/0.143, allocations: 108.7 kB / 0.5069 GB, free: 8 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.491e-05/0.143, allocations: 8 kB / 0.5069 GB, free: 7.992 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00019/0.1432, allocations: 11.98 kB / 0.5069 GB, free: 7.98 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001162/0.1433, allocations: 39.94 kB / 0.507 GB, free: 7.941 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001677/0.145, allocations: 0.5857 MB / 0.5075 GB, free: 7.336 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008218/0.1458, allocations: 0.6024 MB / 0.5081 GB, free: 6.719 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000211/0.1461, allocations: 104.2 kB / 0.5082 GB, free: 6.617 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001512/0.1462, allocations: 156.5 kB / 0.5084 GB, free: 6.465 MB / 398.1 MB Notification: Performance of Backend: time 1.713e-06/0.1462, allocations: 0 / 0.5084 GB, free: 6.465 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001305/0.1475, allocations: 0.7534 MB / 0.5091 GB, free: 5.656 MB / 398.1 MB Notification: Performance of SimCode: time 0.001356/0.1489, allocations: 1.093 MB / 0.5102 GB, free: 4.512 MB / 398.1 MB Notification: Performance of Templates: time 0.01219/0.1611, allocations: 6.464 MB / 0.5165 GB, free: 14.06 MB / 414.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.sim & ./ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/Shapes/FixedShape/FixedShape.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches