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.001073/0.001073, allocations: 101.2 kB / 16.64 MB, free: 6.82 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.001114/0.001114, allocations: 189.9 kB / 17.56 MB, free: 5.941 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.446/1.446, allocations: 205.1 MB / 223.4 MB, free: 12.45 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.2019/0.2019, allocations: 43.52 MB / 314.3 MB, free: 0.7227 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.001448/0.001448, allocations: 63.28 kB / 382.9 MB, free: 56.93 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1095, allocations: 57.79 MB / 440.7 MB, free: 7.379 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.FixedShape): time 0.003604/0.1131, allocations: 2.444 MB / 443.1 MB, free: 4.914 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001236/0.1144, allocations: 0.7955 MB / 443.9 MB, free: 4.109 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001323/0.1145, allocations: 4 kB / 443.9 MB, free: 4.105 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002009/0.1147, allocations: 47.69 kB / 443.9 MB, free: 4.059 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002079/0.115, allocations: 91.44 kB / 444 MB, free: 3.969 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002163/0.1152, allocations: 79.91 kB / 444.1 MB, free: 3.891 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002389/0.1154, allocations: 338.8 kB / 444.4 MB, free: 3.559 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001663/0.1156, allocations: 104.9 kB / 444.5 MB, free: 3.457 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00016/0.1158, allocations: 131.6 kB / 444.7 MB, free: 3.328 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001321/0.1159, allocations: 155.3 kB / 444.8 MB, free: 3.176 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.042e-05/0.116, allocations: 31.98 kB / 444.9 MB, free: 3.145 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.538e-05/0.116, allocations: 32 kB / 444.9 MB, free: 3.113 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.999e-05/0.1161, allocations: 67.75 kB / 445 MB, free: 3.047 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.852e-05/0.1161, allocations: 151.2 kB / 445.1 MB, free: 2.898 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001738/0.1163, allocations: 267.4 kB / 445.4 MB, free: 2.637 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.1163, allocations: 0 / 445.4 MB, free: 2.637 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.1163, allocations: 0 / 445.4 MB, free: 2.637 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.1164, allocations: 3.938 kB / 445.4 MB, free: 2.633 MB / 318.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.000855/0.1172, allocations: 0.6151 MB / 446 MB, free: 1.973 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.1173, allocations: 15.89 kB / 446 MB, free: 1.957 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.467e-05/0.1173, allocations: 32.56 kB / 446 MB, free: 1.926 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001982/0.1175, allocations: 263.6 kB / 446.3 MB, free: 1.629 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.705e-05/0.1176, allocations: 16.94 kB / 446.3 MB, free: 1.613 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.411e-05/0.1176, allocations: 24.38 kB / 446.3 MB, free: 1.59 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004198/0.118, allocations: 249.2 kB / 446.6 MB, free: 1.34 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.118, allocations: 3.938 kB / 446.6 MB, free: 1.336 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.45e-05/0.1181, allocations: 16 kB / 446.6 MB, free: 1.32 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.1181, allocations: 8 kB / 446.6 MB, free: 1.312 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003985/0.1185, allocations: 226.1 kB / 446.8 MB, free: 1.09 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00108/0.1196, allocations: 0.8754 MB / 447.7 MB, free: 152 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000489/0.1201, allocations: 302.7 kB / 448 MB, free: 15.84 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002643/0.1203, allocations: 144.8 kB / 448.1 MB, free: 15.7 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.31e-05/0.1204, allocations: 15.95 kB / 448.1 MB, free: 15.68 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.974e-05/0.1204, allocations: 42.5 kB / 448.2 MB, free: 15.63 MB / 334.1 MB Notification: Performance of pre-optimization done (n=31): time 1.413e-06/0.1205, allocations: 0 / 448.2 MB, free: 15.63 MB / 334.1 MB Notification: Performance of matching and sorting (n=31): time 0.004506/0.125, allocations: 1.254 MB / 449.4 MB, free: 14.29 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.691e-05/0.125, allocations: 55.34 kB / 449.5 MB, free: 14.22 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001915/0.1252, allocations: 221 kB / 449.7 MB, free: 14 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.893e-05/0.1253, allocations: 29.7 kB / 449.7 MB, free: 13.96 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.251e-05/0.1254, allocations: 153.2 kB / 449.9 MB, free: 13.81 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.994e-05/0.1254, allocations: 106.4 kB / 450 MB, free: 13.7 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.721e-05/0.1255, allocations: 57.7 kB / 450.1 MB, free: 13.64 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001212/0.1257, allocations: 334.8 kB / 450.4 MB, free: 13.3 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002051/0.1259, allocations: 95.94 kB / 450.5 MB, free: 13.21 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002108/0.1261, allocations: 117.9 kB / 450.6 MB, free: 13.09 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000418/0.1265, allocations: 231.3 kB / 450.8 MB, free: 12.86 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.1265, allocations: 0 / 450.8 MB, free: 12.86 MB / 334.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001696/0.1282, allocations: 0.5363 MB / 451.4 MB, free: 12.3 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/0.1283, allocations: 9.188 kB / 451.4 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.1283, allocations: 4 kB / 451.4 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001629/0.1299, allocations: 307.1 kB / 451.7 MB, free: 11.98 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000156/0.1301, allocations: 27.98 kB / 451.7 MB, free: 11.95 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007222/0.1373, allocations: 6.836 MB / 458.5 MB, free: 4.551 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002169/0.1376, allocations: 27.77 kB / 458.6 MB, free: 4.523 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.098e-05/0.1376, allocations: 8 kB / 458.6 MB, free: 4.516 MB / 334.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.0001634/0.1378, allocations: 154.5 kB / 458.7 MB, free: 4.355 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.805e-05/0.1378, allocations: 27.72 kB / 458.7 MB, free: 4.328 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001718/0.1395, allocations: 0.5473 MB / 459.3 MB, free: 3.762 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-06/0.1396, allocations: 8 kB / 459.3 MB, free: 3.754 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.1396, allocations: 3.938 kB / 459.3 MB, free: 3.75 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.1396, allocations: 0 / 459.3 MB, free: 3.75 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003989/0.14, allocations: 357.2 kB / 459.6 MB, free: 3.352 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.14, allocations: 0 / 459.6 MB, free: 3.352 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000109/0.1401, allocations: 15.98 kB / 459.7 MB, free: 3.336 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001516/0.1416, allocations: 311.2 kB / 460 MB, free: 3.02 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.274e-05/0.1417, allocations: 15.94 kB / 460 MB, free: 3.004 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007648/0.1493, allocations: 6.889 MB / 466.9 MB, free: 11.55 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1493, allocations: 0 / 466.9 MB, free: 11.55 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00173/0.1511, allocations: 0.6156 MB / 467.5 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.653e-05/0.1512, allocations: 104.7 kB / 467.6 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.203e-05/0.1512, allocations: 12 kB / 467.6 MB, free: 10.78 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001953/0.1514, allocations: 11.98 kB / 467.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001104/0.1515, allocations: 27.95 kB / 467.6 MB, free: 10.74 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.934e-05/0.1515, allocations: 12 kB / 467.7 MB, free: 10.73 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001495/0.1517, allocations: 156.5 kB / 467.8 MB, free: 10.58 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1517, allocations: 0 / 467.8 MB, free: 10.58 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004923/0.1522, allocations: 119.8 kB / 467.9 MB, free: 10.46 MB / 350.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.0001144/0.1523, allocations: 111.2 kB / 468 MB, free: 10.34 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001151/0.1535, allocations: 0.7602 MB / 468.8 MB, free: 9.527 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.1535, allocations: 0 / 468.8 MB, free: 9.527 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001171/0.1547, allocations: 0.7289 MB / 469.5 MB, free: 8.746 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003235/0.155, allocations: 28.42 kB / 469.5 MB, free: 8.719 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001083/0.1561, allocations: 0.6904 MB / 470.2 MB, free: 8 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004255/0.1565, allocations: 0.7678 MB / 471 MB, free: 7.207 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.061e-05/0.1566, allocations: 15.44 kB / 471 MB, free: 7.191 MB / 350.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1566, allocations: 0 / 471 MB, free: 7.191 MB / 350.1 MB Notification: Performance of Templates: time 0.008979/0.1656, allocations: 7.98 MB / 479 MB, free: 15.21 MB / 366.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","../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches