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.001653/0.001653, allocations: 89.92 kB / 20.69 MB, free: 1.016 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.002427/0.002427, allocations: 158 kB / 23.95 MB, free: 4.152 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.538/1.538, allocations: 177 MB / 204.1 MB, free: 9.148 MB / 190.1 MB " [Timeout remaining time 178] 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.2203/0.2203, allocations: 34.27 MB / 294.8 MB, free: 14.5 MB / 286.1 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.673e-06/1.673e-06, allocations: 0 / 442.6 MB, free: 5.297 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.876e-05/3.044e-05, allocations: 2.281 kB / 442.6 MB, free: 5.293 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape): time 0.004169/0.004199, allocations: 2.362 MB / 445 MB, free: 2.918 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001542/0.005741, allocations: 0.7905 MB / 445.8 MB, free: 2.121 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001444/0.005885, allocations: 4 kB / 445.8 MB, free: 2.117 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002265/0.006112, allocations: 55.52 kB / 445.9 MB, free: 2.062 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003148/0.006427, allocations: 119.1 kB / 446 MB, free: 1.945 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003261/0.006753, allocations: 95.73 kB / 446.1 MB, free: 1.852 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004863/0.007239, allocations: 366.6 kB / 446.4 MB, free: 1.492 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000231/0.00747, allocations: 65.84 kB / 446.5 MB, free: 1.426 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000391/0.007861, allocations: 215.5 kB / 446.7 MB, free: 1.215 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002143/0.008075, allocations: 119.6 kB / 446.8 MB, free: 1.098 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.02e-05/0.008136, allocations: 35.94 kB / 446.9 MB, free: 1.062 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.931e-05/0.008225, allocations: 32 kB / 446.9 MB, free: 1.031 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.112e-05/0.008316, allocations: 63.75 kB / 446.9 MB, free: 0.9688 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001406/0.008457, allocations: 103.7 kB / 447 MB, free: 0.8672 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005292/0.008986, allocations: 390.7 kB / 447.4 MB, free: 496 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.00899, allocations: 0 / 447.4 MB, free: 496 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.008991, allocations: 0 / 447.4 MB, free: 496 kB / 366.1 MB Notification: Performance of Transformations before backend: time 7.154e-06/0.008999, allocations: 0 / 447.4 MB, free: 496 kB / 366.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.1993/0.2083, allocations: 0.5593 MB / 448 MB, free: 19.52 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/0.2084, allocations: 9.156 kB / 448 MB, free: 19.52 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000205/0.2086, allocations: 43.48 kB / 448 MB, free: 19.5 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004047/0.209, allocations: 209.6 kB / 448.2 MB, free: 19.35 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.642e-05/0.209, allocations: 22.34 kB / 448.3 MB, free: 19.34 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.966e-05/0.209, allocations: 27.5 kB / 448.3 MB, free: 19.34 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005919/0.2096, allocations: 244.4 kB / 448.5 MB, free: 19.27 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.591e-05/0.2096, allocations: 192 / 448.5 MB, free: 19.27 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.353e-05/0.2097, allocations: 11.19 kB / 448.5 MB, free: 19.26 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.353e-05/0.2097, allocations: 7.219 kB / 448.5 MB, free: 19.26 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005353/0.2102, allocations: 234.1 kB / 448.8 MB, free: 19.18 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001374/0.2116, allocations: 0.7345 MB / 449.5 MB, free: 18.7 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005833/0.2122, allocations: 278.2 kB / 449.8 MB, free: 18.58 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002904/0.2125, allocations: 124.2 kB / 449.9 MB, free: 18.54 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.787e-05/0.2125, allocations: 11.42 kB / 449.9 MB, free: 18.53 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.789e-05/0.2125, allocations: 38.23 kB / 450 MB, free: 18.49 MB / 366.1 MB Notification: Performance of pre-optimization done (n=31): time 1.573e-06/0.2125, allocations: 0 / 450 MB, free: 18.49 MB / 366.1 MB Notification: Performance of matching and sorting (n=31): time 0.004793/0.2173, allocations: 0.9564 MB / 450.9 MB, free: 18.24 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.916e-05/0.2174, allocations: 55.69 kB / 451 MB, free: 18.18 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000249/0.2176, allocations: 242.5 kB / 451.2 MB, free: 18.02 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.109e-05/0.2176, allocations: 31.48 kB / 451.2 MB, free: 17.99 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.26e-05/0.2177, allocations: 173.3 kB / 451.4 MB, free: 17.84 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.642e-05/0.2178, allocations: 101.5 kB / 451.5 MB, free: 17.76 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.434e-05/0.2179, allocations: 54.81 kB / 451.6 MB, free: 17.72 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.365e-05/0.2179, allocations: 338.5 kB / 451.9 MB, free: 17.4 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002246/0.2182, allocations: 90.8 kB / 452 MB, free: 17.37 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002416/0.2184, allocations: 124.8 kB / 452.1 MB, free: 17.31 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004519/0.2189, allocations: 236.7 kB / 452.3 MB, free: 17.2 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.2189, allocations: 0 / 452.3 MB, free: 17.2 MB / 366.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001795/0.2207, allocations: 0.5396 MB / 452.9 MB, free: 16.98 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/0.2207, allocations: 8.531 kB / 452.9 MB, free: 16.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.2207, allocations: 5.125 kB / 452.9 MB, free: 16.97 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001755/0.2224, allocations: 321.5 kB / 453.2 MB, free: 16.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001798/0.2226, allocations: 24.75 kB / 453.2 MB, free: 16.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00614/0.2288, allocations: 6.284 MB / 459.5 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002654/0.229, allocations: 31.06 kB / 459.5 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.338e-05/0.229, allocations: 6.469 kB / 459.5 MB, free: 11.3 MB / 366.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.0001514/0.2292, allocations: 144.1 kB / 459.7 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.667e-05/0.2293, allocations: 28.44 kB / 459.7 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001841/0.2311, allocations: 0.5495 MB / 460.3 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.2311, allocations: 2.844 kB / 460.3 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.273e-06/0.2311, allocations: 1.844 kB / 460.3 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.2311, allocations: 1.969 kB / 460.3 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003131/0.2314, allocations: 249.4 kB / 460.5 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.2314, allocations: 1.594 kB / 460.5 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001247/0.2315, allocations: 23.25 kB / 460.5 MB, free: 10.72 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001574/0.2331, allocations: 312.4 kB / 460.8 MB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.081e-05/0.2331, allocations: 9.391 kB / 460.8 MB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006136/0.2393, allocations: 6.344 MB / 467.2 MB, free: 5.055 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.2393, allocations: 0 / 467.2 MB, free: 5.055 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001879/0.2412, allocations: 0.6167 MB / 467.8 MB, free: 4.738 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.901e-05/0.2412, allocations: 29.03 kB / 467.8 MB, free: 4.719 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.439e-05/0.2412, allocations: 6.438 kB / 467.8 MB, free: 4.715 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002038/0.2414, allocations: 14.45 kB / 467.9 MB, free: 4.707 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001278/0.2416, allocations: 36.55 kB / 467.9 MB, free: 4.699 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.883e-05/0.2416, allocations: 6.391 kB / 467.9 MB, free: 4.699 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001473/0.2417, allocations: 174.3 kB / 468.1 MB, free: 4.59 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2417, allocations: 0 / 468.1 MB, free: 4.59 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005899/0.2423, allocations: 119 kB / 468.2 MB, free: 4.57 MB / 366.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.0001113/0.2424, allocations: 100.7 kB / 468.3 MB, free: 4.477 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001011/0.2435, allocations: 0.7407 MB / 469 MB, free: 3.914 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.2435, allocations: 1.031 kB / 469 MB, free: 3.914 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001193/0.2446, allocations: 0.7278 MB / 469.7 MB, free: 3.371 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003317/0.245, allocations: 30.16 kB / 469.8 MB, free: 3.352 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008973/0.2459, allocations: 0.5399 MB / 470.3 MB, free: 3.012 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001916/0.2461, allocations: 169.1 kB / 470.5 MB, free: 2.93 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.143e-05/0.2461, allocations: 12.62 kB / 470.5 MB, free: 2.926 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.333e-05/0.2462, allocations: 17.06 kB / 470.5 MB, free: 2.914 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.2462, allocations: 1.125 kB / 470.5 MB, free: 2.914 MB / 366.1 MB Notification: Performance of Templates: time 0.0161/0.2623, allocations: 8.37 MB / 478.9 MB, free: 152 kB / 366.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.615621406584978]