Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.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.001463/0.001463, allocations: 79.59 kB / 21.18 MB, free: 3.387 MB / 18.57 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.001621/0.001621, allocations: 165 kB / 24.56 MB, free: 16 kB / 18.57 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.092/1.092, allocations: 177.1 MB / 205 MB, free: 5.285 MB / 186.7 MB " [Timeout remaining time 179] 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.2603/0.2603, allocations: 34.26 MB / 295.7 MB, free: 0.7305 MB / 266.7 MB " [Timeout remaining time 180] 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.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_4.1.0_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_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.082e-06/1.082e-06, allocations: 0 / 378 MB, free: 2.699 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.638e-05/1.746e-05, allocations: 2.312 kB / 378 MB, free: 2.695 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage): time 0.002439/0.002457, allocations: 2.41 MB / 380.4 MB, free: 276 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008297/0.003286, allocations: 0.6583 MB / 381.1 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.263e-05/0.003359, allocations: 4 kB / 381.1 MB, free: 15.6 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 7.236e-05/0.003431, allocations: 35.59 kB / 381.1 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001354/0.003567, allocations: 79.2 kB / 381.2 MB, free: 15.49 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002468/0.003813, allocations: 95.84 kB / 381.3 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002403/0.004054, allocations: 355 kB / 381.6 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002013/0.004255, allocations: 103.8 kB / 381.7 MB, free: 14.95 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002497/0.004505, allocations: 219.5 kB / 382 MB, free: 14.73 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001401/0.004645, allocations: 111.7 kB / 382.1 MB, free: 14.62 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.073e-05/0.004686, allocations: 36 kB / 382.1 MB, free: 14.59 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.534e-05/0.004751, allocations: 35.98 kB / 382.1 MB, free: 14.55 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.42e-05/0.004795, allocations: 71.75 kB / 382.2 MB, free: 14.48 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 8.042e-05/0.004876, allocations: 115.8 kB / 382.3 MB, free: 14.37 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002286/0.005104, allocations: 243.1 kB / 382.6 MB, free: 14.13 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.405e-06/0.005107, allocations: 0 / 382.6 MB, free: 14.13 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.005108, allocations: 0 / 382.6 MB, free: 14.13 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.03e-06/0.005113, allocations: 4 kB / 382.6 MB, free: 14.12 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.0006268/0.005739, allocations: 0.6054 MB / 383.2 MB, free: 13.48 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.005777, allocations: 8.031 kB / 383.2 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001984/0.005975, allocations: 72.73 kB / 383.3 MB, free: 13.41 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00012/0.006095, allocations: 152.1 kB / 383.4 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.494e-05/0.00612, allocations: 25.03 kB / 383.4 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.058e-05/0.006151, allocations: 28.38 kB / 383.5 MB, free: 13.18 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002835/0.006434, allocations: 231.3 kB / 383.7 MB, free: 12.95 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.006446, allocations: 4.125 kB / 383.7 MB, free: 12.94 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.963e-05/0.006466, allocations: 16.38 kB / 383.7 MB, free: 12.93 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.294e-05/0.006479, allocations: 11.94 kB / 383.7 MB, free: 12.91 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001794/0.006658, allocations: 127.8 kB / 383.8 MB, free: 12.79 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001014/0.007672, allocations: 0.8578 MB / 384.7 MB, free: 11.89 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.684e-05/0.007729, allocations: 39 kB / 384.7 MB, free: 11.84 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.926e-05/0.007768, allocations: 15.75 kB / 384.7 MB, free: 11.82 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.355e-06/0.007776, allocations: 0 / 384.7 MB, free: 11.82 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.07e-05/0.007797, allocations: 33.39 kB / 384.8 MB, free: 11.77 MB / 362.7 MB Notification: Performance of pre-optimization done (n=2): time 7.51e-07/0.007798, allocations: 0 / 384.8 MB, free: 11.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001445/0.007942, allocations: 57.59 kB / 384.8 MB, free: 11.71 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.409e-05/0.007966, allocations: 51.41 kB / 384.9 MB, free: 11.65 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002005/0.008167, allocations: 302.2 kB / 385.2 MB, free: 11.34 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.859e-06/0.008177, allocations: 29.7 kB / 385.2 MB, free: 11.3 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001116/0.008288, allocations: 298.2 kB / 385.5 MB, free: 11 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.749e-06/0.008298, allocations: 11.95 kB / 385.5 MB, free: 10.99 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.035e-05/0.008358, allocations: 55.31 kB / 385.6 MB, free: 10.93 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.008473, allocations: 0.4962 MB / 386.1 MB, free: 10.42 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.885e-05/0.008531, allocations: 35.98 kB / 386.1 MB, free: 10.39 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.46e-05/0.008606, allocations: 75.83 kB / 386.2 MB, free: 10.3 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001021/0.008708, allocations: 83.36 kB / 386.3 MB, free: 10.21 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.00871, allocations: 0 / 386.3 MB, free: 10.21 MB / 362.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000207/0.008917, allocations: 190 kB / 386.4 MB, free: 10.02 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.008929, allocations: 11.97 kB / 386.4 MB, free: 10.01 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.008934, allocations: 0 / 386.4 MB, free: 10.01 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.008951, allocations: 4 kB / 386.5 MB, free: 10.01 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001627/0.009114, allocations: 51.91 kB / 386.5 MB, free: 9.957 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.009119, allocations: 0 / 386.5 MB, free: 9.957 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001053/0.009225, allocations: 43.66 kB / 386.5 MB, free: 9.914 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.004e-05/0.009235, allocations: 4 kB / 386.5 MB, free: 9.91 MB / 362.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 (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 7.636e-05/0.009311, allocations: 168.5 kB / 386.7 MB, free: 9.734 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.457e-05/0.009336, allocations: 15.91 kB / 386.7 MB, free: 9.719 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.537e-05/0.009361, allocations: 16.64 kB / 386.7 MB, free: 9.707 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.009362, allocations: 4 kB / 386.8 MB, free: 9.703 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.009366, allocations: 4 kB / 386.8 MB, free: 9.699 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.00937, allocations: 3.938 kB / 386.8 MB, free: 9.695 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003917/0.009762, allocations: 0.5193 MB / 387.3 MB, free: 9.125 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.009764, allocations: 0 / 387.3 MB, free: 9.125 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.839e-05/0.009782, allocations: 4 kB / 387.3 MB, free: 9.121 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.009784, allocations: 0 / 387.3 MB, free: 9.121 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-06/0.009793, allocations: 7.984 kB / 387.3 MB, free: 9.113 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/0.009797, allocations: 3.938 kB / 387.3 MB, free: 9.109 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.009798, allocations: 0 / 387.3 MB, free: 9.109 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.795e-05/0.009896, allocations: 104 kB / 387.4 MB, free: 8.98 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.248e-05/0.009929, allocations: 15.89 kB / 387.4 MB, free: 8.965 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.178e-05/0.00995, allocations: 4 kB / 387.4 MB, free: 8.961 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.081e-05/0.01001, allocations: 7.938 kB / 387.4 MB, free: 8.953 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.728e-05/0.01003, allocations: 0 / 387.4 MB, free: 8.953 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.138e-06/0.01003, allocations: 4 kB / 387.4 MB, free: 8.949 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001357/0.01017, allocations: 196.5 kB / 387.6 MB, free: 8.758 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01017, allocations: 0 / 387.6 MB, free: 8.758 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002637/0.01043, allocations: 75.78 kB / 387.7 MB, free: 8.684 MB / 362.7 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 7.311e-05/0.01051, allocations: 95.28 kB / 387.8 MB, free: 8.582 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001751/0.01068, allocations: 87.58 kB / 387.9 MB, free: 8.492 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.01068, allocations: 0 / 387.9 MB, free: 8.492 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.858e-05/0.0107, allocations: 15.62 kB / 387.9 MB, free: 8.473 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002189/0.01092, allocations: 24.66 kB / 387.9 MB, free: 8.445 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003834/0.01475, allocations: 379 kB / 388.3 MB, free: 8.035 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.099e-05/0.0148, allocations: 75.98 kB / 388.4 MB, free: 7.941 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.949e-05/0.01488, allocations: 17.64 kB / 388.4 MB, free: 7.926 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.235e-05/0.01493, allocations: 12.5 kB / 388.4 MB, free: 7.914 MB / 362.7 MB Notification: Performance of SimCode: time 9.12e-07/0.01493, allocations: 0 / 388.4 MB, free: 7.914 MB / 362.7 MB Notification: Performance of Templates: time 0.006822/0.02175, allocations: 1.606 MB / 390 MB, free: 6.336 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.sim & ./ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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","",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.4025287237018347]