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.001324/0.001324, allocations: 113.5 kB / 17.08 MB, free: 5.996 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.001467/0.001467, allocations: 197.3 kB / 18.01 MB, free: 5.074 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.436/1.436, 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.2031/0.2031, allocations: 43.51 MB / 314.8 MB, free: 480 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.001412/0.001412, allocations: 71.83 kB / 442.5 MB, free: 5.695 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.133/0.1344, allocations: 57.79 MB / 0.4885 GB, free: 11.83 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.FixedShape): time 0.004212/0.1387, allocations: 2.391 MB / 0.4909 GB, free: 9.426 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001676/0.1404, allocations: 0.8186 MB / 0.4917 GB, free: 8.598 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000275/0.1407, allocations: 4 kB / 0.4917 GB, free: 8.594 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003085/0.141, allocations: 55.5 kB / 0.4917 GB, free: 8.539 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004259/0.1415, allocations: 103.2 kB / 0.4918 GB, free: 8.438 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003772/0.1419, allocations: 91.88 kB / 0.4919 GB, free: 8.348 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005515/0.1424, allocations: 346.8 kB / 0.4922 GB, free: 8.008 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002495/0.1427, allocations: 96.62 kB / 0.4923 GB, free: 7.914 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000332/0.143, allocations: 139.5 kB / 0.4925 GB, free: 7.777 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002778/0.1433, allocations: 151.3 kB / 0.4926 GB, free: 7.629 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.366e-05/0.1434, allocations: 32 kB / 0.4926 GB, free: 7.598 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.72e-05/0.1435, allocations: 28 kB / 0.4927 GB, free: 7.57 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.127e-05/0.1435, allocations: 67.75 kB / 0.4927 GB, free: 7.504 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001881/0.1437, allocations: 151.2 kB / 0.4929 GB, free: 7.355 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004258/0.1442, allocations: 358.7 kB / 0.4932 GB, free: 7.004 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.1442, allocations: 4 kB / 0.4932 GB, free: 7 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1442, allocations: 0 / 0.4932 GB, free: 7 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.411e-05/0.1442, allocations: 4 kB / 0.4932 GB, free: 6.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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001283/0.1455, allocations: 0.6081 MB / 0.4938 GB, free: 6.34 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.926e-05/0.1456, allocations: 11.89 kB / 0.4938 GB, free: 6.328 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.078e-05/0.1457, allocations: 36.5 kB / 0.4939 GB, free: 6.293 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004662/0.1461, allocations: 259.6 kB / 0.4941 GB, free: 6 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.689e-05/0.1462, allocations: 24.88 kB / 0.4941 GB, free: 5.977 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.476e-05/0.1462, allocations: 24.38 kB / 0.4941 GB, free: 5.953 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005579/0.1468, allocations: 253.2 kB / 0.4944 GB, free: 5.695 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.1468, allocations: 0 / 0.4944 GB, free: 5.695 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.136e-05/0.1469, allocations: 12 kB / 0.4944 GB, free: 5.684 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.106e-05/0.1469, allocations: 4 kB / 0.4944 GB, free: 5.68 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005195/0.1474, allocations: 238.1 kB / 0.4946 GB, free: 5.449 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001611/0.149, allocations: 0.8636 MB / 0.4955 GB, free: 4.52 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005677/0.1496, allocations: 310 kB / 0.4958 GB, free: 4.211 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000291/0.1499, allocations: 148.8 kB / 0.4959 GB, free: 4.062 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.513e-05/0.15, allocations: 4 kB / 0.4959 GB, free: 4.059 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.636e-05/0.15, allocations: 50.48 kB / 0.496 GB, free: 4 MB / 382.1 MB Notification: Performance of pre-optimization done (n=31): time 1.803e-06/0.15, allocations: 0 / 0.496 GB, free: 4 MB / 382.1 MB Notification: Performance of matching and sorting (n=31): time 0.004284/0.1543, allocations: 1.25 MB / 0.4972 GB, free: 2.656 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.346e-05/0.1544, allocations: 51.41 kB / 0.4972 GB, free: 2.594 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002399/0.1546, allocations: 220.9 kB / 0.4974 GB, free: 2.367 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.963e-05/0.1547, allocations: 29.7 kB / 0.4975 GB, free: 2.332 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001103/0.1548, allocations: 161.1 kB / 0.4976 GB, free: 2.172 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001613/0.1549, allocations: 102.5 kB / 0.4977 GB, free: 2.07 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.737e-05/0.1551, allocations: 53.56 kB / 0.4978 GB, free: 2.012 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001267/0.1552, allocations: 338.8 kB / 0.4981 GB, free: 1.672 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002124/0.1554, allocations: 95.95 kB / 0.4982 GB, free: 1.578 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002218/0.1556, allocations: 121.9 kB / 0.4983 GB, free: 1.453 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004337/0.1561, allocations: 235.3 kB / 0.4985 GB, free: 1.219 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.1561, allocations: 0 / 0.4985 GB, free: 1.219 MB / 382.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001646/0.1577, allocations: 0.5363 MB / 0.4991 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.1578, allocations: 8 kB / 0.4991 GB, free: 0.6562 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.1578, allocations: 0 / 0.4991 GB, free: 0.6562 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001531/0.1593, allocations: 315.1 kB / 0.4994 GB, free: 344 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001591/0.1595, allocations: 23.98 kB / 0.4994 GB, free: 320 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007576/0.1671, allocations: 6.817 MB / 0.506 GB, free: 8.922 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002493/0.1674, allocations: 35.86 kB / 0.5061 GB, free: 8.887 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.354e-05/0.1674, 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.0001928/0.1676, allocations: 149.7 kB / 0.5062 GB, free: 8.719 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.489e-05/0.1677, allocations: 27.62 kB / 0.5063 GB, free: 8.691 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001783/0.1695, allocations: 0.5512 MB / 0.5068 GB, free: 8.125 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.1695, allocations: 4 kB / 0.5068 GB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.1695, allocations: 7.922 kB / 0.5068 GB, free: 8.113 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.1695, allocations: 0 / 0.5068 GB, free: 8.113 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004739/0.17, allocations: 357.3 kB / 0.5071 GB, free: 7.715 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.17, allocations: 3.938 kB / 0.5072 GB, free: 7.711 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001137/0.1701, allocations: 19.98 kB / 0.5072 GB, free: 7.691 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001431/0.1716, allocations: 307.2 kB / 0.5075 GB, free: 7.379 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.671e-05/0.1716, allocations: 8 kB / 0.5075 GB, free: 7.371 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007551/0.1792, allocations: 6.893 MB / 0.5142 GB, free: 15.92 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.1792, allocations: 4 kB / 0.5142 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001797/0.181, allocations: 0.6075 MB / 0.5148 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.99e-05/0.1811, allocations: 108.7 kB / 0.5149 GB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.738e-05/0.1811, allocations: 4 kB / 0.5149 GB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001779/0.1813, allocations: 15.98 kB / 0.5149 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001486/0.1815, allocations: 35.94 kB / 0.515 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.879e-05/0.1815, allocations: 8 kB / 0.515 GB, free: 15.09 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001652/0.1817, allocations: 156.5 kB / 0.5151 GB, free: 14.94 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1817, allocations: 0 / 0.5151 GB, free: 14.94 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005983/0.1823, allocations: 119.8 kB / 0.5152 GB, free: 14.82 MB / 414.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: 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.0001291/0.1824, allocations: 107.2 kB / 0.5153 GB, free: 14.71 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001101/0.1835, allocations: 0.7447 MB / 0.5161 GB, free: 13.91 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.1835, allocations: 0 / 0.5161 GB, free: 13.91 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001209/0.1848, allocations: 0.7489 MB / 0.5168 GB, free: 13.11 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003295/0.1851, allocations: 34.95 kB / 0.5168 GB, free: 13.08 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001044/0.1862, allocations: 0.5621 MB / 0.5174 GB, free: 12.48 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004264/0.1866, allocations: 0.7678 MB / 0.5181 GB, free: 11.68 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.853e-05/0.1867, allocations: 15.44 kB / 0.5181 GB, free: 11.67 MB / 414.1 MB Notification: Performance of SimCode: time 1.212e-06/0.1867, allocations: 0 / 0.5181 GB, free: 11.67 MB / 414.1 MB Notification: Performance of Templates: time 0.0101/0.1968, allocations: 8.034 MB / 0.526 GB, free: 3.621 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