Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.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.001885/0.001885, allocations: 84.39 kB / 20.68 MB, free: 1.023 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.003021/0.003021, allocations: 163.5 kB / 23.95 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.493/1.493, allocations: 177.1 MB / 204.2 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.204/0.204, allocations: 32.8 MB / 293.5 MB, free: 32 kB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Magnetic.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_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape") translateModel(ModelicaTest.Magnetic.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_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 440.1 MB, free: 8.164 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.022e-05/3.192e-05, allocations: 5.375 kB / 440.1 MB, free: 8.16 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape): time 0.004361/0.004393, allocations: 2.351 MB / 442.4 MB, free: 5.797 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001575/0.005968, allocations: 0.7827 MB / 443.2 MB, free: 5.008 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002516/0.00622, allocations: 4 kB / 443.2 MB, free: 5.004 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002866/0.006506, allocations: 59.44 kB / 443.3 MB, free: 4.945 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004394/0.006946, allocations: 115.2 kB / 443.4 MB, free: 4.832 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003995/0.007345, allocations: 103.7 kB / 443.5 MB, free: 4.73 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005386/0.007884, allocations: 366.5 kB / 443.8 MB, free: 4.371 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002092/0.008093, allocations: 64.89 kB / 443.9 MB, free: 4.305 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004297/0.008523, allocations: 203.6 kB / 444.1 MB, free: 4.105 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001998/0.008722, allocations: 115.6 kB / 444.2 MB, free: 3.992 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.39e-05/0.008776, allocations: 32 kB / 444.3 MB, free: 3.961 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.929e-05/0.008866, allocations: 40 kB / 444.3 MB, free: 3.922 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.647e-05/0.008932, allocations: 63.75 kB / 444.4 MB, free: 3.859 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001356/0.009068, allocations: 111.7 kB / 444.5 MB, free: 3.75 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004765/0.009544, allocations: 394.7 kB / 444.9 MB, free: 3.363 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.009549, allocations: 0 / 444.9 MB, free: 3.363 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.009551, allocations: 0 / 444.9 MB, free: 3.363 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.629e-05/0.009567, allocations: 0 / 444.9 MB, free: 3.363 MB / 366.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.001153/0.01072, allocations: 0.5634 MB / 445.4 MB, free: 2.77 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.01076, allocations: 11.97 kB / 445.4 MB, free: 2.758 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001532/0.01091, allocations: 44.69 kB / 445.5 MB, free: 2.715 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003328/0.01124, allocations: 204.7 kB / 445.7 MB, free: 2.484 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.824e-05/0.01126, allocations: 20.88 kB / 445.7 MB, free: 2.465 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.883e-05/0.01131, allocations: 28.36 kB / 445.7 MB, free: 2.438 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000543/0.01185, allocations: 244.6 kB / 446 MB, free: 2.191 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.01186, allocations: 4.188 kB / 446 MB, free: 2.188 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.74e-05/0.01189, allocations: 8.375 kB / 446 MB, free: 2.18 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.184e-05/0.0119, allocations: 11.94 kB / 446 MB, free: 2.168 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005297/0.01243, allocations: 233.8 kB / 446.2 MB, free: 1.941 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001383/0.01382, allocations: 0.7348 MB / 446.9 MB, free: 1.16 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005681/0.01438, allocations: 277.7 kB / 447.2 MB, free: 0.8828 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002992/0.01468, allocations: 128.7 kB / 447.3 MB, free: 0.7539 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.33e-05/0.01472, allocations: 4 kB / 447.3 MB, free: 0.75 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.651e-05/0.01474, allocations: 38.5 kB / 447.4 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of pre-optimization done (n=31): time 1.513e-06/0.01474, allocations: 0 / 447.4 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of matching and sorting (n=31): time 0.2125/0.2273, allocations: 0.9675 MB / 448.4 MB, free: 21.84 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.429e-05/0.2273, allocations: 55.56 kB / 448.4 MB, free: 21.78 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002916/0.2276, allocations: 224.7 kB / 448.6 MB, free: 21.68 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.99e-05/0.2276, allocations: 31.05 kB / 448.7 MB, free: 21.65 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001097/0.2277, allocations: 172.5 kB / 448.8 MB, free: 21.56 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.058e-05/0.2278, allocations: 111.1 kB / 448.9 MB, free: 21.52 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001011/0.2279, allocations: 52.58 kB / 449 MB, free: 21.5 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 7.078e-05/0.228, allocations: 340.2 kB / 449.3 MB, free: 21.19 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002282/0.2282, allocations: 94.95 kB / 449.4 MB, free: 21.16 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002854/0.2285, allocations: 124.8 kB / 449.5 MB, free: 21.11 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005191/0.229, allocations: 231.2 kB / 449.8 MB, free: 21 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.636e-06/0.229, allocations: 1.219 kB / 449.8 MB, free: 21 MB / 366.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.002082/0.2311, allocations: 0.5466 MB / 450.3 MB, free: 20.78 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.235e-05/0.2311, allocations: 5.906 kB / 450.3 MB, free: 20.78 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/0.2312, allocations: 1.125 kB / 450.3 MB, free: 20.78 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001816/0.233, allocations: 318.3 kB / 450.6 MB, free: 20.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001809/0.2331, allocations: 22.05 kB / 450.6 MB, free: 20.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007206/0.2404, allocations: 6.29 MB / 456.9 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002416/0.2406, allocations: 25.52 kB / 457 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.89e-05/0.2406, allocations: 11.58 kB / 457 MB, free: 15.12 MB / 366.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.0001909/0.2408, allocations: 142.7 kB / 457.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.911e-05/0.2409, allocations: 32.47 kB / 457.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001888/0.2428, allocations: 0.541 MB / 457.7 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.2428, allocations: 4.125 kB / 457.7 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.295e-06/0.2428, allocations: 0.8438 kB / 457.7 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.2428, allocations: 1.453 kB / 457.7 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003861/0.2432, allocations: 253.8 kB / 457.9 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.2432, allocations: 3.844 kB / 457.9 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001301/0.2433, allocations: 27.27 kB / 458 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001598/0.2449, allocations: 311.5 kB / 458.3 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.922e-05/0.2449, allocations: 5.953 kB / 458.3 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006663/0.2516, allocations: 6.341 MB / 464.6 MB, free: 8.879 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.2516, allocations: 0.9688 kB / 464.6 MB, free: 8.879 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001912/0.2535, allocations: 0.6242 MB / 465.2 MB, free: 8.559 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.921e-05/0.2535, allocations: 28.94 kB / 465.3 MB, free: 8.539 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.164e-05/0.2536, allocations: 6.25 kB / 465.3 MB, free: 8.535 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001979/0.2538, allocations: 12.19 kB / 465.3 MB, free: 8.531 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001349/0.2539, allocations: 32.05 kB / 465.3 MB, free: 8.527 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.04e-05/0.2539, allocations: 10.08 kB / 465.3 MB, free: 8.523 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000164/0.2541, allocations: 170.5 kB / 465.5 MB, free: 8.414 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2541, allocations: 1.375 kB / 465.5 MB, free: 8.414 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006/0.2547, allocations: 122.1 kB / 465.6 MB, free: 8.391 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.0001231/0.2548, allocations: 98.16 kB / 465.7 MB, free: 8.301 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001023/0.2558, allocations: 0.7462 MB / 466.5 MB, free: 7.73 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.2558, allocations: 0 / 466.5 MB, free: 7.73 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00118/0.257, allocations: 0.7161 MB / 467.2 MB, free: 7.199 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003238/0.2573, allocations: 30.84 kB / 467.2 MB, free: 7.18 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001067/0.2584, allocations: 0.5446 MB / 467.7 MB, free: 6.844 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001805/0.2586, allocations: 169.6 kB / 467.9 MB, free: 6.758 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.984e-05/0.2586, allocations: 15.39 kB / 467.9 MB, free: 6.754 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.158e-05/0.2587, allocations: 14.19 kB / 467.9 MB, free: 6.746 MB / 366.1 MB Notification: Performance of SimCode: time 4.51e-07/0.2587, allocations: 1.594 kB / 467.9 MB, free: 6.746 MB / 366.1 MB Notification: Performance of Templates: time 0.01606/0.2747, allocations: 8.362 MB / 476.3 MB, free: 4.344 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Shapes/FixedShape/FixedShape.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.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.412245523184538]