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.0009585/0.0009585, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.001671/0.001671, allocations: 170 kB / 24.82 MB, free: 9.254 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.8862/0.8862, allocations: 177 MB / 205.1 MB, free: 5.469 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.2439/0.2439, allocations: 34.86 MB / 296.6 MB, free: 0.5039 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.543e-06/1.543e-06, allocations: 0 / 379.2 MB, free: 1.828 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.054e-05/2.208e-05, allocations: 3.578 kB / 379.2 MB, free: 1.824 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage): time 0.002378/0.0024, allocations: 2.382 MB / 381.6 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009036/0.003303, allocations: 0.6505 MB / 382.2 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.208e-05/0.003385, allocations: 8 kB / 382.3 MB, free: 14.76 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 6.455e-05/0.00345, allocations: 35.59 kB / 382.3 MB, free: 14.73 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001441/0.003594, allocations: 79.2 kB / 382.4 MB, free: 14.65 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002404/0.003834, allocations: 95.84 kB / 382.5 MB, free: 14.55 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002341/0.004069, allocations: 351 kB / 382.8 MB, free: 14.21 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001867/0.004255, allocations: 107.8 kB / 382.9 MB, free: 14.11 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002586/0.004514, allocations: 219.5 kB / 383.1 MB, free: 13.89 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001324/0.004646, allocations: 111.7 kB / 383.2 MB, free: 13.78 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.583e-05/0.004682, allocations: 32 kB / 383.3 MB, free: 13.75 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.6e-05/0.004748, allocations: 39.98 kB / 383.3 MB, free: 13.71 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 3.58e-05/0.004784, allocations: 67.75 kB / 383.4 MB, free: 13.64 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.862e-05/0.004852, allocations: 115.8 kB / 383.5 MB, free: 13.53 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002118/0.005064, allocations: 243.1 kB / 383.7 MB, free: 13.29 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.005067, allocations: 0 / 383.7 MB, free: 13.29 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.005067, allocations: 0 / 383.7 MB, free: 13.29 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.998e-06/0.005071, allocations: 0 / 383.7 MB, free: 13.29 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.0005434/0.005615, allocations: 0.6131 MB / 384.3 MB, free: 12.64 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.005651, allocations: 12.03 kB / 384.3 MB, free: 12.63 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001769/0.005828, allocations: 72.73 kB / 384.4 MB, free: 12.56 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.751e-05/0.005925, allocations: 152.1 kB / 384.6 MB, free: 12.39 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.207e-05/0.005947, allocations: 21.03 kB / 384.6 MB, free: 12.37 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.501e-05/0.005972, allocations: 32.38 kB / 384.6 MB, free: 12.34 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002028/0.006175, allocations: 203.3 kB / 384.8 MB, free: 12.13 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.006185, allocations: 8.125 kB / 384.8 MB, free: 12.12 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/0.006203, allocations: 20.36 kB / 384.8 MB, free: 12.1 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-06/0.006213, allocations: 11.94 kB / 384.9 MB, free: 12.09 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001048/0.006318, allocations: 92.5 kB / 384.9 MB, free: 12 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008642/0.007182, allocations: 0.8232 MB / 385.8 MB, free: 11.14 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.258e-05/0.007225, allocations: 34.98 kB / 385.8 MB, free: 11.09 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.165e-05/0.007246, allocations: 11.75 kB / 385.8 MB, free: 11.08 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.093e-06/0.007253, allocations: 0 / 385.8 MB, free: 11.08 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.113e-05/0.007275, allocations: 41.39 kB / 385.9 MB, free: 11.03 MB / 362.7 MB Notification: Performance of pre-optimization done (n=2): time 7.61e-07/0.007275, allocations: 0 / 385.9 MB, free: 11.03 MB / 362.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001079/0.007383, allocations: 45.61 kB / 385.9 MB, free: 10.98 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.301e-05/0.007406, allocations: 55.39 kB / 386 MB, free: 10.91 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001601/0.007566, allocations: 299.7 kB / 386.2 MB, free: 10.6 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.286e-06/0.007575, allocations: 33.77 kB / 386.3 MB, free: 10.56 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/0.007677, allocations: 294.1 kB / 386.6 MB, free: 10.27 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.203e-06/0.007684, allocations: 7.953 kB / 386.6 MB, free: 10.26 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.037e-05/0.007745, allocations: 63.28 kB / 386.6 MB, free: 10.19 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.007851, allocations: 0.5 MB / 387.1 MB, free: 9.68 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.426e-05/0.007886, allocations: 27.97 kB / 387.2 MB, free: 9.652 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.371e-05/0.007939, allocations: 67.81 kB / 387.2 MB, free: 9.578 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.185e-05/0.008011, allocations: 67.34 kB / 387.3 MB, free: 9.504 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.008013, allocations: 0 / 387.3 MB, free: 9.504 MB / 362.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000157/0.00817, allocations: 169.9 kB / 387.5 MB, free: 9.332 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.869e-06/0.00818, allocations: 4 kB / 387.5 MB, free: 9.328 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.008185, allocations: 4 kB / 387.5 MB, free: 9.324 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.628e-06/0.008195, allocations: 0 / 387.5 MB, free: 9.324 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001381/0.008333, allocations: 63.91 kB / 387.5 MB, free: 9.262 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.627e-06/0.008336, allocations: 3.984 kB / 387.5 MB, free: 9.258 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.548e-05/0.008432, allocations: 31.73 kB / 387.6 MB, free: 9.227 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.656e-06/0.00844, allocations: 7.938 kB / 387.6 MB, free: 9.219 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.641e-05/0.008517, allocations: 164.5 kB / 387.7 MB, free: 9.047 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.125e-05/0.008538, allocations: 19.91 kB / 387.8 MB, free: 9.027 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.472e-05/0.008563, allocations: 24.67 kB / 387.8 MB, free: 9.008 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.008564, allocations: 0 / 387.8 MB, free: 9.008 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-06/0.008566, allocations: 0 / 387.8 MB, free: 9.008 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.008568, allocations: 3.984 kB / 387.8 MB, free: 9.004 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003059/0.008874, allocations: 480.4 kB / 388.3 MB, free: 8.492 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.008876, allocations: 0 / 388.3 MB, free: 8.492 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.017e-05/0.008886, allocations: 4 kB / 388.3 MB, free: 8.488 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.008888, allocations: 0 / 388.3 MB, free: 8.488 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.007e-06/0.008892, allocations: 4 kB / 388.3 MB, free: 8.484 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.51e-07/0.008892, allocations: 0 / 388.3 MB, free: 8.484 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.008893, allocations: 4.062 kB / 388.3 MB, free: 8.48 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.087e-05/0.008964, allocations: 103.9 kB / 388.4 MB, free: 8.352 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.159e-05/0.008986, allocations: 15.89 kB / 388.4 MB, free: 8.336 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.308e-05/0.008999, allocations: 4 kB / 388.4 MB, free: 8.332 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.845e-05/0.009037, allocations: 4 kB / 388.4 MB, free: 8.328 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.014e-05/0.009047, allocations: 3.938 kB / 388.4 MB, free: 8.324 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.044e-06/0.009049, allocations: 0 / 388.4 MB, free: 8.324 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.713e-05/0.009126, allocations: 191.4 kB / 388.6 MB, free: 8.137 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009126, allocations: 0 / 388.6 MB, free: 8.137 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001636/0.00929, allocations: 71.78 kB / 388.6 MB, free: 8.066 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.023e-05/0.00936, allocations: 99.28 kB / 388.7 MB, free: 7.961 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001139/0.009474, allocations: 79.81 kB / 388.8 MB, free: 7.879 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.009475, allocations: 0 / 388.8 MB, free: 7.879 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.119e-05/0.009487, allocations: 15.62 kB / 388.8 MB, free: 7.859 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001536/0.00964, allocations: 28.61 kB / 388.9 MB, free: 7.828 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003822/0.01002, allocations: 375.1 kB / 389.2 MB, free: 7.422 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.943e-05/0.01006, allocations: 71.98 kB / 389.3 MB, free: 7.328 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.902e-05/0.01012, allocations: 17.64 kB / 389.3 MB, free: 7.312 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.142e-05/0.01019, allocations: 90.19 kB / 389.4 MB, free: 7.223 MB / 362.7 MB Notification: Performance of SimCode: time 5.31e-07/0.01019, allocations: 0 / 389.4 MB, free: 7.223 MB / 362.7 MB Notification: Performance of Templates: time 0.003187/0.01338, allocations: 1.695 MB / 391.1 MB, free: 5.555 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.657432456035167]