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.000904/0.000904, allocations: 91.5 kB / 21.19 MB, free: 3.395 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.0009099/0.0009099, allocations: 164.5 kB / 24.56 MB, free: 32 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.896/0.896, allocations: 177 MB / 204.8 MB, free: 5.582 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.2547/0.2547, allocations: 34.87 MB / 296.3 MB, free: 0.5703 MB / 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 1.453e-06/1.453e-06, allocations: 0 / 378.8 MB, free: 2.105 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.595e-05/1.74e-05, allocations: 3.156 kB / 378.8 MB, free: 2.102 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape): time 0.002662/0.002679, allocations: 2.518 MB / 381.3 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.000973/0.003652, allocations: 0.8217 MB / 382.1 MB, free: 14.74 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001035/0.003756, allocations: 7.938 kB / 382.1 MB, free: 14.73 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001791/0.003935, allocations: 55.52 kB / 382.2 MB, free: 14.68 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002175/0.004152, allocations: 119.1 kB / 382.3 MB, free: 14.56 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002034/0.004356, allocations: 95.8 kB / 382.4 MB, free: 14.46 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002519/0.004608, allocations: 358.6 kB / 382.7 MB, free: 14.11 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001483/0.004756, allocations: 76.75 kB / 382.8 MB, free: 14.04 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002765/0.005032, allocations: 211.6 kB / 383 MB, free: 13.83 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001364/0.005169, allocations: 111.7 kB / 383.1 MB, free: 13.72 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.406e-05/0.005213, allocations: 32 kB / 383.1 MB, free: 13.69 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.394e-05/0.005277, allocations: 31.98 kB / 383.2 MB, free: 13.66 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.458e-05/0.005321, allocations: 71.73 kB / 383.2 MB, free: 13.59 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.457e-05/0.005396, allocations: 99.75 kB / 383.3 MB, free: 13.49 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002623/0.005658, allocations: 259 kB / 383.6 MB, free: 13.24 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.873e-06/0.00566, allocations: 0 / 383.6 MB, free: 13.24 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.005661, allocations: 0 / 383.6 MB, free: 13.24 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.299e-06/0.005665, allocations: 0 / 383.6 MB, free: 13.24 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.0006765/0.006341, allocations: 0.6517 MB / 384.2 MB, free: 12.55 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.289e-05/0.006374, allocations: 12.03 kB / 384.3 MB, free: 12.54 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001217/0.006496, allocations: 64.69 kB / 384.3 MB, free: 12.47 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002138/0.00671, allocations: 211.5 kB / 384.5 MB, free: 12.24 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.617e-05/0.006726, allocations: 20.88 kB / 384.5 MB, free: 12.22 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.098e-05/0.006757, allocations: 28.31 kB / 384.6 MB, free: 12.19 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002811/0.007038, allocations: 189.3 kB / 384.8 MB, free: 12 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.00705, allocations: 192 / 384.8 MB, free: 12 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.346e-05/0.007073, allocations: 16.36 kB / 384.8 MB, free: 11.98 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.088e-05/0.007084, allocations: 7.938 kB / 384.8 MB, free: 11.98 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001887/0.007273, allocations: 118.9 kB / 384.9 MB, free: 11.86 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008852/0.008158, allocations: 0.7497 MB / 385.6 MB, free: 11.06 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002809/0.008439, allocations: 209.7 kB / 385.9 MB, free: 10.84 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001202/0.008559, allocations: 83.66 kB / 385.9 MB, free: 10.76 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.763e-05/0.008587, allocations: 4 kB / 385.9 MB, free: 10.75 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.237e-05/0.008609, allocations: 41.38 kB / 386 MB, free: 10.7 MB / 362.7 MB Notification: Performance of pre-optimization done (n=31): time 1.222e-06/0.00861, allocations: 8 kB / 386 MB, free: 10.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=31): time 0.002033/0.01064, allocations: 0.8271 MB / 386.8 MB, free: 9.844 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.904e-05/0.01067, allocations: 63.28 kB / 386.9 MB, free: 9.77 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000184/0.01086, allocations: 288.3 kB / 387.2 MB, free: 9.473 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/0.01087, allocations: 29.7 kB / 387.2 MB, free: 9.438 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.12e-05/0.01096, allocations: 216 kB / 387.4 MB, free: 9.223 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.599e-05/0.01102, allocations: 115 kB / 387.5 MB, free: 9.109 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.455e-05/0.01109, allocations: 55.36 kB / 387.6 MB, free: 9.047 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001217/0.01121, allocations: 0.5079 MB / 388.1 MB, free: 8.527 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.135e-05/0.01129, allocations: 51.83 kB / 388.1 MB, free: 8.477 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001003/0.01139, allocations: 81.03 kB / 388.2 MB, free: 8.387 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006901/0.01208, allocations: 141 kB / 388.3 MB, free: 8.242 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.01208, allocations: 0 / 388.3 MB, free: 8.242 MB / 362.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0008038/0.01289, allocations: 461.6 kB / 388.8 MB, free: 7.77 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.0129, allocations: 11.92 kB / 388.8 MB, free: 7.758 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.0129, allocations: 0 / 388.8 MB, free: 7.758 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001277/0.01418, allocations: 486.2 kB / 389.3 MB, free: 7.266 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.486e-05/0.01427, allocations: 19.98 kB / 389.3 MB, free: 7.246 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004472/0.01874, allocations: 7.792 MB / 397.1 MB, free: 14.96 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.834e-05/0.01883, allocations: 23.84 kB / 397.1 MB, free: 14.94 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.185e-05/0.01884, allocations: 8.062 kB / 397.1 MB, free: 14.93 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.21e-05/0.01893, allocations: 172.6 kB / 397.3 MB, free: 14.75 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.033e-05/0.01897, allocations: 39.81 kB / 397.3 MB, free: 14.71 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007762/0.01975, allocations: 459.7 kB / 397.8 MB, free: 14.23 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.01975, allocations: 8 kB / 397.8 MB, free: 14.23 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-06/0.01975, allocations: 0 / 397.8 MB, free: 14.23 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.01976, allocations: 3.984 kB / 397.8 MB, free: 14.22 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002217/0.01998, allocations: 248.4 kB / 398 MB, free: 13.95 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.01998, allocations: 0 / 398 MB, free: 13.95 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.972e-05/0.02003, allocations: 23.92 kB / 398.1 MB, free: 13.92 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001178/0.02121, allocations: 474.5 kB / 398.5 MB, free: 13.44 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.534e-05/0.02122, allocations: 11.94 kB / 398.5 MB, free: 13.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004196/0.02542, allocations: 7.839 MB / 406.4 MB, free: 5.102 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.02542, allocations: 8.031 kB / 406.4 MB, free: 5.094 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008099/0.02623, allocations: 0.5838 MB / 407 MB, free: 4.473 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.187e-05/0.02625, allocations: 27.75 kB / 407 MB, free: 4.445 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.679e-05/0.02627, allocations: 7.938 kB / 407 MB, free: 4.438 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.267e-05/0.02635, allocations: 15.97 kB / 407 MB, free: 4.422 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.778e-05/0.02644, allocations: 39.88 kB / 407 MB, free: 4.383 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.919e-06/0.02645, allocations: 4 kB / 407 MB, free: 4.379 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001008/0.02655, allocations: 205.1 kB / 407.2 MB, free: 4.18 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.02655, allocations: 0 / 407.2 MB, free: 4.18 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003352/0.02689, allocations: 119.9 kB / 407.4 MB, free: 4.062 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 8.114e-05/0.02697, allocations: 99.25 kB / 407.5 MB, free: 3.953 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006153/0.02758, allocations: 0.8892 MB / 408.4 MB, free: 2.988 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.02758, allocations: 4 kB / 408.4 MB, free: 2.984 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006397/0.02822, allocations: 0.9209 MB / 409.3 MB, free: 1.988 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002224/0.02845, allocations: 24.48 kB / 409.3 MB, free: 1.961 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001096/0.02954, allocations: 0.5259 MB / 409.8 MB, free: 1.402 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.755e-05/0.02962, allocations: 108.5 kB / 409.9 MB, free: 1.273 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 3.962e-05/0.02966, allocations: 5.969 kB / 409.9 MB, free: 1.27 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.497e-05/0.02969, allocations: 16.5 kB / 410 MB, free: 1.254 MB / 378.7 MB Notification: Performance of SimCode: time 5.41e-07/0.0297, allocations: 0 / 410 MB, free: 1.254 MB / 378.7 MB Notification: Performance of Templates: time 0.009481/0.03918, allocations: 8.85 MB / 418.8 MB, free: 8.469 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.2965935352258384]