Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.0008877/0.0008877, allocations: 91.5 kB / 21.19 MB, free: 3.375 MB / 18.57 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.001019/0.001019, allocations: 156.5 kB / 24.55 MB, free: 20 kB / 18.57 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 0.9242/0.9242, allocations: 177 MB / 204.8 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2443/0.2443, allocations: 34.86 MB / 296.3 MB, free: 488 kB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_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_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.225e-06/2.225e-06, allocations: 0 / 378.8 MB, free: 2.082 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.075e-05/3.297e-05, allocations: 3.016 kB / 378.8 MB, free: 2.078 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape): time 0.004015/0.004048, allocations: 2.516 MB / 381.3 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001455/0.005503, allocations: 0.8178 MB / 382.1 MB, free: 14.72 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001547/0.005658, allocations: 7.938 kB / 382.1 MB, free: 14.71 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003522/0.00601, allocations: 51.5 kB / 382.2 MB, free: 14.66 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003452/0.006355, allocations: 127.1 kB / 382.3 MB, free: 14.54 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002694/0.006625, allocations: 99.78 kB / 382.4 MB, free: 14.44 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003075/0.006932, allocations: 358.6 kB / 382.7 MB, free: 14.09 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001542/0.007086, allocations: 72.81 kB / 382.8 MB, free: 14.02 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003034/0.00739, allocations: 207.5 kB / 383 MB, free: 13.82 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001465/0.007536, allocations: 111.7 kB / 383.1 MB, free: 13.71 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.649e-05/0.007583, allocations: 32 kB / 383.1 MB, free: 13.68 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.009e-05/0.007653, allocations: 40 kB / 383.2 MB, free: 13.64 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.349e-05/0.007696, allocations: 71.72 kB / 383.2 MB, free: 13.57 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.862e-05/0.007775, allocations: 95.75 kB / 383.3 MB, free: 13.47 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002847/0.00806, allocations: 259 kB / 383.6 MB, free: 13.22 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.716e-06/0.008063, allocations: 3.938 kB / 383.6 MB, free: 13.21 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.008065, allocations: 0 / 383.6 MB, free: 13.21 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.008071, allocations: 0 / 383.6 MB, free: 13.21 MB / 362.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.0007275/0.008798, allocations: 0.6517 MB / 384.2 MB, free: 12.52 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.008836, allocations: 12.03 kB / 384.3 MB, free: 12.51 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001419/0.008978, allocations: 60.69 kB / 384.3 MB, free: 12.45 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002351/0.009213, allocations: 211.6 kB / 384.5 MB, free: 12.22 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.724e-05/0.00923, allocations: 20.86 kB / 384.5 MB, free: 12.2 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.607e-05/0.009256, allocations: 28.31 kB / 384.6 MB, free: 12.17 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000291/0.009547, allocations: 189.3 kB / 384.8 MB, free: 11.98 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.009556, allocations: 192 / 384.8 MB, free: 11.98 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.125e-05/0.009577, allocations: 12.38 kB / 384.8 MB, free: 11.97 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.766e-06/0.009586, allocations: 7.938 kB / 384.8 MB, free: 11.96 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001903/0.009776, allocations: 118.9 kB / 384.9 MB, free: 11.84 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008789/0.01066, allocations: 0.7536 MB / 385.6 MB, free: 11.04 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003149/0.01097, allocations: 207.1 kB / 385.9 MB, free: 10.82 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001148/0.01108, allocations: 79.66 kB / 385.9 MB, free: 10.74 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.706e-05/0.01111, allocations: 4 kB / 385.9 MB, free: 10.74 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.468e-05/0.01114, allocations: 41.39 kB / 386 MB, free: 10.69 MB / 362.7 MB Notification: Performance of pre-optimization done (n=31): time 1.813e-06/0.01114, allocations: 0 / 386 MB, free: 10.69 MB / 362.7 MB Notification: Performance of matching and sorting (n=31): time 0.002038/0.01318, allocations: 0.8427 MB / 386.8 MB, free: 9.82 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.772e-05/0.0132, allocations: 59.34 kB / 386.9 MB, free: 9.75 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001702/0.01337, allocations: 284.3 kB / 387.2 MB, free: 9.457 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.654e-05/0.01339, allocations: 33.64 kB / 387.2 MB, free: 9.418 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.045e-05/0.01348, allocations: 216 kB / 387.4 MB, free: 9.203 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.26e-05/0.01353, allocations: 115 kB / 387.5 MB, free: 9.09 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.485e-05/0.0136, allocations: 55.36 kB / 387.6 MB, free: 9.027 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.01373, allocations: 0.5118 MB / 388.1 MB, free: 8.504 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.812e-05/0.0138, allocations: 47.77 kB / 388.1 MB, free: 8.457 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.894e-05/0.0139, allocations: 81.09 kB / 388.2 MB, free: 8.367 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001826/0.01409, allocations: 141 kB / 388.3 MB, free: 8.223 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.01409, allocations: 0 / 388.3 MB, free: 8.223 MB / 362.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0007867/0.01487, allocations: 457.5 kB / 388.8 MB, free: 7.754 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.01489, allocations: 7.938 kB / 388.8 MB, free: 7.746 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.0149, allocations: 3.984 kB / 388.8 MB, free: 7.742 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001247/0.01614, allocations: 486.2 kB / 389.3 MB, free: 7.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.6e-05/0.01623, allocations: 23.98 kB / 389.3 MB, free: 7.227 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004397/0.02063, allocations: 7.789 MB / 397.1 MB, free: 14.94 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.917e-05/0.02072, allocations: 23.84 kB / 397.1 MB, free: 14.92 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.357e-05/0.02073, allocations: 8 kB / 397.1 MB, free: 14.91 MB / 378.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.495e-05/0.02082, allocations: 172.6 kB / 397.3 MB, free: 14.73 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.082e-05/0.02087, allocations: 39.8 kB / 397.3 MB, free: 14.69 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007723/0.02164, allocations: 467.7 kB / 397.8 MB, free: 14.21 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.02164, allocations: 0 / 397.8 MB, free: 14.21 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/0.02164, allocations: 4 kB / 397.8 MB, free: 14.2 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.02165, allocations: 3.984 kB / 397.8 MB, free: 14.2 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002215/0.02187, allocations: 248.4 kB / 398 MB, free: 13.92 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.02187, allocations: 3.984 kB / 398 MB, free: 13.92 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.839e-05/0.02192, allocations: 19.92 kB / 398.1 MB, free: 13.9 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001184/0.0231, allocations: 470.5 kB / 398.5 MB, free: 13.42 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.164e-05/0.02313, allocations: 11.92 kB / 398.5 MB, free: 13.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004239/0.02737, allocations: 7.835 MB / 406.4 MB, free: 5.086 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.02737, allocations: 0 / 406.4 MB, free: 5.086 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007836/0.02815, allocations: 0.5955 MB / 407 MB, free: 4.453 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.306e-05/0.02817, allocations: 27.75 kB / 407 MB, free: 4.426 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.828e-05/0.02819, allocations: 7.938 kB / 407 MB, free: 4.418 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.949e-05/0.02827, allocations: 11.98 kB / 407 MB, free: 4.406 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001038/0.02837, allocations: 39.86 kB / 407 MB, free: 4.367 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.047e-05/0.02839, allocations: 8 kB / 407 MB, free: 4.359 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000101/0.02849, allocations: 201.1 kB / 407.2 MB, free: 4.164 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02849, allocations: 0 / 407.2 MB, free: 4.164 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003452/0.02883, allocations: 119.9 kB / 407.4 MB, free: 4.047 MB / 378.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 9.022e-05/0.02892, allocations: 99.25 kB / 407.5 MB, free: 3.938 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006289/0.02955, allocations: 0.8892 MB / 408.3 MB, free: 2.973 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.02955, allocations: 0 / 408.3 MB, free: 2.973 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006416/0.03019, allocations: 0.9287 MB / 409.3 MB, free: 1.969 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002229/0.03042, allocations: 24.48 kB / 409.3 MB, free: 1.941 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008519/0.03127, allocations: 0.5281 MB / 409.8 MB, free: 1.383 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.349e-05/0.03135, allocations: 100.6 kB / 409.9 MB, free: 1.262 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.17e-05/0.03139, allocations: 9.969 kB / 409.9 MB, free: 1.254 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.624e-05/0.03143, allocations: 24.44 kB / 410 MB, free: 1.23 MB / 378.7 MB Notification: Performance of SimCode: time 7.31e-07/0.03143, allocations: 3.938 kB / 410 MB, free: 1.227 MB / 378.7 MB Notification: Performance of Templates: time 0.01017/0.0416, allocations: 9.161 MB / 419.1 MB, free: 8.129 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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","",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.3165878071449697]