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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001871/0.001871, allocations: 77.23 kB / 19.93 MB, free: 1.785 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002202/0.002202, allocations: 170.2 kB / 23.22 MB, free: 4.902 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.664/1.664, allocations: 158.6 MB / 185 MB, free: 6.402 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2602/0.2602, allocations: 32.38 MB / 269.6 MB, free: 4.77 MB / 254.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.FluxTubes.Shapes.FixedShape,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,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=1000,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.053e-06/2.053e-06, allocations: 0 / 407.3 MB, free: 3.055 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.1e-05/3.305e-05, allocations: 2.281 kB / 407.3 MB, free: 3.051 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.FixedShape): time 0.004277/0.00431, allocations: 2.265 MB / 409.6 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00163/0.00594, allocations: 0.768 MB / 410.4 MB, free: 15.99 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001346/0.006075, allocations: 7.938 kB / 410.4 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002268/0.006301, allocations: 59.39 kB / 410.4 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002672/0.006569, allocations: 99.25 kB / 410.5 MB, free: 15.83 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002578/0.006826, allocations: 99.73 kB / 410.6 MB, free: 15.73 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004003/0.007227, allocations: 362.6 kB / 411 MB, free: 15.38 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001859/0.007413, allocations: 68.81 kB / 411.1 MB, free: 15.31 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003066/0.007719, allocations: 195.6 kB / 411.2 MB, free: 15.12 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00019/0.007909, allocations: 115.6 kB / 411.4 MB, free: 15 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.256e-05/0.007972, allocations: 28 kB / 411.4 MB, free: 14.98 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.419e-05/0.008026, allocations: 32 kB / 411.4 MB, free: 14.95 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.931e-05/0.008105, allocations: 67.75 kB / 411.5 MB, free: 14.88 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001316/0.008237, allocations: 99.73 kB / 411.6 MB, free: 14.78 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004577/0.008695, allocations: 382.7 kB / 412 MB, free: 14.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.008699, allocations: 0 / 412 MB, free: 14.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.0087, allocations: 0 / 412 MB, free: 14.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.238e-05/0.008713, allocations: 0 / 412 MB, free: 14.41 MB / 350.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.001275/0.009988, allocations: 0.5362 MB / 412.5 MB, free: 13.84 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.097e-05/0.01004, allocations: 12.03 kB / 412.5 MB, free: 13.83 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.14e-05/0.01012, allocations: 36.7 kB / 412.5 MB, free: 13.79 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000447/0.01057, allocations: 201.2 kB / 412.7 MB, free: 13.57 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.69e-05/0.01059, allocations: 20.88 kB / 412.8 MB, free: 13.55 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.843e-05/0.01064, allocations: 28.38 kB / 412.8 MB, free: 13.52 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005826/0.01123, allocations: 248.5 kB / 413 MB, free: 13.27 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.01124, allocations: 192 / 413 MB, free: 13.27 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.44e-05/0.01127, allocations: 12.38 kB / 413 MB, free: 13.26 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.053e-05/0.01128, allocations: 7.938 kB / 413 MB, free: 13.25 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005512/0.01183, allocations: 225.9 kB / 413.3 MB, free: 13.03 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00153/0.01336, allocations: 0.7348 MB / 414 MB, free: 12.25 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006006/0.01396, allocations: 282.5 kB / 414.3 MB, free: 11.97 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003749/0.01434, allocations: 120.8 kB / 414.4 MB, free: 11.85 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.354e-05/0.01438, allocations: 7.938 kB / 414.4 MB, free: 11.84 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.343e-05/0.01442, allocations: 38.56 kB / 414.4 MB, free: 11.79 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.893e-06/0.01442, allocations: 0 / 414.4 MB, free: 11.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.004937/0.01935, allocations: 0.9567 MB / 415.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.857e-05/0.01942, allocations: 63.28 kB / 415.5 MB, free: 10.74 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004458/0.01987, allocations: 218.2 kB / 415.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.469e-05/0.0199, allocations: 33.7 kB / 415.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001735/0.02008, allocations: 160.7 kB / 415.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001795/0.02026, allocations: 111.1 kB / 416 MB, free: 10.21 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001082/0.02036, allocations: 49.7 kB / 416 MB, free: 10.16 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0003148/0.02068, allocations: 338.8 kB / 416.3 MB, free: 9.816 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002489/0.02093, allocations: 91.95 kB / 416.4 MB, free: 9.727 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002779/0.02121, allocations: 125.8 kB / 416.6 MB, free: 9.598 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005793/0.02179, allocations: 219.4 kB / 416.8 MB, free: 9.379 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-06/0.02179, allocations: 0 / 416.8 MB, free: 9.379 MB / 350.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.002021/0.02381, allocations: 0.5364 MB / 417.3 MB, free: 8.824 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.464e-05/0.02383, allocations: 11.94 kB / 417.3 MB, free: 8.812 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.02384, allocations: 0 / 417.3 MB, free: 8.812 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001779/0.02562, allocations: 307.1 kB / 417.6 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001897/0.02581, allocations: 27.97 kB / 417.6 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009109/0.03492, allocations: 6.276 MB / 423.9 MB, free: 1.789 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002608/0.03518, allocations: 27.86 kB / 424 MB, free: 1.762 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.636e-05/0.03521, allocations: 12 kB / 424 MB, free: 1.75 MB / 350.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.0002176/0.03542, allocations: 148 kB / 424.1 MB, free: 1.598 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.822e-05/0.03549, allocations: 23.86 kB / 424.1 MB, free: 1.574 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002012/0.03751, allocations: 0.554 MB / 424.7 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.03751, allocations: 4 kB / 424.7 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.03751, allocations: 4 kB / 424.7 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.03752, allocations: 0 / 424.7 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004129/0.03793, allocations: 249.1 kB / 424.9 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.03793, allocations: 0 / 424.9 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001238/0.03806, allocations: 15.98 kB / 425 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001773/0.03983, allocations: 311.2 kB / 425.3 MB, free: 392 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.098e-05/0.03986, allocations: 11.94 kB / 425.3 MB, free: 380 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009103/0.04896, allocations: 6.341 MB / 431.6 MB, free: 9.621 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.04896, allocations: 0 / 431.6 MB, free: 9.621 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002203/0.05117, allocations: 0.6089 MB / 432.2 MB, free: 8.984 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.703e-05/0.05121, allocations: 23.8 kB / 432.2 MB, free: 8.961 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.959e-05/0.05125, allocations: 15.94 kB / 432.3 MB, free: 8.945 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002035/0.05146, allocations: 11.98 kB / 432.3 MB, free: 8.934 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001515/0.05161, allocations: 35.94 kB / 432.3 MB, free: 8.898 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.931e-05/0.05163, allocations: 4 kB / 432.3 MB, free: 8.895 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002099/0.05184, allocations: 161.2 kB / 432.5 MB, free: 8.738 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.05184, allocations: 0 / 432.5 MB, free: 8.738 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005951/0.05243, allocations: 119.8 kB / 432.6 MB, free: 8.621 MB / 366.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.0001722/0.05261, allocations: 107.1 kB / 432.7 MB, free: 8.504 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001274/0.05388, allocations: 0.7406 MB / 433.4 MB, free: 7.711 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.05388, allocations: 0 / 433.4 MB, free: 7.711 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00149/0.05537, allocations: 0.7249 MB / 434.2 MB, free: 6.934 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003609/0.05573, allocations: 16.5 kB / 434.2 MB, free: 6.918 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001226/0.05696, allocations: 0.5223 MB / 434.7 MB, free: 6.371 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000265/0.05722, allocations: 167.1 kB / 434.9 MB, free: 6.191 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.946e-05/0.05728, allocations: 13.94 kB / 434.9 MB, free: 6.176 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.717e-05/0.05733, allocations: 12.5 kB / 434.9 MB, free: 6.164 MB / 366.1 MB Notification: Performance of SimCode: time 3.3e-07/0.05733, allocations: 0 / 434.9 MB, free: 6.164 MB / 366.1 MB Notification: Performance of Templates: time 0.01784/0.07517, allocations: 8.305 MB / 443.2 MB, free: 13.88 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.9493901543319225]