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.000678/0.000678, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009056/0.001584, allocations: 447.8 kB / 10.35 MB, free: 348 kB / 10.45 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.001453/0.001453, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001583/0.003036, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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 0.9505/0.9505, allocations: 158.6 MB / 171 MB, free: 2.18 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.206/1.156, allocations: 49.5 MB / 220.5 MB, free: 5.273 MB / 218.7 MB " [Timeout remaining time 179] 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.1852/0.1852, allocations: 32.35 MB / 253.6 MB, free: 4.156 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02662/0.2118, allocations: 12.29 MB / 265.9 MB, free: 7.828 MB / 266.7 MB " [Timeout remaining time 180] 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.555e-06/2.555e-06, allocations: 0 / 267.2 MB, free: 6.555 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.152e-05/3.408e-05, allocations: 6.25 kB / 267.2 MB, free: 6.547 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.FixedShape): time 0.004511/0.004545, allocations: 2.44 MB / 269.6 MB, free: 4.082 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001772/0.006317, allocations: 0.8224 MB / 270.5 MB, free: 3.25 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001865/0.006504, allocations: 7.938 kB / 270.5 MB, free: 3.242 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002011/0.006705, allocations: 55.56 kB / 270.5 MB, free: 3.188 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000273/0.006978, allocations: 111.1 kB / 270.6 MB, free: 3.078 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002954/0.007273, allocations: 91.8 kB / 270.7 MB, free: 2.988 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003998/0.007673, allocations: 350.7 kB / 271.1 MB, free: 2.645 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001961/0.007869, allocations: 74.84 kB / 271.1 MB, free: 2.574 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004477/0.008317, allocations: 229.4 kB / 271.4 MB, free: 2.348 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001878/0.008505, allocations: 119.7 kB / 271.5 MB, free: 2.23 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.506e-05/0.00856, allocations: 28 kB / 271.5 MB, free: 2.203 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.393e-05/0.008604, allocations: 28 kB / 271.5 MB, free: 2.176 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.415e-05/0.008658, allocations: 51.81 kB / 271.6 MB, free: 2.125 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001108/0.008769, allocations: 79.81 kB / 271.7 MB, free: 2.047 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003067/0.009075, allocations: 207.3 kB / 271.9 MB, free: 1.844 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.184e-05/0.009097, allocations: 0 / 271.9 MB, free: 1.844 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.009099, allocations: 0 / 271.9 MB, free: 1.844 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.329e-05/0.009122, allocations: 4 kB / 271.9 MB, free: 1.84 MB / 266.7 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.0009641/0.01009, allocations: 0.5697 MB / 272.4 MB, free: 1.246 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.01013, allocations: 8.031 kB / 272.4 MB, free: 1.238 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.994e-05/0.01022, allocations: 40.91 kB / 272.5 MB, free: 1.199 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002863/0.01051, allocations: 185.2 kB / 272.7 MB, free: 0.9922 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.258e-05/0.01053, allocations: 16.88 kB / 272.7 MB, free: 0.9766 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.336e-05/0.01056, allocations: 24.38 kB / 272.7 MB, free: 0.9531 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003265/0.01089, allocations: 189.3 kB / 272.9 MB, free: 0.7578 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.0109, allocations: 192 / 272.9 MB, free: 0.7578 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.389e-05/0.01092, allocations: 12.38 kB / 272.9 MB, free: 0.7461 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.073e-05/0.01093, allocations: 7.938 kB / 272.9 MB, free: 0.7383 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001637/0.0111, allocations: 75.44 kB / 273 MB, free: 0.6641 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001037/0.01213, allocations: 0.5394 MB / 273.5 MB, free: 100 kB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002895/0.01242, allocations: 166.3 kB / 273.7 MB, free: 15.93 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001118/0.01254, allocations: 68.75 kB / 273.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.897e-05/0.01257, allocations: 8 kB / 273.8 MB, free: 15.85 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.192e-05/0.01261, allocations: 34.56 kB / 273.8 MB, free: 15.8 MB / 282.7 MB Notification: Performance of pre-optimization done (n=31): time 2.505e-06/0.01261, allocations: 0 / 273.8 MB, free: 15.8 MB / 282.7 MB Notification: Performance of matching and sorting (n=31): time 0.002554/0.01516, allocations: 0.7496 MB / 274.5 MB, free: 15.04 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/0.0152, allocations: 55.41 kB / 274.6 MB, free: 14.97 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001694/0.01537, allocations: 209 kB / 274.8 MB, free: 14.75 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.159e-05/0.01539, allocations: 29.7 kB / 274.8 MB, free: 14.71 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.353e-05/0.01547, allocations: 144.7 kB / 275 MB, free: 14.57 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.948e-05/0.01554, allocations: 118.9 kB / 275.1 MB, free: 14.45 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.362e-05/0.01563, allocations: 49.67 kB / 275.1 MB, free: 14.4 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001159/0.01574, allocations: 342.7 kB / 275.5 MB, free: 14.05 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.587e-05/0.01581, allocations: 31.98 kB / 275.5 MB, free: 14.02 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.828e-05/0.0159, allocations: 69.66 kB / 275.6 MB, free: 13.95 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001694/0.01606, allocations: 111.2 kB / 275.7 MB, free: 13.84 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.999e-06/0.01607, allocations: 0 / 275.7 MB, free: 13.84 MB / 282.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0009128/0.01699, allocations: 361.5 kB / 276 MB, free: 13.46 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.342e-05/0.01701, allocations: 7.984 kB / 276 MB, free: 13.46 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.01702, allocations: 4 kB / 276 MB, free: 13.45 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001603/0.01862, allocations: 442.9 kB / 276.5 MB, free: 13.01 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001034/0.01872, allocations: 27.98 kB / 276.5 MB, free: 12.98 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00323/0.02195, allocations: 5.33 MB / 281.8 MB, free: 7.293 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.819e-05/0.02204, allocations: 27.83 kB / 281.9 MB, free: 7.266 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.285e-05/0.02206, allocations: 11.94 kB / 281.9 MB, free: 7.254 MB / 282.7 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 9.963e-05/0.02216, allocations: 117.8 kB / 282 MB, free: 7.129 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.016e-05/0.02219, allocations: 27.92 kB / 282 MB, free: 7.102 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005865/0.02277, allocations: 387.4 kB / 282.4 MB, free: 6.699 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.02277, allocations: 0 / 282.4 MB, free: 6.699 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.02278, allocations: 4 kB / 282.4 MB, free: 6.695 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.02278, allocations: 3.984 kB / 282.4 MB, free: 6.691 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001843/0.02296, allocations: 177.6 kB / 282.6 MB, free: 6.5 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.02297, allocations: 0 / 282.6 MB, free: 6.5 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.847e-05/0.02302, allocations: 27.92 kB / 282.6 MB, free: 6.473 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.833e-05/0.02304, allocations: 23.8 kB / 282.6 MB, free: 6.449 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009289/0.02397, allocations: 443.1 kB / 283.1 MB, free: 6.004 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.02398, allocations: 4 kB / 283.1 MB, free: 6 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003042/0.02702, allocations: 5.4 MB / 288.5 MB, free: 264 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.02703, allocations: 4 kB / 288.5 MB, free: 260 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005999/0.02763, allocations: 467.6 kB / 288.9 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.856e-05/0.02766, allocations: 4 kB / 288.9 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001138/0.02777, allocations: 8 kB / 288.9 MB, free: 15.76 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.191e-05/0.02783, allocations: 39.92 kB / 289 MB, free: 15.72 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.417e-06/0.02784, allocations: 7.938 kB / 289 MB, free: 15.71 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.227e-05/0.02789, allocations: 70.72 kB / 289.1 MB, free: 15.64 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02789, allocations: 3.938 kB / 289.1 MB, free: 15.64 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002638/0.02816, allocations: 115.9 kB / 289.2 MB, free: 15.52 MB / 298.7 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 8.839e-05/0.02825, allocations: 84.42 kB / 289.3 MB, free: 15.43 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004639/0.02871, allocations: 0.6476 MB / 289.9 MB, free: 14.73 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.848e-06/0.02872, allocations: 4 kB / 289.9 MB, free: 14.72 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004927/0.02921, allocations: 0.6786 MB / 290.6 MB, free: 13.99 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001793/0.02939, allocations: 44.48 kB / 290.6 MB, free: 13.95 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001168/0.03056, allocations: 0.5242 MB / 291.1 MB, free: 13.39 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.779e-05/0.03063, allocations: 104.6 kB / 291.3 MB, free: 13.27 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.563e-05/0.03066, allocations: 9.906 kB / 291.3 MB, free: 13.27 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.967e-05/0.03072, allocations: 67.36 kB / 291.3 MB, free: 13.2 MB / 298.7 MB Notification: Performance of SimCode: time 6.72e-07/0.03072, allocations: 0 / 291.3 MB, free: 13.2 MB / 298.7 MB Notification: Performance of Templates: time 0.009755/0.04048, allocations: 9.093 MB / 300.4 MB, free: 4.059 MB / 298.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2076560743153095]