Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.002062/0.002062, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.003368/0.003368, allocations: 214.4 kB / 23.75 MB, free: 4.668 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.526/1.526, allocations: 230.6 MB / 257.5 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2675/0.2675, allocations: 46.94 MB / 360.9 MB, free: 4.273 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002365/0.002365, allocations: 63.91 kB / 0.4966 GB, free: 7.418 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4269/0.4293, allocations: 66.02 MB / 0.5611 GB, free: 4.434 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape): time 0.004171/0.4334, allocations: 2.524 MB / 0.5636 GB, free: 1.895 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001613/0.4351, allocations: 0.8529 MB / 0.5644 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001279/0.4352, allocations: 4 kB / 0.5644 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002206/0.4354, allocations: 51.52 kB / 0.5645 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002763/0.4357, allocations: 107.2 kB / 0.5646 GB, free: 0.875 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002811/0.436, allocations: 107.9 kB / 0.5647 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004238/0.4364, allocations: 358.7 kB / 0.565 GB, free: 428 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001908/0.4366, allocations: 71.56 kB / 0.5651 GB, free: 356 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002704/0.4369, allocations: 143.5 kB / 0.5652 GB, free: 212 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002248/0.4371, allocations: 159.3 kB / 0.5654 GB, free: 52 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.71e-05/0.4371, allocations: 28 kB / 0.5654 GB, free: 24 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.389e-05/0.4372, allocations: 36.08 kB / 0.5654 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.473e-05/0.4373, allocations: 67.7 kB / 0.5655 GB, free: 15.92 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001575/0.4374, allocations: 163.2 kB / 0.5657 GB, free: 15.76 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004478/0.4379, allocations: 374 kB / 0.566 GB, free: 15.4 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.4379, allocations: 0 / 0.566 GB, free: 15.4 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.4379, allocations: 0 / 0.566 GB, free: 15.4 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.4379, allocations: 0 / 0.566 GB, free: 15.4 MB / 414.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.001193/0.4391, allocations: 0.5596 MB / 0.5666 GB, free: 14.81 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.4391, allocations: 8.031 kB / 0.5666 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001671/0.4393, allocations: 44.69 kB / 0.5666 GB, free: 14.76 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003962/0.4397, allocations: 216.9 kB / 0.5668 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.685e-05/0.4397, allocations: 20.81 kB / 0.5668 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.612e-05/0.4398, allocations: 24.38 kB / 0.5669 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005941/0.4404, allocations: 248.4 kB / 0.5671 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.628e-05/0.4404, allocations: 0 / 0.5671 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.357e-05/0.4404, allocations: 8 kB / 0.5671 GB, free: 14.22 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.133e-05/0.4404, allocations: 8 kB / 0.5671 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005443/0.441, allocations: 237.8 kB / 0.5673 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001571/0.4425, allocations: 0.8392 MB / 0.5682 GB, free: 13.09 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005862/0.4431, allocations: 286.7 kB / 0.5684 GB, free: 12.8 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00028/0.4434, allocations: 124.8 kB / 0.5685 GB, free: 12.67 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.926e-05/0.4434, allocations: 3.984 kB / 0.5686 GB, free: 12.67 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.693e-05/0.4435, allocations: 42.55 kB / 0.5686 GB, free: 12.62 MB / 414.1 MB Notification: Performance of pre-optimization done (n=31): time 1.483e-06/0.4435, allocations: 0 / 0.5686 GB, free: 12.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=31): time 0.004773/0.4483, allocations: 0.9572 MB / 0.5695 GB, free: 11.64 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.24e-05/0.4483, allocations: 55.41 kB / 0.5696 GB, free: 11.57 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002756/0.4486, allocations: 233.1 kB / 0.5698 GB, free: 11.33 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.891e-05/0.4486, allocations: 29.7 kB / 0.5698 GB, free: 11.3 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000141/0.4488, allocations: 169.3 kB / 0.57 GB, free: 11.13 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001084/0.4489, allocations: 115 kB / 0.5701 GB, free: 11.02 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000101/0.449, allocations: 49.7 kB / 0.5701 GB, free: 10.96 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001706/0.4491, allocations: 342.8 kB / 0.5705 GB, free: 10.62 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002405/0.4494, allocations: 87.95 kB / 0.5706 GB, free: 10.53 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002554/0.4496, allocations: 122.8 kB / 0.5707 GB, free: 10.4 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004892/0.4501, allocations: 227.3 kB / 0.5709 GB, free: 10.18 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.4501, allocations: 0 / 0.5709 GB, free: 10.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001984/0.4521, allocations: 0.5528 MB / 0.5714 GB, free: 9.605 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.316e-05/0.4521, allocations: 8 kB / 0.5714 GB, free: 9.598 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.206e-06/0.4521, allocations: 0 / 0.5714 GB, free: 9.598 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001824/0.454, allocations: 315.1 kB / 0.5717 GB, free: 9.277 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001727/0.4541, allocations: 23.92 kB / 0.5718 GB, free: 9.254 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008828/0.463, allocations: 6.461 MB / 0.5781 GB, free: 2.336 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002931/0.4633, allocations: 23.84 kB / 0.5781 GB, free: 2.312 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.831e-05/0.4633, allocations: 8 kB / 0.5781 GB, free: 2.305 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.0002279/0.4635, allocations: 151.4 kB / 0.5782 GB, free: 2.148 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.167e-05/0.4636, allocations: 27.81 kB / 0.5783 GB, free: 2.121 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001995/0.4656, allocations: 0.5463 MB / 0.5788 GB, free: 1.559 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.032e-06/0.4656, allocations: 4 kB / 0.5788 GB, free: 1.555 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.4656, allocations: 3.938 kB / 0.5788 GB, free: 1.551 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.4656, allocations: 4 kB / 0.5788 GB, free: 1.547 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000525/0.4661, allocations: 328.4 kB / 0.5791 GB, free: 1.184 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.4661, allocations: 0 / 0.5791 GB, free: 1.184 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001217/0.4663, allocations: 19.98 kB / 0.5792 GB, free: 1.164 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001645/0.4679, allocations: 311.1 kB / 0.5794 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.763e-05/0.4679, allocations: 8 kB / 0.5795 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009163/0.4771, allocations: 6.491 MB / 0.5858 GB, free: 9.883 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.4771, allocations: 0 / 0.5858 GB, free: 9.883 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002066/0.4792, allocations: 0.6245 MB / 0.5864 GB, free: 9.23 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001105/0.4793, allocations: 39.67 kB / 0.5864 GB, free: 9.191 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.222e-05/0.4793, allocations: 4 kB / 0.5864 GB, free: 9.188 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002208/0.4795, allocations: 15.98 kB / 0.5865 GB, free: 9.172 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001858/0.4797, allocations: 31.94 kB / 0.5865 GB, free: 9.141 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.97e-05/0.4797, allocations: 4 kB / 0.5865 GB, free: 9.137 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002508/0.48, allocations: 173.2 kB / 0.5867 GB, free: 8.969 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.48, allocations: 0 / 0.5867 GB, free: 8.969 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006851/0.4807, allocations: 119.9 kB / 0.5868 GB, free: 8.852 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.0001771/0.4808, allocations: 103.2 kB / 0.5869 GB, free: 8.742 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001457/0.4823, allocations: 0.7483 MB / 0.5876 GB, free: 7.941 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.4823, allocations: 0 / 0.5876 GB, free: 7.941 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001435/0.4837, allocations: 0.7211 MB / 0.5883 GB, free: 7.168 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003372/0.4841, allocations: 28.44 kB / 0.5883 GB, free: 7.141 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001395/0.4855, allocations: 0.5684 MB / 0.5889 GB, free: 6.539 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005948/0.4861, allocations: 0.7756 MB / 0.5896 GB, free: 5.738 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.912e-05/0.4862, allocations: 9.953 kB / 0.5897 GB, free: 5.73 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.087e-05/0.4862, allocations: 11.44 kB / 0.5897 GB, free: 5.719 MB / 430.1 MB Notification: Performance of SimCode: time 9.32e-07/0.4862, allocations: 0 / 0.5897 GB, free: 5.719 MB / 430.1 MB Notification: Performance of Templates: time 0.0176/0.5038, allocations: 8.514 MB / 0.598 GB, free: 13.24 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.sim & ./ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/Shapes/FixedShape/FixedShape.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 6.16365334414877]