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/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.00121/0.001211, allocations: 183 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.363/1.363, allocations: 205.1 MB / 222.5 MB, free: 8.48 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009144/0.0009144, allocations: 108.8 kB / 269.9 MB, free: 8.438 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3887/0.3887, allocations: 43.48 MB / 360.7 MB, free: 51.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009807/0.0009808, allocations: 55.92 kB / 429.2 MB, free: 6.383 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1154, allocations: 57.77 MB / 487 MB, free: 12.54 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.FixedShape): time 0.00407/0.1195, allocations: 2.442 MB / 489.5 MB, free: 10.08 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001333/0.1209, allocations: 0.803 MB / 490.3 MB, free: 9.27 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002358/0.1211, allocations: 8 kB / 490.3 MB, free: 9.262 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002415/0.1214, allocations: 39.7 kB / 490.3 MB, free: 9.223 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002554/0.1217, allocations: 87.48 kB / 490.4 MB, free: 9.137 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002481/0.1219, allocations: 87.8 kB / 490.5 MB, free: 9.051 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003369/0.1223, allocations: 322.8 kB / 490.8 MB, free: 8.734 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001686/0.1224, allocations: 93.11 kB / 490.9 MB, free: 8.641 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002545/0.1227, allocations: 119.5 kB / 491 MB, free: 8.523 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000186/0.1229, allocations: 151.3 kB / 491.1 MB, free: 8.375 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.468e-05/0.123, allocations: 20 kB / 491.2 MB, free: 8.355 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.725e-05/0.123, allocations: 16 kB / 491.2 MB, free: 8.34 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.221e-05/0.1231, allocations: 59.75 kB / 491.2 MB, free: 8.281 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001198/0.1232, allocations: 139.2 kB / 491.4 MB, free: 8.145 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003373/0.1235, allocations: 351 kB / 491.7 MB, free: 7.801 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.1236, allocations: 4 kB / 491.7 MB, free: 7.797 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1236, allocations: 0 / 491.7 MB, free: 7.797 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.101e-05/0.1236, allocations: 0 / 491.7 MB, free: 7.797 MB / 378.7 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.001372/0.125, allocations: 0.6081 MB / 492.3 MB, free: 7.141 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.357e-05/0.125, allocations: 12.03 kB / 492.3 MB, free: 7.129 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.704e-05/0.1251, allocations: 32.56 kB / 492.4 MB, free: 7.098 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003473/0.1255, allocations: 263.5 kB / 492.6 MB, free: 6.801 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.133e-05/0.1255, allocations: 20.88 kB / 492.7 MB, free: 6.781 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.884e-05/0.1255, allocations: 24.38 kB / 492.7 MB, free: 6.758 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005235/0.1261, allocations: 249.2 kB / 492.9 MB, free: 6.512 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.1261, allocations: 0 / 492.9 MB, free: 6.512 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.532e-05/0.1261, allocations: 12 kB / 492.9 MB, free: 6.5 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.319e-05/0.1262, allocations: 11.98 kB / 492.9 MB, free: 6.488 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005018/0.1267, allocations: 226.1 kB / 493.2 MB, free: 6.27 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001322/0.128, allocations: 0.8676 MB / 494 MB, free: 5.34 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005144/0.1285, allocations: 314.6 kB / 494.3 MB, free: 5.023 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002618/0.1288, allocations: 148.8 kB / 494.5 MB, free: 4.875 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.482e-05/0.1289, allocations: 7.984 kB / 494.5 MB, free: 4.867 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.024e-05/0.1289, allocations: 38.5 kB / 494.5 MB, free: 4.82 MB / 378.7 MB Notification: Performance of pre-optimization done (n=31): time 1.352e-06/0.1289, allocations: 0 / 494.5 MB, free: 4.82 MB / 378.7 MB Notification: Performance of matching and sorting (n=31): time 0.00424/0.1331, allocations: 1.262 MB / 495.8 MB, free: 3.465 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.844e-05/0.1332, allocations: 51.41 kB / 495.8 MB, free: 3.402 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001877/0.1334, allocations: 216.9 kB / 496.1 MB, free: 3.176 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.961e-05/0.1334, allocations: 33.7 kB / 496.1 MB, free: 3.137 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.909e-05/0.1335, allocations: 161.1 kB / 496.2 MB, free: 2.977 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.581e-05/0.1336, allocations: 106.4 kB / 496.3 MB, free: 2.871 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.142e-05/0.1337, allocations: 53.56 kB / 496.4 MB, free: 2.812 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001044/0.1338, allocations: 334.8 kB / 496.7 MB, free: 2.477 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002099/0.134, allocations: 95.95 kB / 496.8 MB, free: 2.383 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002199/0.1342, allocations: 125.8 kB / 496.9 MB, free: 2.254 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004287/0.1347, allocations: 235.2 kB / 497.2 MB, free: 2.02 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.1347, allocations: 0 / 497.2 MB, free: 2.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001627/0.1363, allocations: 0.5403 MB / 497.7 MB, free: 1.461 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.1363, allocations: 4 kB / 497.7 MB, free: 1.457 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.1363, allocations: 4 kB / 497.7 MB, free: 1.453 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00152/0.1379, allocations: 307.1 kB / 498 MB, free: 1.141 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001533/0.138, allocations: 31.91 kB / 498.1 MB, free: 1.109 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006497/0.1445, allocations: 6.329 MB / 0.4926 GB, free: 10.25 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000228/0.1448, allocations: 31.73 kB / 0.4926 GB, free: 10.21 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.382e-05/0.1448, allocations: 12 kB / 0.4926 GB, free: 10.2 MB / 394.7 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.0001695/0.145, allocations: 141.8 kB / 0.4927 GB, free: 10.05 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.594e-05/0.1451, allocations: 19.72 kB / 0.4928 GB, free: 10.04 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001715/0.1468, allocations: 0.5473 MB / 0.4933 GB, free: 9.473 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.1468, allocations: 4 kB / 0.4933 GB, free: 9.469 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.1468, allocations: 7.922 kB / 0.4933 GB, free: 9.461 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.1468, allocations: 0 / 0.4933 GB, free: 9.461 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003867/0.1472, allocations: 357.1 kB / 0.4936 GB, free: 9.062 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.1472, allocations: 0 / 0.4936 GB, free: 9.062 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001114/0.1474, allocations: 23.92 kB / 0.4937 GB, free: 9.039 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001452/0.1488, allocations: 311.1 kB / 0.494 GB, free: 8.723 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.031e-05/0.1489, allocations: 4 kB / 0.494 GB, free: 8.719 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006467/0.1553, allocations: 6.377 MB / 0.5002 GB, free: 1.805 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.1553, allocations: 4.031 kB / 0.5002 GB, free: 1.801 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002106/0.1575, allocations: 1.32 MB / 0.5015 GB, free: 420 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.751e-05/0.1575, allocations: 100.8 kB / 0.5016 GB, free: 300 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.599e-05/0.1576, allocations: 4.312 kB / 0.5016 GB, free: 296 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001904/0.1578, allocations: 19.98 kB / 0.5016 GB, free: 276 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001123/0.1579, allocations: 35.95 kB / 0.5016 GB, free: 240 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.628e-05/0.1579, allocations: 4 kB / 0.5016 GB, free: 236 kB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001325/0.1581, allocations: 164.4 kB / 0.5018 GB, free: 68 kB / 394.7 MB Notification: Performance of sort global known variables: time 2e-07/0.1581, allocations: 4 kB / 0.5018 GB, free: 64 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.2004/0.3585, allocations: 114 kB / 0.5019 GB, free: 59.42 MB / 394.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 (11): * Single equations (assignments): 7 * 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 {(2,4), (2,4), (2,4), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001765/0.3587, allocations: 105.8 kB / 0.502 GB, free: 59.33 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001117/0.3599, allocations: 0.7365 MB / 0.5027 GB, free: 58.89 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.3599, allocations: 1.062 kB / 0.5027 GB, free: 58.89 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001095/0.361, allocations: 0.7238 MB / 0.5034 GB, free: 58.44 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003466/0.3613, allocations: 25.44 kB / 0.5035 GB, free: 58.44 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001009/0.3624, allocations: 0.8424 MB / 0.5043 GB, free: 57.98 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002172/0.3626, allocations: 0.7761 MB / 0.505 GB, free: 57.28 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 7.2e-05/0.3627, allocations: 8.906 kB / 0.5051 GB, free: 57.28 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.258e-05/0.3627, allocations: 12.12 kB / 0.5051 GB, free: 57.27 MB / 394.7 MB Notification: Performance of SimCode: time 2.1e-07/0.3627, allocations: 1.688 kB / 0.5051 GB, free: 57.27 MB / 394.7 MB Notification: Performance of Templates: time 0.01092/0.3736, allocations: 7.808 MB / 0.5127 GB, free: 56.96 MB / 394.7 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/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/Shapes/FixedShape/FixedShape.csv","../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches