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.0009944/0.0009945, allocations: 102.8 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00133/0.00133, allocations: 186.5 kB / 16.92 MB, free: 6.918 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.746/1.746, allocations: 205.4 MB / 223.1 MB, free: 5.754 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5197/0.5197, allocations: 43.58 MB / 315 MB, free: 8.715 MB / 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.0009091/0.0009092, allocations: 26.95 kB / 384.6 MB, free: 7.633 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1866/0.1876, allocations: 58.86 MB / 443.4 MB, free: 12.68 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.FixedShape): time 0.003648/0.1913, allocations: 2.088 MB / 445.5 MB, free: 10.57 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002048/0.1934, allocations: 0.7838 MB / 446.3 MB, free: 9.781 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004517/0.1939, allocations: 7.938 kB / 446.3 MB, free: 9.773 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003941/0.1943, allocations: 47.69 kB / 446.4 MB, free: 9.727 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005633/0.1949, allocations: 83.5 kB / 446.4 MB, free: 9.645 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004651/0.1954, allocations: 87.83 kB / 446.5 MB, free: 9.559 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006138/0.196, allocations: 334.7 kB / 446.9 MB, free: 9.23 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000257/0.1963, allocations: 81.12 kB / 446.9 MB, free: 9.152 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003882/0.1967, allocations: 115.5 kB / 447.1 MB, free: 9.039 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003331/0.197, allocations: 135.3 kB / 447.2 MB, free: 8.906 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.182e-05/0.1971, allocations: 16 kB / 447.2 MB, free: 8.891 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.935e-05/0.1971, allocations: 16 kB / 447.2 MB, free: 8.875 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.98e-05/0.1972, allocations: 55.8 kB / 447.3 MB, free: 8.82 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002146/0.1975, allocations: 156.9 kB / 447.4 MB, free: 8.66 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004484/0.1979, allocations: 342.9 kB / 447.8 MB, free: 8.324 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.223e-06/0.1979, allocations: 0 / 447.8 MB, free: 8.324 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.1979, allocations: 0 / 447.8 MB, free: 8.324 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.624e-05/0.198, allocations: 0 / 447.8 MB, free: 8.324 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.001294/0.1993, allocations: 0.5653 MB / 448.3 MB, free: 7.711 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.267e-05/0.1993, allocations: 8.031 kB / 448.3 MB, free: 7.703 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001365/0.1995, allocations: 32.56 kB / 448.4 MB, free: 7.672 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004388/0.1999, allocations: 259.6 kB / 448.6 MB, free: 7.379 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.157e-05/0.2, allocations: 20.94 kB / 448.6 MB, free: 7.359 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.335e-05/0.2, allocations: 28.31 kB / 448.7 MB, free: 7.332 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006042/0.2006, allocations: 257.2 kB / 448.9 MB, free: 7.078 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/0.2007, allocations: 0 / 448.9 MB, free: 7.078 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.431e-05/0.2007, allocations: 12 kB / 448.9 MB, free: 7.066 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.227e-06/0.2007, allocations: 4 kB / 448.9 MB, free: 7.062 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005359/0.2013, allocations: 238.1 kB / 449.2 MB, free: 6.828 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001604/0.2029, allocations: 0.8909 MB / 450.1 MB, free: 5.875 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006295/0.2035, allocations: 314.6 kB / 450.4 MB, free: 5.559 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003201/0.2039, allocations: 148.8 kB / 450.5 MB, free: 5.41 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.938e-05/0.2039, allocations: 11.98 kB / 450.5 MB, free: 5.398 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.87e-05/0.204, allocations: 34.56 kB / 450.6 MB, free: 5.355 MB / 382.1 MB Notification: Performance of pre-optimization done (n=31): time 1.613e-06/0.204, allocations: 0 / 450.6 MB, free: 5.355 MB / 382.1 MB Notification: Performance of matching and sorting (n=31): time 0.004686/0.2087, allocations: 1.273 MB / 451.8 MB, free: 3.988 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.883e-05/0.2087, allocations: 59.39 kB / 451.9 MB, free: 3.918 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000237/0.209, allocations: 213 kB / 452.1 MB, free: 3.695 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.079e-05/0.209, allocations: 29.7 kB / 452.1 MB, free: 3.66 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001303/0.2092, allocations: 161.1 kB / 452.3 MB, free: 3.5 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.365e-05/0.2093, allocations: 106.5 kB / 452.4 MB, free: 3.395 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.915e-05/0.2093, allocations: 33.7 kB / 452.4 MB, free: 3.355 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001435/0.2095, allocations: 334.8 kB / 452.7 MB, free: 3.02 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002249/0.2097, allocations: 99.81 kB / 452.8 MB, free: 2.922 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000269/0.21, allocations: 133.8 kB / 453 MB, free: 2.785 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004926/0.2105, allocations: 247.2 kB / 453.2 MB, free: 2.539 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.2105, allocations: 0 / 453.2 MB, free: 2.539 MB / 382.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001833/0.2123, allocations: 0.552 MB / 453.8 MB, free: 1.969 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.054e-05/0.2124, allocations: 8 kB / 453.8 MB, free: 1.961 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.2124, allocations: 0 / 453.8 MB, free: 1.961 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001682/0.2141, allocations: 311.1 kB / 454.1 MB, free: 1.645 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001971/0.2143, allocations: 31.92 kB / 454.1 MB, free: 1.613 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3323/0.5466, allocations: 6.323 MB / 460.4 MB, free: 41.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002783/0.5469, allocations: 31.12 kB / 460.5 MB, free: 41.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.139e-05/0.547, allocations: 12.59 kB / 460.5 MB, free: 41.59 MB / 382.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.000211/0.5472, allocations: 136.8 kB / 460.6 MB, free: 41.47 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.801e-05/0.5473, allocations: 30.05 kB / 460.6 MB, free: 41.46 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00179/0.5491, allocations: 0.5608 MB / 461.2 MB, free: 41.38 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.5491, allocations: 3.156 kB / 461.2 MB, free: 41.38 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.5491, allocations: 3.375 kB / 461.2 MB, free: 41.38 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.725e-06/0.5491, allocations: 3.375 kB / 461.2 MB, free: 41.38 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003709/0.5495, allocations: 363.2 kB / 461.6 MB, free: 41.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.5495, allocations: 0.6562 kB / 461.6 MB, free: 41.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001121/0.5496, allocations: 19.77 kB / 461.6 MB, free: 41.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00145/0.5511, allocations: 322 kB / 461.9 MB, free: 41.15 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.179e-05/0.5511, allocations: 5.812 kB / 461.9 MB, free: 41.15 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005716/0.5568, allocations: 6.365 MB / 468.3 MB, free: 36.07 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.5568, allocations: 3.781 kB / 468.3 MB, free: 36.07 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001666/0.5585, allocations: 0.6259 MB / 468.9 MB, free: 35.87 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.103e-05/0.5586, allocations: 102.8 kB / 469 MB, free: 35.76 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.452e-05/0.5586, allocations: 10.72 kB / 469 MB, free: 35.76 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001889/0.5588, allocations: 10.28 kB / 469 MB, free: 35.76 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001499/0.559, allocations: 40.94 kB / 469.1 MB, free: 35.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.035e-05/0.559, allocations: 5 kB / 469.1 MB, free: 35.75 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001667/0.5592, allocations: 166.2 kB / 469.2 MB, free: 35.67 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5592, allocations: 0 / 469.2 MB, free: 35.67 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006082/0.5598, allocations: 119.2 kB / 469.3 MB, free: 35.66 MB / 382.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.0001184/0.5599, allocations: 101.4 kB / 469.4 MB, free: 35.57 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001161/0.5611, allocations: 0.7543 MB / 470.2 MB, free: 35.11 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.5611, allocations: 0 / 470.2 MB, free: 35.11 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001101/0.5622, allocations: 0.7362 MB / 470.9 MB, free: 34.64 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003431/0.5626, allocations: 24.84 kB / 471 MB, free: 34.64 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001016/0.5636, allocations: 0.6703 MB / 471.6 MB, free: 34.26 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002646/0.5639, allocations: 0.7722 MB / 472.4 MB, free: 33.56 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.901e-05/0.564, allocations: 13.16 kB / 472.4 MB, free: 33.56 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.732e-05/0.564, allocations: 10.41 kB / 472.4 MB, free: 33.55 MB / 382.1 MB Notification: Performance of SimCode: time 1.8e-07/0.564, allocations: 2.656 kB / 472.4 MB, free: 33.55 MB / 382.1 MB Notification: Performance of Templates: time 0.0117/0.5757, allocations: 7.382 MB / 479.8 MB, free: 33.11 MB / 382.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","../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches