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.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Magnetic.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_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape") translateModel(ModelicaTest.Magnetic.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_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001215/0.001215, allocations: 113.4 kB / 18.45 MB, free: 4.598 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.001045/0.001045, allocations: 185.1 kB / 19.38 MB, free: 3.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.26/1.26, allocations: 222.9 MB / 243.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1959/0.1959, allocations: 44.18 MB / 337.4 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 63.91 kB / 471.2 MB, free: 13.2 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3137/0.315, allocations: 60.81 MB / 0.5196 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape): time 0.003042/0.3181, allocations: 2.445 MB / 0.5219 GB, free: 1.898 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001147/0.3193, allocations: 0.7614 MB / 0.5227 GB, free: 1.355 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001507/0.3195, allocations: 6.75 kB / 0.5227 GB, free: 1.352 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002053/0.3197, allocations: 58.67 kB / 0.5227 GB, free: 1.316 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002285/0.3199, allocations: 101.1 kB / 0.5228 GB, free: 1.25 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002581/0.3202, allocations: 93.78 kB / 0.5229 GB, free: 1.199 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003209/0.3205, allocations: 343.6 kB / 0.5233 GB, free: 1.039 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001811/0.3207, allocations: 96.34 kB / 0.5234 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002028/0.3209, allocations: 139.3 kB / 0.5235 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001833/0.3211, allocations: 155.6 kB / 0.5236 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.266e-05/0.3212, allocations: 30.28 kB / 0.5237 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.926e-05/0.3212, allocations: 28.53 kB / 0.5237 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.11e-05/0.3213, allocations: 65.09 kB / 0.5238 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001116/0.3214, allocations: 147.2 kB / 0.5239 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003642/0.3218, allocations: 368.6 kB / 0.5242 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.3218, allocations: 0 / 0.5242 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.3218, allocations: 9.031 kB / 0.5243 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.163e-06/0.3218, allocations: 0 / 0.5243 GB, free: 0.5586 MB / 382.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.0009139/0.3227, allocations: 0.6039 MB / 0.5248 GB, free: 72 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.3228, allocations: 8.594 kB / 0.5248 GB, free: 72 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.341e-05/0.3228, allocations: 41.16 kB / 0.5249 GB, free: 48 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003394/0.3232, allocations: 257.4 kB / 0.5251 GB, free: 15.8 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.958e-05/0.3232, allocations: 18.78 kB / 0.5252 GB, free: 15.79 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.865e-05/0.3233, allocations: 25.55 kB / 0.5252 GB, free: 15.78 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000499/0.3238, allocations: 252.1 kB / 0.5254 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.3238, allocations: 0 / 0.5254 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.979e-05/0.3238, allocations: 11.78 kB / 0.5254 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.3238, allocations: 9.312 kB / 0.5254 GB, free: 15.65 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004736/0.3243, allocations: 228.4 kB / 0.5257 GB, free: 15.58 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001352/0.3257, allocations: 0.8717 MB / 0.5265 GB, free: 14.98 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000533/0.3262, allocations: 311.2 kB / 0.5268 GB, free: 14.85 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002774/0.3265, allocations: 143.8 kB / 0.5269 GB, free: 14.79 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.357e-05/0.3265, allocations: 8.969 kB / 0.5269 GB, free: 14.79 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/0.3266, allocations: 31.81 kB / 0.527 GB, free: 14.75 MB / 398.1 MB Notification: Performance of pre-optimization done (n=31): time 1.463e-06/0.3266, allocations: 0 / 0.527 GB, free: 14.75 MB / 398.1 MB Notification: Performance of matching and sorting (n=31): time 0.00437/0.331, allocations: 1.263 MB / 0.5282 GB, free: 13.88 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.108e-05/0.331, allocations: 55.53 kB / 0.5283 GB, free: 13.82 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002158/0.3312, allocations: 219.1 kB / 0.5285 GB, free: 13.66 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.631e-05/0.3313, allocations: 30.67 kB / 0.5285 GB, free: 13.62 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/0.3314, allocations: 157.8 kB / 0.5287 GB, free: 13.48 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.424e-05/0.3315, allocations: 102.8 kB / 0.5288 GB, free: 13.39 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.958e-05/0.3316, allocations: 54.81 kB / 0.5288 GB, free: 13.34 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000115/0.3317, allocations: 342.1 kB / 0.5291 GB, free: 13.01 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000213/0.3319, allocations: 91.7 kB / 0.5292 GB, free: 12.96 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000226/0.3321, allocations: 118.4 kB / 0.5293 GB, free: 12.89 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004383/0.3326, allocations: 230.1 kB / 0.5296 GB, free: 12.77 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.3326, allocations: 5.25 kB / 0.5296 GB, free: 12.77 MB / 398.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001709/0.3343, allocations: 0.5427 MB / 0.5301 GB, free: 12.46 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.3343, allocations: 9.25 kB / 0.5301 GB, free: 12.45 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.3343, allocations: 0 / 0.5301 GB, free: 12.45 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001589/0.3359, allocations: 314 kB / 0.5304 GB, free: 12.3 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001698/0.3361, allocations: 30.39 kB / 0.5304 GB, free: 12.29 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007165/0.3433, allocations: 6.825 MB / 0.5371 GB, free: 5.754 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000245/0.3436, allocations: 31.2 kB / 0.5371 GB, free: 5.73 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.079e-05/0.3436, allocations: 11.31 kB / 0.5371 GB, free: 5.727 MB / 398.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.0001654/0.3438, allocations: 141.2 kB / 0.5373 GB, free: 5.59 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.102e-05/0.3438, allocations: 23.91 kB / 0.5373 GB, free: 5.578 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001684/0.3455, allocations: 0.5527 MB / 0.5378 GB, free: 5.238 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.3455, allocations: 3.469 kB / 0.5378 GB, free: 5.238 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.3456, allocations: 3.938 kB / 0.5378 GB, free: 5.234 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-06/0.3456, allocations: 1.25 kB / 0.5378 GB, free: 5.234 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004361/0.346, allocations: 359.2 kB / 0.5382 GB, free: 4.906 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.346, allocations: 0 / 0.5382 GB, free: 4.906 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000113/0.3461, allocations: 20.98 kB / 0.5382 GB, free: 4.898 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001439/0.3476, allocations: 312.1 kB / 0.5385 GB, free: 4.746 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.727e-05/0.3476, allocations: 9.188 kB / 0.5385 GB, free: 4.738 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007391/0.355, allocations: 6.891 MB / 0.5452 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.3551, allocations: 0 / 0.5452 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001751/0.3568, allocations: 0.6164 MB / 0.5458 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.999e-05/0.3569, allocations: 109 kB / 0.5459 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.597e-05/0.357, allocations: 5.594 kB / 0.5459 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001917/0.3572, allocations: 16.52 kB / 0.546 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001465/0.3573, allocations: 33.86 kB / 0.546 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.159e-05/0.3573, allocations: 9.375 kB / 0.546 GB, free: 13.63 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001802/0.3575, allocations: 161 kB / 0.5462 GB, free: 13.52 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.3575, allocations: 5.125 kB / 0.5462 GB, free: 13.51 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006459/0.3582, allocations: 116.3 kB / 0.5463 GB, free: 13.49 MB / 414.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.0001553/0.3584, allocations: 97 kB / 0.5464 GB, free: 13.4 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001125/0.3595, allocations: 0.7592 MB / 0.5471 GB, free: 12.77 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.3595, allocations: 0 / 0.5471 GB, free: 12.77 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001243/0.3607, allocations: 0.7305 MB / 0.5478 GB, free: 12.16 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003322/0.3611, allocations: 27.77 kB / 0.5478 GB, free: 12.14 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00106/0.3622, allocations: 0.5691 MB / 0.5484 GB, free: 11.75 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000353/0.3625, allocations: 0.7702 MB / 0.5492 GB, free: 11.01 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.254e-05/0.3626, allocations: 17.16 kB / 0.5492 GB, free: 11 MB / 414.1 MB Notification: Performance of SimCode: time 2.114e-06/0.3626, allocations: 0 / 0.5492 GB, free: 11 MB / 414.1 MB Notification: Performance of Templates: time 0.009257/0.3719, allocations: 7.989 MB / 0.557 GB, free: 3.988 MB / 414.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.makefile (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) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Shapes/FixedShape/FixedShape.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches