Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001718/0.001718, allocations: 114.5 kB / 21.17 MB, free: 0.6172 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00207/0.00207, allocations: 206.8 kB / 24.47 MB, free: 4.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.466/1.466, allocations: 230.2 MB / 257.8 MB, free: 8.5 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2357/0.2357, allocations: 46.89 MB / 361.1 MB, free: 4.621 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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.1.0-beta.om_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.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002385/0.002385, allocations: 88.16 kB / 0.4968 GB, free: 7.812 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4535/0.4559, allocations: 65.99 MB / 0.5612 GB, free: 5.035 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape): time 0.004224/0.4601, allocations: 2.509 MB / 0.5636 GB, free: 2.516 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001715/0.4618, allocations: 0.849 MB / 0.5645 GB, free: 1.66 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001423/0.462, allocations: 4 kB / 0.5645 GB, free: 1.656 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002391/0.4622, allocations: 55.5 kB / 0.5645 GB, free: 1.602 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003026/0.4625, allocations: 110 kB / 0.5646 GB, free: 1.496 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003046/0.4628, allocations: 115.8 kB / 0.5647 GB, free: 1.383 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004228/0.4632, allocations: 354.7 kB / 0.5651 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001958/0.4634, allocations: 68.7 kB / 0.5651 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002856/0.4637, allocations: 143.5 kB / 0.5653 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002354/0.464, allocations: 159.2 kB / 0.5654 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.141e-05/0.464, allocations: 32 kB / 0.5655 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.017e-05/0.4641, allocations: 35.98 kB / 0.5655 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.888e-05/0.4642, allocations: 67.77 kB / 0.5656 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001574/0.4643, allocations: 151.2 kB / 0.5657 GB, free: 400 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004971/0.4648, allocations: 382.4 kB / 0.5661 GB, free: 16 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.4648, allocations: 4 kB / 0.5661 GB, free: 12 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.4648, allocations: 0 / 0.5661 GB, free: 12 kB / 398.1 MB Notification: Performance of Transformations before backend: time 1.24e-05/0.4648, allocations: 0 / 0.5661 GB, free: 12 kB / 398.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.001244/0.4661, allocations: 0.6272 MB / 0.5667 GB, free: 15.33 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.4661, allocations: 8.031 kB / 0.5667 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001814/0.4663, allocations: 48.69 kB / 0.5667 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004557/0.4668, allocations: 270.8 kB / 0.567 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.607e-05/0.4668, allocations: 20.94 kB / 0.567 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.09e-05/0.4668, allocations: 24.38 kB / 0.567 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005429/0.4674, allocations: 257.1 kB / 0.5673 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.4674, allocations: 0 / 0.5673 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.316e-05/0.4674, allocations: 8 kB / 0.5673 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.058e-05/0.4674, allocations: 8 kB / 0.5673 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005451/0.468, allocations: 238.1 kB / 0.5675 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001589/0.4696, allocations: 0.8716 MB / 0.5684 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005845/0.4701, allocations: 282.7 kB / 0.5687 GB, free: 13.21 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002869/0.4704, allocations: 124.8 kB / 0.5688 GB, free: 13.09 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.94e-05/0.4705, allocations: 8 kB / 0.5688 GB, free: 13.08 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.192e-05/0.4705, allocations: 34.56 kB / 0.5688 GB, free: 13.04 MB / 414.1 MB Notification: Performance of pre-optimization done (n=31): time 1.392e-06/0.4705, allocations: 0 / 0.5688 GB, free: 13.04 MB / 414.1 MB Notification: Performance of matching and sorting (n=31): time 0.004816/0.4753, allocations: 1.254 MB / 0.57 GB, free: 11.69 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.464e-05/0.4754, allocations: 55.41 kB / 0.5701 GB, free: 11.62 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003736/0.4758, allocations: 233.5 kB / 0.5703 GB, free: 11.38 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.271e-05/0.4758, allocations: 29.7 kB / 0.5703 GB, free: 11.34 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001853/0.476, allocations: 176.7 kB / 0.5705 GB, free: 11.17 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001308/0.4761, allocations: 115 kB / 0.5706 GB, free: 11.05 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001225/0.4763, allocations: 45.7 kB / 0.5707 GB, free: 11 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.00025/0.4765, allocations: 342.8 kB / 0.571 GB, free: 10.66 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002489/0.4768, allocations: 91.95 kB / 0.5711 GB, free: 10.57 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002955/0.4771, allocations: 126.7 kB / 0.5712 GB, free: 10.44 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005168/0.4776, allocations: 235.2 kB / 0.5714 GB, free: 10.2 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.4776, allocations: 4 kB / 0.5714 GB, free: 10.2 MB / 414.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.00191/0.4795, allocations: 0.5412 MB / 0.572 GB, free: 9.641 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.546e-05/0.4795, allocations: 7.938 kB / 0.572 GB, free: 9.633 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.806e-06/0.4795, allocations: 0 / 0.572 GB, free: 9.633 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001709/0.4812, allocations: 319.1 kB / 0.5723 GB, free: 9.309 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000179/0.4814, allocations: 27.97 kB / 0.5723 GB, free: 9.281 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008765/0.4902, allocations: 6.843 MB / 0.579 GB, free: 1.879 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002531/0.4904, allocations: 23.83 kB / 0.579 GB, free: 1.855 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.369e-05/0.4905, allocations: 8 kB / 0.579 GB, free: 1.848 MB / 414.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.0002007/0.4907, allocations: 153.7 kB / 0.5792 GB, free: 1.688 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.032e-05/0.4907, allocations: 27.81 kB / 0.5792 GB, free: 1.66 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001812/0.4925, allocations: 0.544 MB / 0.5797 GB, free: 1.098 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.4925, allocations: 0 / 0.5797 GB, free: 1.098 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.4925, allocations: 7.938 kB / 0.5797 GB, free: 1.09 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.4925, allocations: 4 kB / 0.5797 GB, free: 1.086 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004804/0.493, allocations: 361.3 kB / 0.5801 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.493, allocations: 7.922 kB / 0.5801 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001172/0.4931, allocations: 15.98 kB / 0.5801 GB, free: 0.6602 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001526/0.4947, allocations: 319.3 kB / 0.5804 GB, free: 344 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.154e-05/0.4947, allocations: 4 kB / 0.5804 GB, free: 340 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008255/0.5029, allocations: 6.901 MB / 0.5871 GB, free: 8.867 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.503, allocations: 4.031 kB / 0.5871 GB, free: 8.863 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001849/0.5048, allocations: 0.6157 MB / 0.5877 GB, free: 8.219 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001313/0.5049, allocations: 112.8 kB / 0.5879 GB, free: 8.09 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.666e-05/0.505, allocations: 8 kB / 0.5879 GB, free: 8.082 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001945/0.5052, allocations: 11.98 kB / 0.5879 GB, free: 8.07 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001167/0.5053, allocations: 27.95 kB / 0.5879 GB, free: 8.043 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.159e-05/0.5053, allocations: 12 kB / 0.5879 GB, free: 8.031 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001977/0.5055, allocations: 166 kB / 0.5881 GB, free: 7.867 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5055, allocations: 3.938 kB / 0.5881 GB, free: 7.863 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005766/0.5061, allocations: 120 kB / 0.5882 GB, free: 7.746 MB / 430.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.0002301/0.5063, allocations: 115.1 kB / 0.5883 GB, free: 7.621 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001268/0.5076, allocations: 0.7367 MB / 0.589 GB, free: 6.832 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.5076, allocations: 0 / 0.589 GB, free: 6.832 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001406/0.509, allocations: 0.7172 MB / 0.5897 GB, free: 6.062 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003389/0.5093, allocations: 32.73 kB / 0.5897 GB, free: 6.027 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001132/0.5105, allocations: 0.5789 MB / 0.5903 GB, free: 5.422 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004915/0.5109, allocations: 0.7678 MB / 0.5911 GB, free: 4.625 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.386e-05/0.511, allocations: 21.94 kB / 0.5911 GB, free: 4.602 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.639e-05/0.5111, allocations: 11.44 kB / 0.5911 GB, free: 4.59 MB / 430.1 MB Notification: Performance of SimCode: time 6.21e-07/0.5111, allocations: 0 / 0.5911 GB, free: 4.59 MB / 430.1 MB Notification: Performance of Templates: time 0.01568/0.5267, allocations: 8.433 MB / 0.5993 GB, free: 12.19 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/Shapes/FixedShape/FixedShape.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.768679374828935]