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.001117/0.001118, allocations: 108 kB / 16.41 MB, free: 6.484 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.00109/0.00109, allocations: 188.1 kB / 17.34 MB, free: 5.762 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.619/1.619, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2549/0.2549, allocations: 43.51 MB / 314.1 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.001418/0.001418, allocations: 73.44 kB / 441.8 MB, free: 5.703 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.1394, allocations: 57.78 MB / 499.6 MB, free: 11.85 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.FixedShape): time 0.003655/0.1431, allocations: 2.4 MB / 0.4902 GB, free: 9.438 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001326/0.1445, allocations: 0.8148 MB / 0.491 GB, free: 8.613 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001197/0.1446, allocations: 7.938 kB / 0.491 GB, free: 8.605 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002108/0.1448, allocations: 55.52 kB / 0.4911 GB, free: 8.551 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002372/0.1451, allocations: 103.3 kB / 0.4912 GB, free: 8.449 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000269/0.1454, allocations: 99.8 kB / 0.4913 GB, free: 8.352 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000389/0.1458, allocations: 342.8 kB / 0.4916 GB, free: 8.016 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002251/0.146, allocations: 96.69 kB / 0.4917 GB, free: 7.922 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002075/0.1462, allocations: 139.5 kB / 0.4918 GB, free: 7.785 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002413/0.1465, allocations: 151.4 kB / 0.4919 GB, free: 7.637 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.197e-05/0.1465, allocations: 28 kB / 0.492 GB, free: 7.609 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.062e-05/0.1466, allocations: 28 kB / 0.492 GB, free: 7.582 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.037e-05/0.1467, allocations: 67.75 kB / 0.4921 GB, free: 7.516 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001461/0.1468, allocations: 155.2 kB / 0.4922 GB, free: 7.363 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003859/0.1472, allocations: 362.4 kB / 0.4926 GB, free: 7.008 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.1472, allocations: 0 / 0.4926 GB, free: 7.008 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.346e-06/0.1472, allocations: 7.984 kB / 0.4926 GB, free: 7 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.596e-06/0.1472, allocations: 0 / 0.4926 GB, free: 7 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.001031/0.1483, allocations: 0.6117 MB / 0.4932 GB, free: 6.34 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.1483, allocations: 11.89 kB / 0.4932 GB, free: 6.328 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.904e-05/0.1484, allocations: 32.75 kB / 0.4932 GB, free: 6.297 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003313/0.1487, allocations: 271.8 kB / 0.4935 GB, free: 5.992 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.154e-05/0.1488, allocations: 16.94 kB / 0.4935 GB, free: 5.977 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.767e-05/0.1488, allocations: 24.38 kB / 0.4935 GB, free: 5.953 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004947/0.1493, allocations: 253.2 kB / 0.4937 GB, free: 5.695 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.1493, allocations: 0 / 0.4937 GB, free: 5.695 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.139e-05/0.1494, allocations: 8 kB / 0.4938 GB, free: 5.688 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.156e-05/0.1494, allocations: 8 kB / 0.4938 GB, free: 5.68 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000486/0.1499, allocations: 226.1 kB / 0.494 GB, free: 5.461 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001427/0.1513, allocations: 0.8716 MB / 0.4948 GB, free: 4.523 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005443/0.1519, allocations: 322 kB / 0.4951 GB, free: 4.203 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002616/0.1521, allocations: 140.8 kB / 0.4953 GB, free: 4.062 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.771e-05/0.1522, allocations: 11.94 kB / 0.4953 GB, free: 4.051 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.595e-05/0.1522, allocations: 34.56 kB / 0.4953 GB, free: 4.008 MB / 382.1 MB Notification: Performance of pre-optimization done (n=31): time 1.583e-06/0.1522, allocations: 0 / 0.4953 GB, free: 4.008 MB / 382.1 MB Notification: Performance of matching and sorting (n=31): time 0.004219/0.1564, allocations: 1.258 MB / 0.4965 GB, free: 2.656 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.406e-05/0.1565, allocations: 59.39 kB / 0.4966 GB, free: 2.586 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002158/0.1567, allocations: 217 kB / 0.4968 GB, free: 2.363 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.5e-05/0.1568, allocations: 29.7 kB / 0.4968 GB, free: 2.328 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001196/0.1569, allocations: 157.3 kB / 0.497 GB, free: 2.172 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.784e-05/0.157, allocations: 107.1 kB / 0.4971 GB, free: 2.066 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.343e-05/0.1571, allocations: 57.56 kB / 0.4971 GB, free: 2.004 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001243/0.1572, allocations: 338.8 kB / 0.4975 GB, free: 1.664 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002066/0.1574, allocations: 87.95 kB / 0.4976 GB, free: 1.578 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002264/0.1576, allocations: 117.9 kB / 0.4977 GB, free: 1.457 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004298/0.1581, allocations: 235.2 kB / 0.4979 GB, free: 1.223 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.1581, allocations: 4 kB / 0.4979 GB, free: 1.219 MB / 382.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001578/0.1597, allocations: 0.5404 MB / 0.4984 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.1597, allocations: 8 kB / 0.4984 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.1597, allocations: 0 / 0.4984 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001486/0.1612, allocations: 315.1 kB / 0.4987 GB, free: 340 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001537/0.1614, allocations: 31.92 kB / 0.4988 GB, free: 308 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006918/0.1683, allocations: 6.825 MB / 0.5054 GB, free: 8.906 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002202/0.1685, allocations: 31.77 kB / 0.5055 GB, free: 8.875 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.09e-05/0.1686, allocations: 4.062 kB / 0.5055 GB, free: 8.871 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.0001835/0.1688, allocations: 153.7 kB / 0.5056 GB, free: 8.711 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.082e-05/0.1688, allocations: 27.81 kB / 0.5056 GB, free: 8.684 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001688/0.1705, allocations: 0.5551 MB / 0.5062 GB, free: 8.113 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/0.1705, allocations: 4 kB / 0.5062 GB, free: 8.109 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.1706, allocations: 3.938 kB / 0.5062 GB, free: 8.105 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.1706, allocations: 0 / 0.5062 GB, free: 8.105 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004343/0.171, allocations: 353.3 kB / 0.5065 GB, free: 7.711 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.171, allocations: 192 / 0.5065 GB, free: 7.711 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001183/0.1711, allocations: 31.86 kB / 0.5065 GB, free: 7.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001383/0.1725, allocations: 311.1 kB / 0.5068 GB, free: 7.363 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.275e-05/0.1726, allocations: 8 kB / 0.5069 GB, free: 7.355 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007021/0.1796, allocations: 6.898 MB / 0.5136 GB, free: 15.9 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.1796, allocations: 0 / 0.5136 GB, free: 15.9 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001635/0.1813, allocations: 0.6116 MB / 0.5142 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001046/0.1814, allocations: 104.8 kB / 0.5143 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.11e-05/0.1814, allocations: 4 kB / 0.5143 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001885/0.1816, allocations: 15.92 kB / 0.5143 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001412/0.1818, allocations: 39.94 kB / 0.5143 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.052e-05/0.1818, allocations: 8 kB / 0.5143 GB, free: 15.07 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001814/0.182, allocations: 164.5 kB / 0.5145 GB, free: 14.91 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.182, allocations: 0 / 0.5145 GB, free: 14.91 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006136/0.1826, allocations: 115.9 kB / 0.5146 GB, free: 14.8 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.0001798/0.1828, allocations: 95.25 kB / 0.5147 GB, free: 14.7 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001133/0.1839, allocations: 0.7719 MB / 0.5155 GB, free: 13.87 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.1839, allocations: 0 / 0.5155 GB, free: 13.87 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001153/0.1851, allocations: 0.7333 MB / 0.5162 GB, free: 13.09 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003244/0.1854, allocations: 31.06 kB / 0.5162 GB, free: 13.06 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009569/0.1864, allocations: 0.5401 MB / 0.5167 GB, free: 12.49 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003894/0.1868, allocations: 0.7755 MB / 0.5175 GB, free: 11.68 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.627e-05/0.1869, allocations: 9.953 kB / 0.5175 GB, free: 11.68 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.982e-05/0.1869, allocations: 11.44 kB / 0.5175 GB, free: 11.66 MB / 414.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1869, allocations: 3.938 kB / 0.5175 GB, free: 11.66 MB / 414.1 MB Notification: Performance of Templates: time 0.01257/0.1995, allocations: 8.114 MB / 0.5254 GB, free: 3.559 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/Shapes/FixedShape/FixedShape.csv","/var/lib/jenkins/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