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.00106/0.00106, allocations: 105.6 kB / 17.03 MB, free: 5.664 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.001024/0.001024, allocations: 192.1 kB / 17.96 MB, free: 5.066 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.385/1.385, allocations: 205.1 MB / 223.8 MB, free: 12.26 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.2473/0.2473, allocations: 43.52 MB / 314.7 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.001598/0.001598, allocations: 67.19 kB / 384.2 MB, free: 56.37 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09852/0.1001, allocations: 57.78 MB / 442 MB, free: 6.141 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.FixedShape): time 0.002901/0.1031, allocations: 2.397 MB / 444.4 MB, free: 3.727 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001008/0.1041, allocations: 0.8071 MB / 445.2 MB, free: 2.91 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000109/0.1042, allocations: 7.938 kB / 445.2 MB, free: 2.902 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001954/0.1044, allocations: 55.5 kB / 445.2 MB, free: 2.848 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001985/0.1046, allocations: 103.3 kB / 445.3 MB, free: 2.746 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002323/0.1049, allocations: 99.8 kB / 445.4 MB, free: 2.648 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002282/0.1051, allocations: 346.8 kB / 445.8 MB, free: 2.309 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001547/0.1053, allocations: 100.6 kB / 445.9 MB, free: 2.211 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001557/0.1054, allocations: 135.5 kB / 446 MB, free: 2.078 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001414/0.1056, allocations: 151.4 kB / 446.1 MB, free: 1.93 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.829e-05/0.1056, allocations: 32 kB / 446.2 MB, free: 1.898 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.568e-05/0.1057, allocations: 28 kB / 446.2 MB, free: 1.871 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.729e-05/0.1057, allocations: 67.7 kB / 446.3 MB, free: 1.805 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.879e-05/0.1058, allocations: 155.2 kB / 446.4 MB, free: 1.652 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002157/0.1061, allocations: 354.8 kB / 446.8 MB, free: 1.305 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1061, allocations: 0 / 446.8 MB, free: 1.305 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.1061, allocations: 0 / 446.8 MB, free: 1.305 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.622e-06/0.1061, allocations: 4 kB / 446.8 MB, free: 1.301 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.0008621/0.107, allocations: 0.612 MB / 447.4 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.107, allocations: 15.89 kB / 447.4 MB, free: 0.625 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.338e-05/0.1071, allocations: 32.56 kB / 447.4 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002777/0.1073, allocations: 263.5 kB / 447.7 MB, free: 304 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.1074, allocations: 20.94 kB / 447.7 MB, free: 284 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.299e-05/0.1074, allocations: 20.38 kB / 447.7 MB, free: 264 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00039/0.1078, allocations: 253.2 kB / 448 MB, free: 0 / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.1078, allocations: 0 / 448 MB, free: 0 / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.657e-05/0.1079, allocations: 12.08 kB / 448 MB, free: 15.98 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.658e-06/0.1079, allocations: 7.984 kB / 448 MB, free: 15.98 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004765/0.1084, allocations: 226.1 kB / 448.2 MB, free: 15.76 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00133/0.1097, allocations: 0.8714 MB / 449.1 MB, free: 14.82 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005059/0.1102, allocations: 303.9 kB / 449.4 MB, free: 14.52 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002584/0.1105, allocations: 140.8 kB / 449.5 MB, free: 14.38 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.621e-05/0.1105, allocations: 7.984 kB / 449.5 MB, free: 14.37 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.503e-05/0.1106, allocations: 38.56 kB / 449.6 MB, free: 14.32 MB / 334.1 MB Notification: Performance of pre-optimization done (n=31): time 1.433e-06/0.1106, allocations: 0 / 449.6 MB, free: 14.32 MB / 334.1 MB Notification: Performance of matching and sorting (n=31): time 0.004404/0.115, allocations: 1.262 MB / 450.8 MB, free: 12.97 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.961e-05/0.115, allocations: 51.41 kB / 450.9 MB, free: 12.91 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002076/0.1153, allocations: 213 kB / 451.1 MB, free: 12.69 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.481e-05/0.1153, allocations: 33.64 kB / 451.1 MB, free: 12.65 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.629e-05/0.1154, allocations: 157.2 kB / 451.3 MB, free: 12.5 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.771e-05/0.1155, allocations: 110.4 kB / 451.4 MB, free: 12.39 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.616e-05/0.1156, allocations: 49.7 kB / 451.4 MB, free: 12.33 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001201/0.1157, allocations: 334.8 kB / 451.7 MB, free: 12 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002065/0.1159, allocations: 99.95 kB / 451.8 MB, free: 11.9 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002126/0.1161, allocations: 117.9 kB / 452 MB, free: 11.78 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000427/0.1166, allocations: 231.2 kB / 452.2 MB, free: 11.55 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.1166, allocations: 0 / 452.2 MB, free: 11.55 MB / 334.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001711/0.1183, allocations: 0.5403 MB / 452.7 MB, free: 10.99 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.1183, allocations: 5.25 kB / 452.7 MB, free: 10.98 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.1183, allocations: 4 kB / 452.7 MB, free: 10.98 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001634/0.12, allocations: 311.2 kB / 453 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001625/0.1202, allocations: 31.91 kB / 453.1 MB, free: 10.63 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007264/0.1274, allocations: 6.82 MB / 459.9 MB, free: 3.242 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002271/0.1277, allocations: 23.78 kB / 459.9 MB, free: 3.219 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.728e-05/0.1277, allocations: 15.98 kB / 459.9 MB, free: 3.203 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.0001687/0.1279, allocations: 150.6 kB / 460.1 MB, free: 3.047 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.24e-05/0.128, allocations: 23.72 kB / 460.1 MB, free: 3.023 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001754/0.1297, allocations: 0.5512 MB / 460.7 MB, free: 2.453 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.1297, allocations: 4 kB / 460.7 MB, free: 2.449 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.1297, allocations: 3.938 kB / 460.7 MB, free: 2.445 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.1298, allocations: 3.984 kB / 460.7 MB, free: 2.441 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000443/0.1302, allocations: 349.3 kB / 461 MB, free: 2.051 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.1302, allocations: 0 / 461 MB, free: 2.051 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001148/0.1303, allocations: 23.91 kB / 461 MB, free: 2.027 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001502/0.1318, allocations: 315.3 kB / 461.3 MB, free: 1.707 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.129e-05/0.1319, allocations: 8 kB / 461.3 MB, free: 1.699 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007706/0.1396, allocations: 6.897 MB / 468.2 MB, free: 10.24 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.1396, allocations: 3.984 kB / 468.2 MB, free: 10.24 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001705/0.1413, allocations: 0.6076 MB / 468.9 MB, free: 9.602 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.83e-05/0.1414, allocations: 108.7 kB / 469 MB, free: 9.477 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.999e-05/0.1414, allocations: 8 kB / 469 MB, free: 9.469 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001848/0.1416, allocations: 11.94 kB / 469 MB, free: 9.457 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001019/0.1417, allocations: 35.89 kB / 469 MB, free: 9.422 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.858e-05/0.1418, allocations: 12 kB / 469 MB, free: 9.41 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001348/0.1419, allocations: 160.5 kB / 469.2 MB, free: 9.258 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1419, allocations: 0 / 469.2 MB, free: 9.258 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005702/0.1425, allocations: 119.8 kB / 469.3 MB, free: 9.141 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.0001148/0.1426, allocations: 95.25 kB / 469.4 MB, free: 9.035 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001158/0.1438, allocations: 0.7602 MB / 470.2 MB, free: 8.223 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1438, allocations: 0 / 470.2 MB, free: 8.223 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00121/0.145, allocations: 0.7411 MB / 470.9 MB, free: 7.43 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003039/0.1453, allocations: 20.56 kB / 470.9 MB, free: 7.41 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009227/0.1463, allocations: 0.5415 MB / 471.5 MB, free: 6.852 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003415/0.1466, allocations: 0.7717 MB / 472.2 MB, free: 6.055 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.663e-05/0.1467, allocations: 13.94 kB / 472.2 MB, free: 6.043 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.791e-05/0.1467, allocations: 15.38 kB / 472.3 MB, free: 6.027 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1467, allocations: 0 / 472.3 MB, free: 6.027 MB / 350.1 MB Notification: Performance of Templates: time 0.01311/0.1598, allocations: 8.02 MB / 480.3 MB, free: 14.02 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 -s gbode -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