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.001346/0.001346, allocations: 79.69 kB / 21.7 MB, free: 2.852 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.0009284/0.0009284, allocations: 160.2 kB / 24.99 MB, free: 8.801 MB / 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.9172/0.9172, allocations: 177 MB / 205.2 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.2446/0.2446, allocations: 34.86 MB / 296.6 MB, free: 0.5625 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.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.472e-06/1.472e-06, allocations: 0 / 378.7 MB, free: 2.43 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.269e-05/2.416e-05, allocations: 11.45 kB / 378.7 MB, free: 2.418 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage): time 0.002612/0.002637, allocations: 2.387 MB / 381.1 MB, free: 12 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001058/0.003694, allocations: 0.6582 MB / 381.8 MB, free: 15.35 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.325e-05/0.003787, allocations: 4 kB / 381.8 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 7.419e-05/0.003862, allocations: 39.58 kB / 381.8 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001568/0.004018, allocations: 75.27 kB / 381.9 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002724/0.004291, allocations: 99.8 kB / 382 MB, free: 15.13 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002567/0.004548, allocations: 355 kB / 382.4 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002284/0.004776, allocations: 103.8 kB / 382.5 MB, free: 14.68 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003274/0.005103, allocations: 219.5 kB / 382.7 MB, free: 14.47 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001346/0.005238, allocations: 111.7 kB / 382.8 MB, free: 14.36 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.452e-05/0.005272, allocations: 32 kB / 382.8 MB, free: 14.33 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.231e-05/0.005335, allocations: 36 kB / 382.8 MB, free: 14.29 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 3.947e-05/0.005374, allocations: 71.75 kB / 382.9 MB, free: 14.22 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.734e-05/0.005452, allocations: 115.7 kB / 383 MB, free: 14.11 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002503/0.005702, allocations: 243.1 kB / 383.3 MB, free: 13.87 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.005704, allocations: 0 / 383.3 MB, free: 13.87 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.62e-07/0.005705, allocations: 0 / 383.3 MB, free: 13.87 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.005711, allocations: 0 / 383.3 MB, free: 13.87 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.0006288/0.00634, allocations: 0.6132 MB / 383.9 MB, free: 13.22 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.006374, allocations: 8.031 kB / 383.9 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002075/0.006581, allocations: 72.73 kB / 384 MB, free: 13.14 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001312/0.006713, allocations: 154.5 kB / 384.1 MB, free: 12.97 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.743e-05/0.00674, allocations: 25.03 kB / 384.1 MB, free: 12.95 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.067e-05/0.006771, allocations: 28.38 kB / 384.2 MB, free: 12.92 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002785/0.007049, allocations: 227.3 kB / 384.4 MB, free: 12.69 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.007059, allocations: 4.188 kB / 384.4 MB, free: 12.68 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.002e-05/0.007079, allocations: 12.38 kB / 384.4 MB, free: 12.67 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.195e-05/0.007091, allocations: 11.94 kB / 384.4 MB, free: 12.66 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001804/0.007272, allocations: 123.8 kB / 384.5 MB, free: 12.54 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001065/0.008337, allocations: 0.8695 MB / 385.4 MB, free: 11.62 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.502e-05/0.008392, allocations: 35 kB / 385.4 MB, free: 11.58 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.7e-05/0.008429, allocations: 19.73 kB / 385.5 MB, free: 11.55 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.474e-06/0.008436, allocations: 0 / 385.5 MB, free: 11.55 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.048e-05/0.008457, allocations: 37.33 kB / 385.5 MB, free: 11.51 MB / 362.7 MB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.008458, allocations: 0 / 385.5 MB, free: 11.51 MB / 362.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001456/0.008603, allocations: 53.61 kB / 385.5 MB, free: 11.45 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.645e-05/0.00863, allocations: 55.34 kB / 385.6 MB, free: 11.38 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001958/0.008826, allocations: 303.8 kB / 385.9 MB, free: 11.07 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.026e-05/0.008836, allocations: 33.7 kB / 385.9 MB, free: 11.03 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001079/0.008944, allocations: 294.1 kB / 386.2 MB, free: 10.74 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.437e-06/0.008953, allocations: 11.94 kB / 386.2 MB, free: 10.73 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.275e-05/0.009016, allocations: 59.31 kB / 386.3 MB, free: 10.66 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001045/0.00912, allocations: 0.4962 MB / 386.8 MB, free: 10.15 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.802e-05/0.009178, allocations: 35.97 kB / 386.8 MB, free: 10.12 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.703e-05/0.009255, allocations: 71.84 kB / 386.9 MB, free: 10.04 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001041/0.00936, allocations: 83.36 kB / 387 MB, free: 9.949 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.009362, allocations: 4 kB / 387 MB, free: 9.945 MB / 362.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002064/0.009568, allocations: 182 kB / 387.1 MB, free: 9.762 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.009581, allocations: 8 kB / 387.2 MB, free: 9.754 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.009585, allocations: 0 / 387.2 MB, free: 9.754 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.009598, allocations: 3.984 kB / 387.2 MB, free: 9.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000165/0.009763, allocations: 55.91 kB / 387.2 MB, free: 9.695 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.009768, allocations: 0 / 387.2 MB, free: 9.695 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001064/0.009875, allocations: 43.66 kB / 387.3 MB, free: 9.652 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.006e-05/0.009885, allocations: 8 kB / 387.3 MB, free: 9.645 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 8.418e-05/0.009969, allocations: 164.5 kB / 387.4 MB, free: 9.473 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.452e-05/0.009993, allocations: 19.94 kB / 387.4 MB, free: 9.453 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.409e-05/0.01002, allocations: 16.64 kB / 387.5 MB, free: 9.441 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-06/0.01002, allocations: 0 / 387.5 MB, free: 9.441 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.01002, allocations: 0 / 387.5 MB, free: 9.441 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.01003, allocations: 3.938 kB / 387.5 MB, free: 9.438 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003514/0.01038, allocations: 0.5116 MB / 388 MB, free: 8.875 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.01038, allocations: 0 / 388 MB, free: 8.875 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.405e-05/0.01039, allocations: 4 kB / 388 MB, free: 8.871 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.01039, allocations: 0 / 388 MB, free: 8.871 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.891e-06/0.0104, allocations: 0 / 388 MB, free: 8.871 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/0.0104, allocations: 8 kB / 388 MB, free: 8.863 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.0104, allocations: 7.938 kB / 388 MB, free: 8.855 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.74e-05/0.01048, allocations: 99.97 kB / 388.1 MB, free: 8.73 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.417e-05/0.01051, allocations: 19.89 kB / 388.1 MB, free: 8.711 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.842e-05/0.01052, allocations: 3.984 kB / 388.1 MB, free: 8.707 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.412e-05/0.01057, allocations: 7.938 kB / 388.1 MB, free: 8.699 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.423e-05/0.01058, allocations: 0 / 388.1 MB, free: 8.699 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.245e-06/0.01059, allocations: 0 / 388.1 MB, free: 8.699 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001124/0.0107, allocations: 199.4 kB / 388.3 MB, free: 8.504 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0107, allocations: 0 / 388.3 MB, free: 8.504 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000177/0.01087, allocations: 75.78 kB / 388.4 MB, free: 8.43 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 6.723e-05/0.01094, allocations: 95.28 kB / 388.5 MB, free: 8.328 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001519/0.01109, allocations: 91.83 kB / 388.6 MB, free: 8.234 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.0111, allocations: 0 / 388.6 MB, free: 8.234 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.481e-05/0.01111, allocations: 11.62 kB / 388.6 MB, free: 8.219 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001728/0.01128, allocations: 32.67 kB / 388.6 MB, free: 8.184 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004536/0.01174, allocations: 367.1 kB / 389 MB, free: 7.785 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.281e-05/0.01178, allocations: 79.98 kB / 389.1 MB, free: 7.688 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.736e-05/0.01185, allocations: 17.64 kB / 389.1 MB, free: 7.672 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.971e-05/0.01189, allocations: 16.5 kB / 389.1 MB, free: 7.656 MB / 362.7 MB Notification: Performance of SimCode: time 1.143e-06/0.01189, allocations: 0 / 389.1 MB, free: 7.656 MB / 362.7 MB Notification: Performance of Templates: time 0.003344/0.01523, allocations: 1.604 MB / 390.7 MB, free: 6.07 MB / 362.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9767143200151622]