Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.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.001812/0.001812, allocations: 89.22 kB / 20.68 MB, free: 1.023 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.00241/0.00241, allocations: 157.8 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.568/1.568, 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.2246/0.2246, allocations: 34.26 MB / 294.8 MB, free: 14.52 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.Leakage,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|quarterCylinder.G_m|quarterHollowCylinder.G_m|halfCylinder.G_m|halfHollowCylinder.G_m|quarterSphere.G_m|quarterHollowSphere.G_m|eighthOfSphere.G_m|eighthOfHollowSphere.G_m|coaxCylindersEndFaces.G_m",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage") translateModel(ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|quarterCylinder.G_m|quarterHollowCylinder.G_m|halfCylinder.G_m|halfHollowCylinder.G_m|quarterSphere.G_m|quarterHollowSphere.G_m|eighthOfSphere.G_m|eighthOfHollowSphere.G_m|coaxCylindersEndFaces.G_m",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 442.6 MB, free: 5.301 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.893e-05/3.08e-05, allocations: 8.609 kB / 442.7 MB, free: 5.293 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage): time 0.003597/0.003627, allocations: 2.228 MB / 444.9 MB, free: 3.051 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001196/0.004824, allocations: 0.6428 MB / 445.5 MB, free: 2.402 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.018e-05/0.004914, allocations: 8 kB / 445.5 MB, free: 2.395 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 9.318e-05/0.005007, allocations: 43.52 kB / 445.6 MB, free: 2.352 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001806/0.005188, allocations: 71.33 kB / 445.6 MB, free: 2.281 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003042/0.005492, allocations: 83.88 kB / 445.7 MB, free: 2.199 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000383/0.005875, allocations: 363 kB / 446.1 MB, free: 1.844 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002424/0.006117, allocations: 107.8 kB / 446.2 MB, free: 1.734 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003818/0.006499, allocations: 223.5 kB / 446.4 MB, free: 1.516 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002003/0.0067, allocations: 111.7 kB / 446.5 MB, free: 1.406 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.698e-05/0.006756, allocations: 32 kB / 446.5 MB, free: 1.375 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.514e-05/0.006852, allocations: 43.92 kB / 446.6 MB, free: 1.332 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.522e-05/0.006927, allocations: 71.73 kB / 446.7 MB, free: 1.262 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001352/0.007062, allocations: 111.8 kB / 446.8 MB, free: 1.152 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004685/0.007531, allocations: 386.8 kB / 447.1 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.007534, allocations: 0 / 447.1 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.007535, allocations: 0 / 447.1 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.682e-06/0.007542, allocations: 3.938 kB / 447.1 MB, free: 0.7695 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001138/0.00868, allocations: 0.5055 MB / 447.7 MB, free: 240 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/0.008726, allocations: 8.031 kB / 447.7 MB, free: 232 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003351/0.009062, allocations: 52.73 kB / 447.7 MB, free: 180 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000178/0.00924, allocations: 149.4 kB / 447.9 MB, free: 4 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.2083/0.2176, allocations: 21.11 kB / 447.9 MB, free: 19.48 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001268/0.2177, allocations: 27.12 kB / 447.9 MB, free: 19.48 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007107/0.2184, allocations: 277.8 kB / 448.2 MB, free: 19.45 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.571e-05/0.2184, allocations: 192 / 448.2 MB, free: 19.45 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.336e-05/0.2185, allocations: 16.41 kB / 448.2 MB, free: 19.43 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.546e-05/0.2185, allocations: 8.875 kB / 448.2 MB, free: 19.43 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004714/0.2189, allocations: 210.8 kB / 448.4 MB, free: 19.36 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001732/0.2207, allocations: 0.8408 MB / 449.2 MB, free: 18.89 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.369e-05/0.2208, allocations: 40.77 kB / 449.3 MB, free: 18.85 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.862e-05/0.2208, allocations: 24 kB / 449.3 MB, free: 18.84 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.771e-05/0.2208, allocations: 1.156 kB / 449.3 MB, free: 18.84 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.081e-05/0.2209, allocations: 35.62 kB / 449.3 MB, free: 18.79 MB / 366.1 MB Notification: Performance of pre-optimization done (n=2): time 1.573e-06/0.2209, allocations: 0 / 449.3 MB, free: 18.79 MB / 366.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002527/0.2211, allocations: 65.7 kB / 449.4 MB, free: 18.75 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.322e-05/0.2211, allocations: 52.44 kB / 449.5 MB, free: 18.68 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003404/0.2215, allocations: 273.2 kB / 449.7 MB, free: 18.52 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.047e-06/0.2215, allocations: 32.48 kB / 449.8 MB, free: 18.48 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001212/0.2216, allocations: 241 kB / 450 MB, free: 18.3 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.426e-05/0.2216, allocations: 13.39 kB / 450 MB, free: 18.3 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001003/0.2217, allocations: 57.45 kB / 450.1 MB, free: 18.26 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.661e-05/0.2218, allocations: 327.8 kB / 450.4 MB, free: 17.94 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001255/0.2219, allocations: 62.89 kB / 450.4 MB, free: 17.91 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001406/0.2221, allocations: 93.62 kB / 450.5 MB, free: 17.87 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002109/0.2223, allocations: 125.5 kB / 450.7 MB, free: 17.8 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.2223, allocations: 0 / 450.7 MB, free: 17.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003652/0.2226, allocations: 230.7 kB / 450.9 MB, free: 17.69 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.2226, allocations: 6.969 kB / 450.9 MB, free: 17.69 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.2227, allocations: 0 / 450.9 MB, free: 17.69 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/0.2227, allocations: 2.656 kB / 450.9 MB, free: 17.69 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000308/0.223, allocations: 53.66 kB / 451 MB, free: 17.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.223, allocations: 3.406 kB / 451 MB, free: 17.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002448/0.2232, allocations: 31.53 kB / 451 MB, free: 17.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.854e-05/0.2233, allocations: 13.55 kB / 451 MB, free: 17.66 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 (30): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.874e-05/0.2233, allocations: 132.3 kB / 451.1 MB, free: 17.53 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.949e-05/0.2234, allocations: 18.8 kB / 451.1 MB, free: 17.52 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.585e-05/0.2234, allocations: 20.61 kB / 451.2 MB, free: 17.5 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.2234, allocations: 0 / 451.2 MB, free: 17.5 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.2234, allocations: 1.594 kB / 451.2 MB, free: 17.5 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.2234, allocations: 0 / 451.2 MB, free: 17.5 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004723/0.2239, allocations: 425.4 kB / 451.6 MB, free: 17.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.2239, allocations: 9.359 kB / 451.6 MB, free: 17.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.362e-05/0.2239, allocations: 4.562 kB / 451.6 MB, free: 17.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.2239, allocations: 2.156 kB / 451.6 MB, free: 17.14 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.2239, allocations: 0 / 451.6 MB, free: 17.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.2239, allocations: 2.391 kB / 451.6 MB, free: 17.14 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.2239, allocations: 1.125 kB / 451.6 MB, free: 17.14 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001017/0.224, allocations: 97.27 kB / 451.7 MB, free: 17.04 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.657e-05/0.2241, allocations: 22.91 kB / 451.7 MB, free: 17.03 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.992e-05/0.2241, allocations: 5.156 kB / 451.7 MB, free: 17.03 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001059/0.2242, allocations: 2.594 kB / 451.7 MB, free: 17.03 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.364e-05/0.2242, allocations: 3.594 kB / 451.7 MB, free: 17.03 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.367e-06/0.2242, allocations: 1.375 kB / 451.7 MB, free: 17.03 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001673/0.2244, allocations: 184.1 kB / 451.9 MB, free: 16.91 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2244, allocations: 5.562 kB / 451.9 MB, free: 16.91 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002765/0.2247, allocations: 71.42 kB / 452 MB, free: 16.89 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.54e-05/0.2248, allocations: 94.89 kB / 452.1 MB, free: 16.8 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002364/0.225, allocations: 106 kB / 452.2 MB, free: 16.77 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.225, allocations: 1.188 kB / 452.2 MB, free: 16.77 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.207e-05/0.225, allocations: 14.81 kB / 452.2 MB, free: 16.76 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002913/0.2253, allocations: 19.03 kB / 452.2 MB, free: 16.75 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006394/0.226, allocations: 362.9 kB / 452.6 MB, free: 16.5 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001192/0.2261, allocations: 134 kB / 452.7 MB, free: 16.42 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.179e-05/0.2262, allocations: 21.59 kB / 452.7 MB, free: 16.42 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.054e-05/0.2262, allocations: 15.78 kB / 452.7 MB, free: 16.41 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2262, allocations: 0.7188 kB / 452.7 MB, free: 16.41 MB / 366.1 MB Notification: Performance of Templates: time 0.005152/0.2314, allocations: 1.586 MB / 454.3 MB, free: 16.21 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/Shapes/Leakage/Leakage.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.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.120923798531294]